Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.009329/0.009329, allocations: 1.768 MB / 20.61 MB, free: 3.855 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.08817/0.08817, allocations: 25.6 MB / 49.7 MB, free: 2.98 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009534/0.0009534, allocations: 126.1 kB / 60.66 MB, free: 3.027 MB / 44.04 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 211.7 kB / 71.72 MB, free: 6.496 MB / 44.04 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9854/0.9854, allocations: 230.6 MB / 313.3 MB, free: 11.78 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.8105/0.8105, allocations: 130.7 MB / 0.4963 GB, free: 2.199 MB / 362.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestValves",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestValves",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 149.5 kB / 0.6901 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1625, allocations: 89.26 MB / 0.7772 GB, free: 3.012 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves): time 0.02159/0.1841, allocations: 26.25 MB / 0.8029 GB, free: 8.645 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02863/0.2127, allocations: 21.17 MB / 0.8235 GB, free: 3.41 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006895/0.2196, allocations: 194.4 kB / 0.8237 GB, free: 3.219 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.007137/0.2267, allocations: 2.83 MB / 0.8265 GB, free: 384 kB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.01127/0.238, allocations: 4.605 MB / 0.831 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.00938/0.2474, allocations: 4.896 MB / 0.8358 GB, free: 6.855 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0185/0.2659, allocations: 12.15 MB / 0.8476 GB, free: 10.68 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007868/0.2737, allocations: 3.81 MB / 0.8513 GB, free: 6.793 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00989/0.2836, allocations: 4.955 MB / 0.8562 GB, free: 1.82 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007707/0.2913, allocations: 4.738 MB / 0.8608 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002882/0.2942, allocations: 0.7617 MB / 0.8616 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005123/0.2993, allocations: 1.822 MB / 0.8633 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002688/0.302, allocations: 2.331 MB / 0.8656 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.006012/0.308, allocations: 3.276 MB / 0.8688 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01488/0.3229, allocations: 11.86 MB / 0.8804 GB, free: 8.941 MB / 0.6512 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3229, allocations: 0 / 0.8804 GB, free: 8.941 MB / 0.6512 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3229, allocations: 4 kB / 0.8804 GB, free: 8.938 MB / 0.6512 GB Notification: Performance of Transformations before backend: time 0.0004665/0.3234, allocations: 0 / 0.8804 GB, free: 8.938 MB / 0.6512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.01493/0.3383, allocations: 8.517 MB / 0.8887 GB, free: 344 kB / 0.6512 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.3384, allocations: 12.03 kB / 0.8887 GB, free: 332 kB / 0.6512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001191/0.3396, allocations: 0.7793 MB / 0.8895 GB, free: 15.54 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/0.3417, allocations: 1.123 MB / 0.8906 GB, free: 14.41 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/0.3521, allocations: 5.986 MB / 0.8964 GB, free: 8.34 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/0.3524, allocations: 361.3 kB / 0.8968 GB, free: 7.984 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007924/0.3532, allocations: 456 kB / 0.8972 GB, free: 7.539 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3103/0.6634, allocations: 12.08 MB / 0.909 GB, free: 108.5 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003116/0.6638, allocations: 71.89 kB / 0.9091 GB, free: 108.5 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000906/0.6647, allocations: 238.7 kB / 0.9093 GB, free: 108.3 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002379/0.6649, allocations: 164 kB / 0.9094 GB, free: 108.3 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01864/0.6835, allocations: 7.918 MB / 0.9172 GB, free: 105.9 MB / 0.6668 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03337/0.7169, allocations: 49.51 MB / 0.9655 GB, free: 61.9 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/0.7298, allocations: 6.158 MB / 0.9715 GB, free: 58.53 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003085/0.7329, allocations: 1.89 MB / 0.9734 GB, free: 57.38 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007111/0.7336, allocations: 316.1 kB / 0.9737 GB, free: 57.27 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.774e-05/0.7337, allocations: 103 kB / 0.9738 GB, free: 57.19 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=863): time 6.983e-06/0.7337, allocations: 1.594 kB / 0.9738 GB, free: 57.19 MB / 0.6668 GB Notification: Performance of matching and sorting (n=863): time 0.02273/0.7564, allocations: 12.01 MB / 0.9855 GB, free: 47.62 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.7566, allocations: 0.9617 MB / 0.9865 GB, free: 46.44 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006319/0.7629, allocations: 6.276 MB / 0.9926 GB, free: 40.32 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.0008846/0.7638, allocations: 87.17 kB / 0.9927 GB, free: 40.23 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.001231/0.765, allocations: 3.232 MB / 0.9958 GB, free: 37.27 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.00191/0.7669, allocations: 2.947 MB / 0.9987 GB, free: 34.75 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001787/0.7687, allocations: 1.942 MB / 1.001 GB, free: 32.8 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 3.334e-05/0.7688, allocations: 302.6 kB / 1.001 GB, free: 32.5 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003409/0.7722, allocations: 2.887 MB / 1.004 GB, free: 29.6 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00435/0.7765, allocations: 6.299 MB / 1.01 GB, free: 21.8 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009118/0.7856, allocations: 9.69 MB / 1.019 GB, free: 10.71 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.835e-05/0.7857, allocations: 28 kB / 1.019 GB, free: 10.68 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.01392/0.7996, allocations: 9.968 MB / 1.029 GB, free: 0.6523 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/0.7996, allocations: 53.19 kB / 1.029 GB, free: 0.6016 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009333/0.809, allocations: 6.526 MB / 1.036 GB, free: 10.02 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/0.8092, allocations: 163.9 kB / 1.036 GB, free: 9.855 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005032/0.8142, allocations: 2.515 MB / 1.038 GB, free: 7.336 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001837/0.8144, allocations: 215.2 kB / 1.038 GB, free: 7.125 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005202/0.8196, allocations: 1.113 MB / 1.039 GB, free: 6.074 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/0.8207, allocations: 0.648 MB / 1.04 GB, free: 5.426 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007389/0.8281, allocations: 4.04 MB / 1.044 GB, free: 1.379 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006101/0.8342, allocations: 6.236 MB / 1.05 GB, free: 9.645 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01171/0.8459, allocations: 9.558 MB / 1.059 GB, free: 14.65 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.365e-05/0.846, allocations: 32 kB / 1.059 GB, free: 14.62 MB / 0.7137 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.01687/0.8629, allocations: 9.819 MB / 1.069 GB, free: 4.738 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 5.408e-05/0.8629, allocations: 48 kB / 1.069 GB, free: 4.691 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009785/0.8727, allocations: 6.394 MB / 1.075 GB, free: 14.24 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.8729, allocations: 156.4 kB / 1.075 GB, free: 14.09 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005255/0.8781, allocations: 2.5 MB / 1.078 GB, free: 11.59 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002153/0.8784, allocations: 219.2 kB / 1.078 GB, free: 11.37 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004949/0.8833, allocations: 0.8937 MB / 1.079 GB, free: 10.47 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000968/0.8843, allocations: 0.6363 MB / 1.08 GB, free: 9.836 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 4 (valve5.pressureLoss.normIsValid,valve4.pressureLoss.normIsValid,valve2.pressureLoss.normIsValid,valve1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1296): * Single equations (assignments): 1296 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001903/0.8862, allocations: 0.7611 MB / 1.08 GB, free: 9.066 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002238/0.8884, allocations: 0.803 MB / 1.081 GB, free: 8.258 MB / 0.7293 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 1203 equation(s) and 1155 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pressureSink_XRG4.fluidOut.q, pressureSink_XRG4.fluidOut.cp, pressureSink_XRG4.fluidOut.cv, pressureSink_XRG4.fluidOut.beta, pressureSink_XRG4.fluidOut.kappa, pressureSink_XRG4.fluidOut.drhodp_hxi, pressureSink_XRG4.fluidOut.drhodh_pxi, _, pressureSink_XRG4.fluidOut.w, pressureSink_XRG4.fluidOut.gamma) = ($cse486, $cse487, $cse488, $cse489, $cse490, $cse491, $cse492, $cse493, $cse494, $cse495) has size 9 but 5 variables ($cse261, valve6.pressureLoss.m_flow, valve6.pressureLoss.aperture_, valve6.pressureLoss.Delta_p, valve6.pressureLoss.Psi) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01779/0.9062, allocations: 11.9 MB / 1.093 GB, free: 12.35 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.022923327982426]