Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestBottle.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.01692/0.01692, allocations: 1.455 MB / 20.8 MB, free: 3.598 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.008048/0.008048, allocations: 75.3 kB / 24.44 MB, free: 7.555 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.001779/0.001779, allocations: 152.2 kB / 28.2 MB, free: 4.668 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 1.46/1.46, allocations: 177.1 MB / 209 MB, free: 2.816 MB / 186.7 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.167/1.167, allocations: 102.5 MB / 368.4 MB, free: 1.324 MB / 330.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 SMArtInt with version 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.MechanicalSeparation.Check.TestBottle,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|bottle_L3_1.insulation.U.1.|bottle_L3_1.volume.h_liq|bottle_L3_1.volume.h_vap|bottle_L3_1.volume.p_vap|bottle_L3_1.volume.volume_vap|bottle_L3_1.wall.U.1.|bottle_L3_1.wall.U.2.|bottle_L3_1.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestBottle") translateModel(ClaRa.Components.MechanicalSeparation.Check.TestBottle,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|bottle_L3_1.insulation.U.1.|bottle_L3_1.volume.h_liq|bottle_L3_1.volume.h_vap|bottle_L3_1.volume.p_vap|bottle_L3_1.volume.volume_vap|bottle_L3_1.wall.U.1.|bottle_L3_1.wall.U.2.|bottle_L3_1.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestBottle") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 3.237e-06/3.237e-06, allocations: 0 / 468.3 MB, free: 13.57 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.083e-05/4.406e-05, allocations: 6.25 kB / 468.3 MB, free: 13.56 MB / 442.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.TestBottle): time 0.4212/0.4212, allocations: 67.16 MB / 0.5229 GB, free: 72.09 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02941/0.4506, allocations: 22.5 MB / 0.5449 GB, free: 58.94 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005749/0.4564, allocations: 130.5 kB / 0.545 GB, free: 58.88 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.006859/0.4632, allocations: 2.532 MB / 0.5475 GB, free: 57.71 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01263/0.4759, allocations: 4.287 MB / 0.5517 GB, free: 55.18 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0108/0.4867, allocations: 4.092 MB / 0.5557 GB, free: 53.02 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02/0.5067, allocations: 13.52 MB / 0.5689 GB, free: 46.42 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01145/0.5181, allocations: 4.132 MB / 0.5729 GB, free: 43.43 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01814/0.5363, allocations: 7.241 MB / 0.58 GB, free: 38.96 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01009/0.5464, allocations: 4.868 MB / 0.5847 GB, free: 34.98 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003365/0.5497, allocations: 0.8633 MB / 0.5856 GB, free: 34.12 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09326/0.643, allocations: 18.12 MB / 0.6033 GB, free: 17.96 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004297/0.6473, allocations: 2.952 MB / 0.6061 GB, free: 15 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007139/0.6544, allocations: 2.891 MB / 0.609 GB, free: 12.1 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01763/0.672, allocations: 14.18 MB / 0.6228 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6721, allocations: 0 / 0.6228 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.512e-06/0.6721, allocations: 2.688 kB / 0.6228 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0004317/0.6725, allocations: 0 / 0.6228 GB, free: 13.88 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1666 * Number of variables: 1666 Notification: Performance of Generate backend data structure: time 0.02493/0.6974, allocations: 8.929 MB / 0.6315 GB, free: 4.891 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.6975, allocations: 8.031 kB / 0.6315 GB, free: 4.883 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004626/0.7021, allocations: 1.419 MB / 0.6329 GB, free: 3.461 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01579/0.7179, allocations: 6.819 MB / 0.6396 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005512/0.7184, allocations: 336.9 kB / 0.6399 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002118/0.7206, allocations: 455.7 kB / 0.6403 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04127/0.7618, allocations: 14.35 MB / 0.6544 GB, free: 11.64 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002916/0.7621, allocations: 63.38 kB / 0.6544 GB, free: 11.58 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001949/0.7641, allocations: 216 kB / 0.6546 GB, free: 11.37 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007691/0.7648, allocations: 442.4 kB / 0.655 GB, free: 10.94 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0312/0.796, allocations: 10.77 MB / 0.6656 GB, free: 160 kB / 0.5262 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.0835/0.8795, allocations: 50.16 MB / 0.7145 GB, free: 12.5 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02653/0.9061, allocations: 7.962 MB / 0.7223 GB, free: 4.426 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008373/0.9144, allocations: 3.218 MB / 0.7255 GB, free: 1.137 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001783/0.9162, allocations: 355.6 kB / 0.7258 GB, free: 0.793 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02173/0.938, allocations: 6.743 MB / 0.7324 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=827): time 1.616e-05/0.938, allocations: 0 / 0.7324 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of matching and sorting (n=828): time 0.3586/1.297, allocations: 45.67 MB / 0.777 GB, free: 176.5 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003107/1.297, allocations: 1.152 MB / 0.7781 GB, free: 175.1 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01078/1.308, allocations: 6.123 MB / 0.7841 GB, free: 172.8 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001749/1.309, allocations: 96.42 kB / 0.7842 GB, free: 172.7 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002287/1.312, allocations: 3.062 MB / 0.7872 GB, free: 170.3 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003752/1.315, allocations: 2.807 MB / 0.7899 GB, free: 168.1 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007586/1.323, allocations: 1.904 MB / 0.7918 GB, free: 167.4 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 5.358e-05/1.323, allocations: 304.1 kB / 0.7921 GB, free: 167.1 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009502/1.333, allocations: 4.574 MB / 0.7965 GB, free: 165.1 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01224/1.345, allocations: 7.874 MB / 0.8042 GB, free: 159 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5876/1.932, allocations: 85.65 MB / 0.8879 GB, free: 77.96 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/1.933, allocations: 24 kB / 0.8879 GB, free: 77.94 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.03634/1.969, allocations: 13.85 MB / 0.9014 GB, free: 64.01 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001879/1.969, allocations: 103.4 kB / 0.9015 GB, free: 63.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02304/1.992, allocations: 10.27 MB / 0.9115 GB, free: 53.55 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003213/1.995, allocations: 0.8451 MB / 0.9123 GB, free: 52.7 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01089/2.006, allocations: 2.433 MB / 0.9147 GB, free: 50.27 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/2.019, allocations: 14.46 MB / 0.9288 GB, free: 35.01 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00878/2.028, allocations: 427.2 kB / 0.9293 GB, free: 34.59 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002704/2.03, allocations: 0.5811 MB / 0.9298 GB, free: 34.02 MB / 0.6043 GB Warning: Assuming fixed start value for the following 3 variables: bottle_L3_1.volume.h_liq:VARIABLE(start = bottle_L3_1.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real bottle_L3_1.volume.h_vap:VARIABLE(start = bottle_L3_1.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real bottle_L3_1.volume.p_vap:VARIABLE(min = 0.0 start = bottle_L3_1.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0163/2.047, allocations: 6.428 MB / 0.9361 GB, free: 27.57 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01191/2.059, allocations: 7.841 MB / 0.9438 GB, free: 18.34 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.852/2.911, allocations: 85.12 MB / 1.027 GB, free: 164.6 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001018/2.911, allocations: 24.66 kB / 1.027 GB, free: 164.6 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.03436/2.945, allocations: 13.78 MB / 1.04 GB, free: 151.1 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.000169/2.945, allocations: 108.3 kB / 1.04 GB, free: 151 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02235/2.968, allocations: 10.19 MB / 1.05 GB, free: 140.7 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003079/2.971, allocations: 0.8453 MB / 1.051 GB, free: 139.9 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00988/2.98, allocations: 2.418 MB / 1.054 GB, free: 137.5 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/2.993, allocations: 14.47 MB / 1.068 GB, free: 122.3 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008121/3.001, allocations: 416.6 kB / 1.068 GB, free: 121.9 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00254/3.004, allocations: 0.5777 MB / 1.069 GB, free: 121.4 MB / 0.6199 GB Warning: Assuming fixed start value for the following 3 variables: bottle_L3_1.volume.h_liq:VARIABLE(start = bottle_L3_1.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real bottle_L3_1.volume.h_vap:VARIABLE(start = bottle_L3_1.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real bottle_L3_1.volume.p_vap:VARIABLE(min = 0.0 start = bottle_L3_1.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 388 * Number of states: 0 () * Number of discrete variables: 16 (timeTable1.nextEventScaled,timeTable1.nextEvent,$PRE.timeTable1.nextEvent,timeTable1.last,timeTable1.b,timeTable1.a,timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition2,$whenCondition1,valveVLE_L1_2.pressureLoss.normIsValid,valveVLE_L1_1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1204): * Single equations (assignments): 1193 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 5 * 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): 4 systems {(4,3,87.5%), (1,6,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.00416/3.008, allocations: 0.8169 MB / 1.069 GB, free: 120.6 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004667/3.013, allocations: 0.8617 MB / 1.07 GB, free: 120.1 MB / 0.6199 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 1197 equation(s) and 1145 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (cyclone.fluidIn.q, cyclone.fluidIn.cp, cyclone.fluidIn.cv, cyclone.fluidIn.beta, cyclone.fluidIn.kappa, cyclone.fluidIn.drhodp_hxi, cyclone.fluidIn.drhodh_pxi, _, cyclone.fluidIn.w, cyclone.fluidIn.gamma) = ($cse36, $cse37, $cse38, $cse39, $cse40, $cse41, $cse42, $cse43, $cse44, $cse45) has size 9 but 7 variables ($whenCondition1, timeTable.a, timeTable.b, timeTable.last, timeTable.nextEvent, timeTable.nextEventScaled, timeTable.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02299/3.036, allocations: 11.14 MB / 1.081 GB, free: 109.7 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.728829753003083]