Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008036/0.0008076, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000921/0.0009211, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04492/0.04492, allocations: 9.069 MB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005487/0.0005489, allocations: 16 kB / 339.1 MB, free: 26.04 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09128/0.09184, allocations: 49.2 MB / 388.3 MB, free: 8.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.3168/0.4087, allocations: 119.7 MB / 0.4962 GB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3899/0.7986, allocations: 103.8 MB / 0.5975 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007922/0.7994, allocations: 6.188 kB / 0.5975 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003186/0.8026, allocations: 1.074 MB / 0.5986 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004521/0.8072, allocations: 1.324 MB / 0.5999 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06835/0.8756, allocations: 22.34 MB / 0.6217 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002326/0.8779, allocations: 1.569 MB / 0.6232 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002583/0.8782, allocations: 90.75 kB / 0.6233 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0191/0.8973, allocations: 10.55 MB / 0.6336 GB, free: 8.469 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005743/0.8979, allocations: 368.4 kB / 0.634 GB, free: 8.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.75e-05/0.898, allocations: 22.84 kB / 0.634 GB, free: 8.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05802/0.956, allocations: 27.25 MB / 0.6606 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.9563, allocations: 89.22 kB / 0.6607 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004049/0.9568, allocations: 146.5 kB / 0.6608 GB, free: 11.58 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02095/0.9777, allocations: 8.499 MB / 0.6691 GB, free: 4.816 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.9778, allocations: 0 / 0.6691 GB, free: 4.816 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.9778, allocations: 0 / 0.6691 GB, free: 4.816 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.9778, allocations: 0 / 0.6691 GB, free: 4.816 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.007186/0.985, allocations: 2.502 MB / 0.6716 GB, free: 2.363 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.9851, allocations: 8.031 kB / 0.6716 GB, free: 2.355 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006652/0.9857, allocations: 90.61 kB / 0.6717 GB, free: 2.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.9862, allocations: 324.5 kB / 0.672 GB, free: 1.961 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.9863, allocations: 31.92 kB / 0.672 GB, free: 1.945 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.9863, allocations: 38.66 kB / 0.6721 GB, free: 1.918 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.9876, allocations: 0.6153 MB / 0.6727 GB, free: 1.469 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.9877, allocations: 0 / 0.6727 GB, free: 1.469 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.9877, allocations: 14.06 kB / 0.6727 GB, free: 1.465 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.9877, allocations: 15.3 kB / 0.6727 GB, free: 1.457 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.9889, allocations: 0.576 MB / 0.6732 GB, free: 1.047 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.9915, allocations: 2.459 MB / 0.6756 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009392/0.9924, allocations: 0.4936 MB / 0.6761 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004754/0.9929, allocations: 351.5 kB / 0.6765 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4006/1.394, allocations: 135.8 MB / 0.8091 GB, free: 278.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/1.394, allocations: 36.12 kB / 0.8091 GB, free: 278.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 3.647e-06/1.394, allocations: 1.406 kB / 0.8091 GB, free: 278.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.005804/1.399, allocations: 2.403 MB / 0.8115 GB, free: 277.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/1.4, allocations: 57.62 kB / 0.8115 GB, free: 277.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/1.4, allocations: 258.5 kB / 0.8118 GB, free: 277.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/1.4, allocations: 32.61 kB / 0.8118 GB, free: 277.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.985e-05/1.4, allocations: 191.7 kB / 0.812 GB, free: 277.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/1.4, allocations: 261.6 kB / 0.8122 GB, free: 277 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/1.4, allocations: 10.22 kB / 0.8122 GB, free: 277 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.565e-05/1.4, allocations: 351.6 kB / 0.8126 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/1.401, allocations: 294.5 kB / 0.8129 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/1.401, allocations: 410.4 kB / 0.8133 GB, free: 276.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005307/1.402, allocations: 332.5 kB / 0.8136 GB, free: 276.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.402, allocations: 1.906 kB / 0.8136 GB, free: 276.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00135/1.403, allocations: 0.8228 MB / 0.8144 GB, free: 276 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.403, allocations: 9.062 kB / 0.8144 GB, free: 276 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.403, allocations: 3.031 kB / 0.8144 GB, free: 276 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002676/1.403, allocations: 66.67 kB / 0.8145 GB, free: 275.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/1.404, allocations: 143.2 kB / 0.8146 GB, free: 275.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08234/1.486, allocations: 23.84 MB / 0.8379 GB, free: 259.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005288/1.487, allocations: 63.86 kB / 0.8379 GB, free: 259.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/1.487, allocations: 20 kB / 0.838 GB, free: 259.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 9 (volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase,ambient.medium.sat.liq.phase,ambient.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002947/1.487, allocations: 177.8 kB / 0.8381 GB, free: 259.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/1.487, allocations: 47.39 kB / 0.8382 GB, free: 259.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/1.489, allocations: 1.745 MB / 0.8399 GB, free: 257.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/1.489, allocations: 18.64 kB / 0.8399 GB, free: 257.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/1.489, allocations: 0 / 0.8399 GB, free: 257.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001266/1.491, allocations: 1.32 MB / 0.8412 GB, free: 255.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/1.493, allocations: 1.785 MB / 0.8429 GB, free: 254.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.493, allocations: 0 / 0.8429 GB, free: 254.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/1.493, allocations: 75.89 kB / 0.843 GB, free: 254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003505/1.493, allocations: 172.3 kB / 0.8432 GB, free: 253.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/1.493, allocations: 12 kB / 0.8432 GB, free: 253.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/1.494, allocations: 2.484 MB / 0.8456 GB, free: 251.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.494, allocations: 0 / 0.8456 GB, free: 251.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/1.496, allocations: 1.412 MB / 0.847 GB, free: 249.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/1.496, allocations: 136.5 kB / 0.8471 GB, free: 249.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/1.496, allocations: 12 kB / 0.8471 GB, free: 249.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/1.497, allocations: 47.8 kB / 0.8472 GB, free: 249.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/1.497, allocations: 47.92 kB / 0.8472 GB, free: 249.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/1.497, allocations: 14.3 kB / 0.8472 GB, free: 249.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001887/1.497, allocations: 223 kB / 0.8474 GB, free: 249.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/1.497, allocations: 3.938 kB / 0.8474 GB, free: 249.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008037/1.505, allocations: 3.18 MB / 0.8505 GB, free: 246.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01467/1.52, allocations: 4.027 MB / 0.8545 GB, free: 242.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001991/1.522, allocations: 1.042 MB / 0.8555 GB, free: 241.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.522, allocations: 0 / 0.8555 GB, free: 241.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006661/1.522, allocations: 0.515 MB / 0.856 GB, free: 241.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/1.524, allocations: 358.6 kB / 0.8563 GB, free: 241 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/1.526, allocations: 1.431 MB / 0.8577 GB, free: 239.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/1.526, allocations: 0.8487 MB / 0.8586 GB, free: 238.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003741/1.526, allocations: 139 kB / 0.8587 GB, free: 238.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.421e-05/1.526, allocations: 35.44 kB / 0.8587 GB, free: 238.5 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/1.526, allocations: 0 / 0.8587 GB, free: 238.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.1274/1.654, allocations: 117.6 MB / 0.9735 GB, free: 120.7 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1) Environment - environmentSimulation: