Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01027/0.01027, allocations: 1.781 MB / 18.83 MB, free: 4.262 MB / 14.72 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.00128/0.00128, allocations: 107.6 kB / 22.07 MB, free: 1.016 MB / 14.72 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.001684/0.001684, allocations: 214.1 kB / 25.45 MB, free: 3.293 MB / 14.72 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 1.492/1.492, allocations: 230.6 MB / 259.3 MB, free: 13.14 MB / 206.1 MB " [Timeout remaining time 178] 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 1.074/1.074, allocations: 130.6 MB / 446.3 MB, free: 14.65 MB / 350.1 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 SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestSeparator_L1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestSeparator_L1",fmuType="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: 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.3891/0.3891, allocations: 46.14 MB / 0.6552 GB, free: 30.22 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.5632, allocations: 89.06 MB / 0.7421 GB, free: 2.75 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1): time 0.01927/0.5825, allocations: 16.95 MB / 0.7587 GB, free: 1.738 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03072/0.6132, allocations: 19.75 MB / 0.778 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004356/0.6176, allocations: 91.31 kB / 0.7781 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00549/0.623, allocations: 1.919 MB / 0.7799 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007011/0.6301, allocations: 2.37 MB / 0.7822 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00693/0.637, allocations: 2.68 MB / 0.7849 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008841/0.6458, allocations: 5.666 MB / 0.7904 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002758/0.6486, allocations: 1.554 MB / 0.7919 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003904/0.6525, allocations: 2.339 MB / 0.7942 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004018/0.6565, allocations: 2.541 MB / 0.7967 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008766/0.6574, allocations: 364 kB / 0.797 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005189/0.6626, allocations: 2.441 MB / 0.7994 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001478/0.6641, allocations: 1.171 MB / 0.8005 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002604/0.6667, allocations: 2.102 MB / 0.8026 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.6774, allocations: 6.802 MB / 0.8092 GB, free: 13.74 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6774, allocations: 0 / 0.8092 GB, free: 13.74 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6774, allocations: 0 / 0.8092 GB, free: 13.74 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0001314/0.6776, allocations: 0 / 0.8092 GB, free: 13.74 MB / 0.6232 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.008506/0.6861, allocations: 4.945 MB / 0.8141 GB, free: 8.688 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.6861, allocations: 8.031 kB / 0.8141 GB, free: 8.68 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.742e-05/0.6862, allocations: 60.23 kB / 0.8141 GB, free: 8.617 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004954/0.6867, allocations: 386.7 kB / 0.8145 GB, free: 8.227 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.6884, allocations: 0.5679 MB / 0.8151 GB, free: 7.656 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006866/0.6952, allocations: 3.766 MB / 0.8187 GB, free: 3.832 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.6954, allocations: 152 kB / 0.8189 GB, free: 3.68 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/0.6957, allocations: 200 kB / 0.8191 GB, free: 3.484 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/0.7069, allocations: 4.852 MB / 0.8238 GB, free: 14 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.909e-05/0.707, allocations: 27.73 kB / 0.8238 GB, free: 13.97 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/0.7072, allocations: 104 kB / 0.8239 GB, free: 13.87 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.817e-05/0.7073, allocations: 75.94 kB / 0.824 GB, free: 13.8 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009947/0.7172, allocations: 3.527 MB / 0.8275 GB, free: 10.26 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02435/0.7416, allocations: 21.33 MB / 0.8483 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009254/0.7508, allocations: 3.194 MB / 0.8514 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002256/0.7531, allocations: 1.084 MB / 0.8525 GB, free: 15.65 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004701/0.7536, allocations: 222.1 kB / 0.8527 GB, free: 15.42 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007923/0.7615, allocations: 2.945 MB / 0.8555 GB, free: 12.37 MB / 0.67 GB Notification: Performance of pre-optimization done (n=448): time 4.919e-06/0.7615, allocations: 0 / 0.8555 GB, free: 12.37 MB / 0.67 GB Notification: Performance of matching and sorting (n=448): time 0.01965/0.7811, allocations: 6.829 MB / 0.8622 GB, free: 5.477 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004813/0.7816, allocations: 0.8011 MB / 0.863 GB, free: 4.492 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004981/0.7866, allocations: 3.121 MB / 0.866 GB, free: 1.383 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005672/0.7872, allocations: 54.14 kB / 0.8661 GB, free: 1.324 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.3833/1.17, allocations: 1.527 MB / 0.8676 GB, free: 118.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001703/1.172, allocations: 1.488 MB / 0.869 GB, free: 117.6 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001681/1.174, allocations: 0.8855 MB / 0.8699 GB, free: 117.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.817e-05/1.174, allocations: 303.5 kB / 0.8702 GB, free: 117.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002629/1.177, allocations: 1.5 MB / 0.8717 GB, free: 117.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003113/1.18, allocations: 2.701 MB / 0.8743 GB, free: 115.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1773/1.357, allocations: 25.82 MB / 0.8995 GB, free: 108.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-05/1.357, allocations: 11.69 kB / 0.8995 GB, free: 108.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.009942/1.367, allocations: 5.153 MB / 0.9046 GB, free: 106.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.367, allocations: 153.1 kB / 0.9047 GB, free: 106 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006435/1.373, allocations: 3.882 MB / 0.9085 GB, free: 104.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003569/1.374, allocations: 103.7 kB / 0.9086 GB, free: 104.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003011/1.377, allocations: 1.123 MB / 0.9097 GB, free: 103.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/1.378, allocations: 1.523 MB / 0.9112 GB, free: 102.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/1.38, allocations: 460.2 kB / 0.9116 GB, free: 102.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004067/1.381, allocations: 296.8 kB / 0.9119 GB, free: 102.2 MB / 0.67 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.003447/1.384, allocations: 2.176 MB / 0.914 GB, free: 100.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002791/1.387, allocations: 2.691 MB / 0.9166 GB, free: 98.55 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1676/1.554, allocations: 25.71 MB / 0.9418 GB, free: 75.19 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.734e-05/1.555, allocations: 13.25 kB / 0.9418 GB, free: 75.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.008843/1.563, allocations: 5.115 MB / 0.9468 GB, free: 70.23 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.395e-05/1.563, allocations: 151 kB / 0.9469 GB, free: 70.06 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005371/1.569, allocations: 3.837 MB / 0.9507 GB, free: 66.19 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002001/1.569, allocations: 92.48 kB / 0.9507 GB, free: 66.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/1.572, allocations: 1.123 MB / 0.9518 GB, free: 65.04 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008401/1.573, allocations: 1.509 MB / 0.9533 GB, free: 63.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/1.575, allocations: 376.5 kB / 0.9537 GB, free: 63.14 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004324/1.576, allocations: 295.8 kB / 0.954 GB, free: 62.85 MB / 0.67 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.001279/1.577, allocations: 0.5819 MB / 0.9545 GB, free: 62.34 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.578, allocations: 429 kB / 0.9549 GB, free: 61.91 MB / 0.67 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.007595/1.586, allocations: 5.464 MB / 0.9603 GB, free: 56.83 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.268944391980767] Failed to read output from testmodel.py, exit status != 0: 1.5929023470380343 1.6012473280000001 0.921598061 Calling exit ...