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.001068/0.001068, allocations: 92 kB / 15.36 MB, free: 0.7383 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.008879/0.008879, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04213/0.04213, allocations: 9.063 MB / 279.8 MB, free: 12.15 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.000485/0.000485, allocations: 12.22 kB / 339.7 MB, free: 25.63 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08426/0.08475, allocations: 49.19 MB / 388.9 MB, free: 8.398 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.3211/0.4059, allocations: 128.6 MB / 0.5054 GB, free: 7.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.36/0.7659, allocations: 111.5 MB / 0.6143 GB, free: 1.746 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000586/0.7665, allocations: 6.156 kB / 0.6143 GB, free: 1.746 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002994/0.7695, allocations: 1.184 MB / 0.6155 GB, free: 1.738 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003787/0.7733, allocations: 1.468 MB / 0.6169 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06608/0.8394, allocations: 24.84 MB / 0.6411 GB, free: 0.582 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001952/0.8414, allocations: 1.827 MB / 0.6429 GB, free: 12 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.8417, allocations: 90.19 kB / 0.643 GB, free: 15.99 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01668/0.8583, allocations: 9.738 MB / 0.6525 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005211/0.8589, allocations: 370.8 kB / 0.6529 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.537e-05/0.859, allocations: 24.12 kB / 0.6529 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05435/0.9133, allocations: 30.64 MB / 0.6828 GB, free: 11.47 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.9136, allocations: 94.78 kB / 0.6829 GB, free: 11.42 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006519/0.9143, allocations: 306.3 kB / 0.6832 GB, free: 11.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04415/0.9585, allocations: 13.46 MB / 0.6964 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.9585, allocations: 0 / 0.6964 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.9585, allocations: 4 kB / 0.6964 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.122e-05/0.9586, allocations: 3.188 kB / 0.6964 GB, free: 0.9883 MB / 478.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.007997/0.9666, allocations: 2.486 MB / 0.6988 GB, free: 14.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.9666, allocations: 8.031 kB / 0.6988 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008196/0.9675, allocations: 93.11 kB / 0.6989 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006085/0.9681, allocations: 343.9 kB / 0.6992 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.979e-05/0.9682, allocations: 24.28 kB / 0.6992 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.694e-05/0.9683, allocations: 37.56 kB / 0.6993 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.9698, allocations: 0.6127 MB / 0.6999 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.9699, allocations: 0 / 0.6999 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.413e-05/0.9699, allocations: 15.19 kB / 0.6999 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.97, allocations: 16.69 kB / 0.6999 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.9714, allocations: 0.5771 MB / 0.7005 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.9746, allocations: 2.468 MB / 0.7029 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.9758, allocations: 0.4973 MB / 0.7034 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000579/0.9764, allocations: 348.5 kB / 0.7037 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4404/1.417, allocations: 135.8 MB / 0.8363 GB, free: 259 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/1.417, allocations: 36.28 kB / 0.8364 GB, free: 259 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 3.336e-06/1.417, allocations: 0 / 0.8364 GB, free: 259 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.006144/1.423, allocations: 2.416 MB / 0.8387 GB, free: 258.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/1.423, allocations: 55.38 kB / 0.8388 GB, free: 258.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/1.423, allocations: 267.7 kB / 0.839 GB, free: 257.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/1.423, allocations: 33.42 kB / 0.8391 GB, free: 257.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/1.424, allocations: 187.2 kB / 0.8392 GB, free: 257.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/1.424, allocations: 263 kB / 0.8395 GB, free: 257.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/1.424, allocations: 61.12 kB / 0.8395 GB, free: 257.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.016e-05/1.424, allocations: 357.9 kB / 0.8399 GB, free: 257.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/1.424, allocations: 285.1 kB / 0.8402 GB, free: 256.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005367/1.425, allocations: 405.5 kB / 0.8405 GB, free: 256.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/1.426, allocations: 0.7215 MB / 0.8412 GB, free: 256.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/1.426, allocations: 0 / 0.8412 GB, free: 256.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001368/1.427, allocations: 0.8263 MB / 0.8421 GB, free: 255.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.427, allocations: 7.906 kB / 0.8421 GB, free: 255.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.427, allocations: 3.219 kB / 0.8421 GB, free: 255.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002644/1.428, allocations: 65.33 kB / 0.8421 GB, free: 255.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007034/1.428, allocations: 152.6 kB / 0.8423 GB, free: 255.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09644/1.525, allocations: 23.84 MB / 0.8656 GB, free: 236.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005222/1.525, allocations: 47.97 kB / 0.8656 GB, free: 236.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.193e-05/1.526, allocations: 16 kB / 0.8656 GB, free: 236.3 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 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.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 (not torn): 3 * 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): 3 systems {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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003047/1.526, allocations: 195.4 kB / 0.8658 GB, free: 236.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.39e-05/1.526, allocations: 50.77 kB / 0.8659 GB, free: 236.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/1.528, allocations: 1.745 MB / 0.8676 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/1.528, allocations: 9.484 kB / 0.8676 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.528, allocations: 3.984 kB / 0.8676 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001362/1.529, allocations: 1.321 MB / 0.8689 GB, free: 232.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/1.531, allocations: 1.773 MB / 0.8706 GB, free: 231 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.531, allocations: 0.8125 kB / 0.8706 GB, free: 231 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/1.532, allocations: 91.81 kB / 0.8707 GB, free: 230.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003929/1.532, allocations: 167.7 kB / 0.8708 GB, free: 230.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/1.532, allocations: 19.5 kB / 0.8709 GB, free: 230.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/1.533, allocations: 2.473 MB / 0.8733 GB, free: 228.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.533, allocations: 0 / 0.8733 GB, free: 228.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/1.535, allocations: 1.423 MB / 0.8747 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/1.535, allocations: 140.4 kB / 0.8748 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.61e-05/1.536, allocations: 11.94 kB / 0.8748 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/1.536, allocations: 47.78 kB / 0.8749 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.686e-05/1.536, allocations: 47.92 kB / 0.8749 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/1.536, allocations: 8 kB / 0.8749 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000196/1.536, allocations: 223.1 kB / 0.8751 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/1.536, allocations: 0 / 0.8751 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007809/1.544, allocations: 3.188 MB / 0.8782 GB, free: 223.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 (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01545/1.56, allocations: 4.03 MB / 0.8822 GB, free: 219.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002198/1.562, allocations: 1.035 MB / 0.8832 GB, free: 218.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.453e-06/1.562, allocations: 4 kB / 0.8832 GB, free: 218.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000798/1.563, allocations: 0.5251 MB / 0.8837 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/1.565, allocations: 405.1 kB / 0.8841 GB, free: 217.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/1.567, allocations: 1.466 MB / 0.8855 GB, free: 216.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/1.568, allocations: 0.8566 MB / 0.8863 GB, free: 215.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000551/1.568, allocations: 137.1 kB / 0.8865 GB, free: 215.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.848e-05/1.568, allocations: 39.44 kB / 0.8865 GB, free: 215.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/1.568, allocations: 0 / 0.8865 GB, free: 215.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.1438/1.712, allocations: 118.5 MB / 1.002 GB, free: 96.59 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: