Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L3.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.01344/0.01344, 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.007579/0.007579, allocations: 80.22 kB / 24.59 MB, free: 7.203 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.0009466/0.0009466, allocations: 166.4 kB / 28.4 MB, free: 4.316 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.8506/0.8506, 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.7053/0.7053, allocations: 102.5 MB / 368.7 MB, free: 1 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_L3,fileNamePrefix="ClaRa_dev_ClaRa_Components_MechanicalSeparation_Check_TestSeparator_L3",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L3,fileNamePrefix="ClaRa_dev_ClaRa_Components_MechanicalSeparation_Check_TestSeparator_L3",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5378 GB, free: 39.14 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.093e-05, allocations: 3.438 kB / 0.5378 GB, free: 39.14 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_L3): time 0.1263/0.1264, allocations: 84.25 MB / 0.6201 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03166/0.158, allocations: 26.81 MB / 0.6463 GB, free: 11.97 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005558/0.1636, allocations: 206.4 kB / 0.6465 GB, free: 11.77 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.005952/0.1695, allocations: 3.851 MB / 0.6502 GB, free: 7.898 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01064/0.1802, allocations: 6.269 MB / 0.6564 GB, free: 1.594 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.00872/0.1889, allocations: 6.125 MB / 0.6623 GB, free: 11.46 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.01619/0.2051, allocations: 16.64 MB / 0.6786 GB, free: 10.77 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006774/0.2119, allocations: 5.056 MB / 0.6835 GB, free: 5.621 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01134/0.2232, allocations: 9.07 MB / 0.6924 GB, free: 12.53 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00673/0.2299, allocations: 6.078 MB / 0.6983 GB, free: 6.438 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.001858/0.2318, allocations: 1.066 MB / 0.6994 GB, free: 5.371 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005126/0.2369, allocations: 2.944 MB / 0.7022 GB, free: 2.422 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 0.002444/0.2394, allocations: 3.465 MB / 0.7056 GB, free: 14.95 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.004531/0.2439, allocations: 3.472 MB / 0.709 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.01485/0.2588, allocations: 16.72 MB / 0.7253 GB, free: 10.7 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2588, allocations: 7.938 kB / 0.7253 GB, free: 10.69 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2588, allocations: 0 / 0.7253 GB, free: 10.69 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.0003167/0.2591, allocations: 0 / 0.7253 GB, free: 10.69 MB / 0.6199 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2079 * Number of variables: 2079 Notification: Performance of Generate backend data structure: time 0.0138/0.2729, allocations: 12.36 MB / 0.7374 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.2729, allocations: 8.031 kB / 0.7374 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008366/0.2738, allocations: 0.9801 MB / 0.7384 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/0.2758, allocations: 1.341 MB / 0.7397 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009282/0.2851, allocations: 7.807 MB / 0.7473 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000215/0.2853, allocations: 435.8 kB / 0.7477 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005608/0.2859, allocations: 0.5588 MB / 0.7483 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01975/0.3056, allocations: 16.52 MB / 0.7644 GB, free: 232 kB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-05/0.3057, allocations: 67.38 kB / 0.7645 GB, free: 164 kB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2158/0.5215, allocations: 295.4 kB / 0.7648 GB, free: 170 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004336/0.5219, allocations: 405 kB / 0.7651 GB, free: 170 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0176/0.5395, allocations: 11.06 MB / 0.7759 GB, free: 167 MB / 0.6512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03008/0.5696, allocations: 56.21 MB / 0.8308 GB, free: 118.8 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/0.5821, allocations: 8.833 MB / 0.8395 GB, free: 113.6 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003435/0.5855, allocations: 3.503 MB / 0.8429 GB, free: 111.5 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005161/0.586, allocations: 269.4 kB / 0.8431 GB, free: 111.4 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00973/0.5957, allocations: 7.778 MB / 0.8507 GB, free: 106.8 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=1017): time 8.296e-06/0.5958, allocations: 2.656 kB / 0.8507 GB, free: 106.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1019): time 0.05815/0.6539, allocations: 70.44 MB / 0.9195 GB, free: 38.13 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002499/0.6542, allocations: 2.121 MB / 0.9216 GB, free: 35.52 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006238/0.6604, allocations: 7.457 MB / 0.9289 GB, free: 28.08 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0009179/0.6613, allocations: 109.7 kB / 0.929 GB, free: 27.96 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.6628, allocations: 3.93 MB / 0.9328 GB, free: 24.05 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.00149/0.6643, allocations: 3.414 MB / 0.9362 GB, free: 20.68 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001933/0.6662, allocations: 2.184 MB / 0.9383 GB, free: 18.49 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.349e-05/0.6662, allocations: 303.8 kB / 0.9386 GB, free: 18.2 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004384/0.6706, allocations: 4.772 MB / 0.9432 GB, free: 13.39 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005401/0.676, allocations: 9.152 MB / 0.9522 GB, free: 2.5 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2282/0.9042, allocations: 68.57 MB / 1.019 GB, free: 13.75 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.852e-05/0.9042, allocations: 32 kB / 1.019 GB, free: 13.72 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.01777/0.922, allocations: 14.75 MB / 1.034 GB, free: 14.88 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.9221, allocations: 212.5 kB / 1.034 GB, free: 14.64 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01281/0.9349, allocations: 11.11 MB / 1.045 GB, free: 3.457 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009515/0.9359, allocations: 0.6044 MB / 1.045 GB, free: 2.871 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004956/0.9408, allocations: 2.82 MB / 1.048 GB, free: 48 kB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2175/1.158, allocations: 11.23 MB / 1.059 GB, free: 242.9 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004661/1.163, allocations: 445.2 kB / 1.059 GB, free: 242.9 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008557/1.164, allocations: 0.6817 MB / 1.06 GB, free: 242.9 MB / 0.7449 GB Warning: Assuming fixed start value for the following 8 variables: steamSeparator.volume.h_liq:VARIABLE(start = steamSeparator.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real steamSeparator.volume.h_vap:VARIABLE(start = steamSeparator.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real steamSeparator.volume.p_vap:VARIABLE(min = 0.0 start = steamSeparator.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real steamSeparator_controlled.volume.h_liq:VARIABLE(start = steamSeparator_controlled.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real steamSeparator_controlled.volume.h_vap:VARIABLE(start = steamSeparator_controlled.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real steamSeparator_controlled.volume.p_vap:VARIABLE(min = 0.0 start = steamSeparator_controlled.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real PID.I.y:VARIABLE(flow=false start = PID.I.y_start_const fixed = true ) \"Connector of Real output signal\" type: Real PID.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007753/1.172, allocations: 6.742 MB / 1.067 GB, free: 240.3 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005988/1.178, allocations: 9.097 MB / 1.076 GB, free: 232.9 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2333/1.411, allocations: 68.32 MB / 1.142 GB, free: 189.9 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.116e-05/1.411, allocations: 35.98 kB / 1.142 GB, free: 189.8 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1457) (initialization_lambda0): time 0.02099/1.432, allocations: 14.66 MB / 1.157 GB, free: 175.6 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/1.432, allocations: 208.5 kB / 1.157 GB, free: 175.4 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01345/1.446, allocations: 11.01 MB / 1.168 GB, free: 164.3 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008002/1.446, allocations: 0.597 MB / 1.168 GB, free: 163.7 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007997/1.454, allocations: 2.816 MB / 1.171 GB, free: 160.9 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/1.465, allocations: 11.24 MB / 1.182 GB, free: 149 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007574/1.472, allocations: 442.3 kB / 1.182 GB, free: 148.6 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007604/1.473, allocations: 0.6779 MB / 1.183 GB, free: 148 MB / 0.7449 GB Warning: Assuming fixed start value for the following 8 variables: steamSeparator.volume.h_liq:VARIABLE(start = steamSeparator.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real steamSeparator.volume.h_vap:VARIABLE(start = steamSeparator.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real steamSeparator.volume.p_vap:VARIABLE(min = 0.0 start = steamSeparator.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real steamSeparator_controlled.volume.h_liq:VARIABLE(start = steamSeparator_controlled.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real steamSeparator_controlled.volume.h_vap:VARIABLE(start = steamSeparator_controlled.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real steamSeparator_controlled.volume.p_vap:VARIABLE(min = 0.0 start = steamSeparator_controlled.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real PID.I.y:VARIABLE(flow=false start = PID.I.y_start_const fixed = true ) \"Connector of Real output signal\" type: Real PID.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * Number of states: 0 () * Number of discrete variables: 42 ($PRE.PID.time_lag_I_activation.entryTime,$PRE.PID.switch_OnOff.u2,PID.I_activation.y,PID.time_lag_I_activation.entryTime,PID.switch_OnOff.u2,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,ramp.nextEventScaled,ramp.nextEvent,$PRE.ramp.nextEvent,ramp.last,ramp.b,ramp.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1420): * Single equations (assignments): 1409 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,3,87.5%), (4,3,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002294/1.475, allocations: 1.051 MB / 1.184 GB, free: 146.9 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001436/1.477, allocations: 0.9493 MB / 1.185 GB, free: 146.5 MB / 0.7449 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 1537 equation(s) and 1465 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (steamSeparator.volume.fluidIn[1].q, steamSeparator.volume.fluidIn[1].cp, steamSeparator.volume.fluidIn[1].cv, steamSeparator.volume.fluidIn[1].beta, steamSeparator.volume.fluidIn[1].kappa, steamSeparator.volume.fluidIn[1].drhodp_hxi, steamSeparator.volume.fluidIn[1].drhodh_pxi, _, steamSeparator.volume.fluidIn[1].w, steamSeparator.volume.fluidIn[1].gamma) = ($cse5, $cse6, $cse7, $cse8, $cse9, $cse10, $cse11, $cse12, $cse13, $cse14) has size 9 but 7 variables ($whenCondition1, ramp.a, ramp.b, ramp.last, ramp.nextEvent, ramp.nextEventScaled, ramp.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/1.489, allocations: 13.02 MB / 1.198 GB, free: 134 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.156569187529385]