Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01333/0.01333, allocations: 1.787 MB / 20.88 MB, free: 3.648 MB / 18.57 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.007046/0.007046, allocations: 80.58 kB / 24.59 MB, free: 7.227 MB / 18.57 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.001429/0.001429, allocations: 169 kB / 28.4 MB, free: 4.32 MB / 18.57 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.8454/0.8454, allocations: 177.2 MB / 209.3 MB, free: 2.531 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7046/0.7046, allocations: 102.4 MB / 368.7 MB, free: 0.9844 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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 SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,fileNamePrefix="ClaRa_dev_ClaRa_Components_MechanicalSeparation_Check_TestSeparator_L1",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,fileNamePrefix="ClaRa_dev_ClaRa_Components_MechanicalSeparation_Check_TestSeparator_L1",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.5378 GB, free: 38.97 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.319e-05, allocations: 4.391 kB / 0.5378 GB, free: 38.97 MB / 490.8 MB 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1): time 0.1198/0.1198, allocations: 70.22 MB / 0.6064 GB, free: 4.84 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01957/0.1394, allocations: 18.88 MB / 0.6248 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002244/0.1416, allocations: 91.31 kB / 0.6249 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003112/0.1447, allocations: 1.872 MB / 0.6267 GB, free: 15.92 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.003717/0.1485, allocations: 2.481 MB / 0.6292 GB, free: 13.43 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003779/0.1522, allocations: 2.774 MB / 0.6319 GB, free: 10.64 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.004727/0.157, allocations: 5.828 MB / 0.6376 GB, free: 4.797 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.1587, allocations: 1.691 MB / 0.6392 GB, free: 3.062 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002873/0.1616, allocations: 3.16 MB / 0.6423 GB, free: 15.89 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/0.1635, allocations: 2.09 MB / 0.6443 GB, free: 13.8 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.0004763/0.1639, allocations: 364 kB / 0.6447 GB, free: 13.45 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002774/0.1667, allocations: 1.953 MB / 0.6466 GB, free: 11.49 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.0006445/0.1674, allocations: 1.195 MB / 0.6478 GB, free: 10.29 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.1684, allocations: 1.282 MB / 0.649 GB, free: 9.004 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.005745/0.1742, allocations: 6.702 MB / 0.6556 GB, free: 2.281 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1742, allocations: 0 / 0.6556 GB, free: 2.281 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.883e-06/0.1742, allocations: 0 / 0.6556 GB, free: 2.281 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 9.728e-05/0.1743, allocations: 0 / 0.6556 GB, free: 2.281 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 801 * Number of variables: 801 Notification: Performance of Generate backend data structure: time 0.004951/0.1792, allocations: 4.799 MB / 0.6603 GB, free: 13.39 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1793, allocations: 15.97 kB / 0.6603 GB, free: 13.37 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002917/0.1796, allocations: 382.7 kB / 0.6606 GB, free: 12.98 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008656/0.1804, allocations: 0.5756 MB / 0.6612 GB, free: 12.41 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003815/0.1843, allocations: 3.598 MB / 0.6647 GB, free: 8.742 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.951e-05/0.1843, allocations: 160.4 kB / 0.6649 GB, free: 8.582 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.1845, allocations: 196.4 kB / 0.665 GB, free: 8.391 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006182/0.1907, allocations: 5.536 MB / 0.6705 GB, free: 2.066 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.758e-05/0.1907, allocations: 27.73 kB / 0.6705 GB, free: 2.039 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.1909, allocations: 100 kB / 0.6706 GB, free: 1.941 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-05/0.1909, allocations: 72 kB / 0.6706 GB, free: 1.871 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005413/0.1963, allocations: 3.639 MB / 0.6742 GB, free: 14.2 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/0.2082, allocations: 20.16 MB / 0.6939 GB, free: 9.332 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004858/0.2131, allocations: 3.152 MB / 0.697 GB, free: 6.039 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.2143, allocations: 1.207 MB / 0.6981 GB, free: 4.766 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002487/0.2146, allocations: 133.1 kB / 0.6983 GB, free: 4.637 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004287/0.2188, allocations: 3.076 MB / 0.7013 GB, free: 1.434 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=448): time 3.647e-06/0.2188, allocations: 0 / 0.7013 GB, free: 1.434 MB / 0.5887 GB Notification: Performance of matching and sorting (n=448): time 0.01094/0.2298, allocations: 7.001 MB / 0.7081 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002232/0.23, allocations: 0.7972 MB / 0.7089 GB, free: 9.355 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003103/0.2331, allocations: 3.183 MB / 0.712 GB, free: 6.184 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.2332, allocations: 58.33 kB / 0.7121 GB, free: 6.121 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007911/0.234, allocations: 1.523 MB / 0.7135 GB, free: 4.586 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008189/0.2349, allocations: 1.471 MB / 0.715 GB, free: 3.102 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008379/0.2357, allocations: 0.8764 MB / 0.7158 GB, free: 2.215 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 5.918e-05/0.2358, allocations: 301.1 kB / 0.7161 GB, free: 1.918 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/0.2375, allocations: 1.631 MB / 0.7177 GB, free: 256 kB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/0.24, allocations: 3.007 MB / 0.7207 GB, free: 12.64 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08446/0.3244, allocations: 25.85 MB / 0.7459 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.108e-05/0.3245, allocations: 12 kB / 0.7459 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.00701/0.3315, allocations: 5.309 MB / 0.7511 GB, free: 12.73 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 8.719e-05/0.3316, allocations: 154.8 kB / 0.7512 GB, free: 12.56 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004535/0.3361, allocations: 4.04 MB / 0.7552 GB, free: 8.441 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002022/0.3363, allocations: 105.5 kB / 0.7553 GB, free: 8.336 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.3381, allocations: 1.123 MB / 0.7564 GB, free: 7.211 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008905/0.339, allocations: 1.412 MB / 0.7578 GB, free: 5.684 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.3407, allocations: 460.8 kB / 0.7582 GB, free: 5.23 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003064/0.341, allocations: 303.7 kB / 0.7585 GB, free: 4.934 MB / 0.6512 GB Warning: Assuming fixed start value for the following 2 variables: volumeVLE_2_1.h:VARIABLE(start = volumeVLE_2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real volumeVLE_2_1.p:VARIABLE(min = 0.0 start = volumeVLE_2_1.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003073/0.344, allocations: 2.306 MB / 0.7607 GB, free: 2.594 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.2143/0.5583, allocations: 2.98 MB / 0.7637 GB, free: 177.2 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.08543/0.6438, allocations: 25.73 MB / 0.7888 GB, free: 170.4 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.317e-05/0.6438, allocations: 13.72 kB / 0.7888 GB, free: 170.4 MB / 0.6512 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.006875/0.6507, allocations: 5.273 MB / 0.7939 GB, free: 167.8 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.832e-05/0.6507, allocations: 148.1 kB / 0.7941 GB, free: 167.6 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004939/0.6557, allocations: 3.992 MB / 0.798 GB, free: 165.6 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/0.6559, allocations: 103.6 kB / 0.7981 GB, free: 165.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002168/0.658, allocations: 1.115 MB / 0.7992 GB, free: 165.3 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006466/0.6587, allocations: 1.39 MB / 0.8005 GB, free: 164 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.6604, allocations: 382.5 kB / 0.8009 GB, free: 163.9 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002899/0.6606, allocations: 295.4 kB / 0.8012 GB, free: 163.8 MB / 0.6512 GB Warning: Assuming fixed start value for the following 2 variables: volumeVLE_2_1.h:VARIABLE(start = volumeVLE_2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real volumeVLE_2_1.p:VARIABLE(min = 0.0 start = volumeVLE_2_1.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 164 * Number of states: 0 () * Number of discrete variables: 28 (timeTable_p1.nextEventScaled,timeTable_p1.nextEvent,$PRE.timeTable_p1.nextEvent,timeTable_p1.last,timeTable_p1.b,timeTable_p1.a,timeTable2.nextEventScaled,timeTable2.nextEvent,$PRE.timeTable2.nextEvent,timeTable2.last,timeTable2.b,timeTable2.a,timeTable1.nextEventScaled,timeTable1.nextEvent,$PRE.timeTable1.nextEvent,timeTable1.last,timeTable1.b,timeTable1.a,timeTable_p.nextEventScaled,timeTable_p.nextEvent,$PRE.timeTable_p.nextEvent,timeTable_p.last,timeTable_p.b,timeTable_p.a,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (590): * Single equations (assignments): 585 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008161/0.6615, allocations: 0.5829 MB / 0.8017 GB, free: 163.3 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006083/0.6621, allocations: 423.5 kB / 0.8021 GB, free: 163.3 MB / 0.6512 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 697 equation(s) and 664 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (steamSeparator.fluidIn.q, steamSeparator.fluidIn.cp, steamSeparator.fluidIn.cv, steamSeparator.fluidIn.beta, steamSeparator.fluidIn.kappa, steamSeparator.fluidIn.drhodp_hxi, steamSeparator.fluidIn.drhodh_pxi, _, steamSeparator.fluidIn.w, steamSeparator.fluidIn.gamma) = ($cse6, $cse7, $cse8, $cse9, $cse10, $cse11, $cse12, $cse13, $cse14, $cse15) has size 9 but 7 variables ($whenCondition1, timeTable_p.a, timeTable_p.b, timeTable_p.last, timeTable_p.nextEvent, timeTable_p.nextEventScaled, timeTable_p.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006532/0.6686, allocations: 5.496 MB / 0.8075 GB, free: 160.3 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3406002884730697]