Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009471/0.000947, allocations: 91.84 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.001092/0.001092, 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.466/1.466, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04344/0.04344, allocations: 9.065 MB / 279.5 MB, free: 12.37 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.0004927/0.0004928, allocations: 16 kB / 339.1 MB, free: 26.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08999/0.09049, allocations: 49.19 MB / 388.3 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.2888/0.3794, allocations: 120 MB / 0.4964 GB, free: 244 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3502/0.7296, allocations: 103.8 MB / 0.5978 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006895/0.7303, allocations: 6.875 kB / 0.5978 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003034/0.7334, allocations: 1.073 MB / 0.5988 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.7369, allocations: 1.322 MB / 0.6001 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06384/0.8007, allocations: 22.63 MB / 0.6222 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002117/0.8029, allocations: 1.567 MB / 0.6237 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.8031, allocations: 101.8 kB / 0.6238 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01699/0.8201, allocations: 9.763 MB / 0.6334 GB, free: 8.684 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005172/0.8207, allocations: 364.1 kB / 0.6337 GB, free: 8.555 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.804e-05/0.8207, allocations: 22.38 kB / 0.6337 GB, free: 8.555 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05549/0.8762, allocations: 27.91 MB / 0.661 GB, free: 11.17 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.8765, allocations: 100.7 kB / 0.6611 GB, free: 11.1 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003898/0.8769, allocations: 140.3 kB / 0.6612 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01881/0.8958, allocations: 8.617 MB / 0.6696 GB, free: 4.109 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8958, allocations: 1.531 kB / 0.6696 GB, free: 4.109 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.8958, allocations: 0 / 0.6696 GB, free: 4.109 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.8958, allocations: 0 / 0.6696 GB, free: 4.109 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.006339/0.9022, allocations: 2.485 MB / 0.6721 GB, free: 1.668 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.9022, allocations: 8.031 kB / 0.6721 GB, free: 1.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006031/0.9028, allocations: 94.36 kB / 0.6722 GB, free: 1.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004202/0.9033, allocations: 327.9 kB / 0.6725 GB, free: 1.262 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.9033, allocations: 32.17 kB / 0.6725 GB, free: 1.246 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.489e-05/0.9034, allocations: 43.39 kB / 0.6726 GB, free: 1.215 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.9047, allocations: 0.6096 MB / 0.6732 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.9047, allocations: 0 / 0.6732 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.9048, allocations: 16.31 kB / 0.6732 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.9048, allocations: 15.53 kB / 0.6732 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.9062, allocations: 0.5774 MB / 0.6737 GB, free: 352 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.9091, allocations: 2.468 MB / 0.6762 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.9101, allocations: 0.4949 MB / 0.6766 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004952/0.9106, allocations: 344.4 kB / 0.677 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4039/1.315, allocations: 135.8 MB / 0.8096 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/1.315, allocations: 39.41 kB / 0.8096 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 2.996e-06/1.315, allocations: 0 / 0.8096 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.005546/1.32, allocations: 2.4 MB / 0.812 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/1.32, allocations: 55.41 kB / 0.812 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/1.321, allocations: 256.7 kB / 0.8123 GB, free: 276.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/1.321, allocations: 35.27 kB / 0.8123 GB, free: 276.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/1.321, allocations: 195.3 kB / 0.8125 GB, free: 276.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/1.321, allocations: 262 kB / 0.8128 GB, free: 276.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/1.321, allocations: 9.75 kB / 0.8128 GB, free: 276.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.943e-05/1.321, allocations: 350 kB / 0.8131 GB, free: 275.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004614/1.321, allocations: 297 kB / 0.8134 GB, free: 275.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/1.322, allocations: 402.9 kB / 0.8138 GB, free: 275.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/1.322, allocations: 346.1 kB / 0.8141 GB, free: 275.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.322, allocations: 1.344 kB / 0.8141 GB, free: 275.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001346/1.324, allocations: 0.8195 MB / 0.8149 GB, free: 275.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.324, allocations: 6.25 kB / 0.8149 GB, free: 275.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.324, allocations: 5.469 kB / 0.8149 GB, free: 275.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002486/1.324, allocations: 64.39 kB / 0.815 GB, free: 275.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006673/1.325, allocations: 147.6 kB / 0.8151 GB, free: 275 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08132/1.406, allocations: 25.08 MB / 0.8396 GB, free: 257.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/1.407, allocations: 59.86 kB / 0.8397 GB, free: 257.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/1.407, allocations: 16 kB / 0.8397 GB, free: 257.2 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.0002523/1.407, allocations: 189.3 kB / 0.8399 GB, free: 257 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/1.407, allocations: 51.39 kB / 0.8399 GB, free: 257 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/1.409, allocations: 1.739 MB / 0.8416 GB, free: 255.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/1.409, allocations: 10.27 kB / 0.8416 GB, free: 255.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.409, allocations: 4 kB / 0.8416 GB, free: 255.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001212/1.41, allocations: 1.324 MB / 0.8429 GB, free: 253.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/1.412, allocations: 1.774 MB / 0.8446 GB, free: 251.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.412, allocations: 0 / 0.8446 GB, free: 251.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/1.412, allocations: 79.89 kB / 0.8447 GB, free: 251.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003463/1.413, allocations: 175.9 kB / 0.8449 GB, free: 251.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/1.413, allocations: 15.27 kB / 0.8449 GB, free: 251.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/1.414, allocations: 2.475 MB / 0.8473 GB, free: 249 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.414, allocations: 0 / 0.8473 GB, free: 249 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/1.415, allocations: 1.421 MB / 0.8487 GB, free: 247.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/1.415, allocations: 132.5 kB / 0.8488 GB, free: 247.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.063e-05/1.415, allocations: 11.98 kB / 0.8488 GB, free: 247.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/1.416, allocations: 51.88 kB / 0.8489 GB, free: 247.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/1.416, allocations: 43.86 kB / 0.8489 GB, free: 247.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/1.416, allocations: 15.98 kB / 0.8489 GB, free: 247.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001883/1.416, allocations: 219.1 kB / 0.8492 GB, free: 247.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.416, allocations: 3.938 kB / 0.8492 GB, free: 247.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007464/1.424, allocations: 3.183 MB / 0.8523 GB, free: 244.3 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.01421/1.438, allocations: 4.139 MB / 0.8563 GB, free: 240.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001959/1.44, allocations: 1.04 MB / 0.8573 GB, free: 239.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.44, allocations: 2.297 kB / 0.8573 GB, free: 239.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006818/1.441, allocations: 0.5188 MB / 0.8578 GB, free: 239.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/1.442, allocations: 360.5 kB / 0.8582 GB, free: 238.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/1.444, allocations: 1.42 MB / 0.8596 GB, free: 237.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/1.444, allocations: 0.8526 MB / 0.8604 GB, free: 236.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004283/1.445, allocations: 143.1 kB / 0.8605 GB, free: 236.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/1.445, allocations: 35.44 kB / 0.8606 GB, free: 236.2 MB / 0.5762 GB Notification: Performance of SimCode: time 7.91e-07/1.445, allocations: 4 kB / 0.8606 GB, free: 236.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.1236/1.568, allocations: 117.6 MB / 0.9754 GB, free: 118.4 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe 2>&1) Environment - environmentSimulation: