Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.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.PropaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009745/0.0009745, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001074/0.001074, allocations: 177.3 kB / 15.95 MB, free: 216 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.431/1.431, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04271/0.04271, allocations: 9.061 MB / 279.4 MB, free: 12.27 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.0004893/0.0004894, allocations: 16.22 kB / 339.1 MB, free: 26.04 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08518/0.08568, allocations: 49.2 MB / 388.3 MB, free: 8.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.2914/0.3772, allocations: 106.7 MB / 495 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.08571/0.4629, allocations: 88.47 MB / 0.5698 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006896/0.4636, allocations: 7.938 kB / 0.5698 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00309/0.4667, allocations: 1.125 MB / 0.5709 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003543/0.4703, allocations: 1.301 MB / 0.5722 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2956/0.766, allocations: 22.6 MB / 0.5942 GB, free: 16.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001499/0.7675, allocations: 0.7825 MB / 0.595 GB, free: 16.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.7677, allocations: 94.77 kB / 0.5951 GB, free: 16.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01936/0.7871, allocations: 9.816 MB / 0.6047 GB, free: 16.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.7876, allocations: 268.1 kB / 0.6049 GB, free: 16.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.323e-05/0.7877, allocations: 17.31 kB / 0.6049 GB, free: 16.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04722/0.8349, allocations: 25.48 MB / 0.6298 GB, free: 16.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.8352, allocations: 92.38 kB / 0.6299 GB, free: 16.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004214/0.8356, allocations: 148 kB / 0.6301 GB, free: 16.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.8511, allocations: 6.476 MB / 0.6364 GB, free: 14.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.8511, allocations: 0 / 0.6364 GB, free: 14.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.8511, allocations: 0 / 0.6364 GB, free: 14.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.8511, allocations: 0 / 0.6364 GB, free: 14.66 MB / 446.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.00559/0.8567, allocations: 1.998 MB / 0.6383 GB, free: 13.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.8568, allocations: 8.031 kB / 0.6383 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006504/0.8574, allocations: 93.06 kB / 0.6384 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.8578, allocations: 323 kB / 0.6387 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.8579, allocations: 28.41 kB / 0.6388 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.8579, allocations: 35.12 kB / 0.6388 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.8591, allocations: 0.6119 MB / 0.6394 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.8591, allocations: 3.906 kB / 0.6394 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.8591, allocations: 13.56 kB / 0.6394 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.8592, allocations: 17.36 kB / 0.6394 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.8603, allocations: 0.5759 MB / 0.64 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.8629, allocations: 2.508 MB / 0.6424 GB, free: 25.46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009653/0.8639, allocations: 0.4993 MB / 0.6429 GB, free: 25.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2401/1.104, allocations: 136.2 MB / 0.7759 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/1.104, allocations: 36.06 kB / 0.776 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.625e-06/1.104, allocations: 0 / 0.776 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.006372/1.11, allocations: 2.718 MB / 0.7786 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/1.111, allocations: 55.41 kB / 0.7787 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/1.111, allocations: 253.4 kB / 0.7789 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/1.111, allocations: 35.52 kB / 0.7789 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/1.111, allocations: 188.5 kB / 0.7791 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/1.111, allocations: 261.7 kB / 0.7794 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.03e-05/1.111, allocations: 10.81 kB / 0.7794 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.111, allocations: 347.8 kB / 0.7797 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005007/1.112, allocations: 290.8 kB / 0.78 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005366/1.112, allocations: 390 kB / 0.7804 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/1.113, allocations: 329.3 kB / 0.7807 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.113, allocations: 3.953 kB / 0.7807 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001415/1.114, allocations: 0.8123 MB / 0.7815 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.114, allocations: 14.8 kB / 0.7815 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.114, allocations: 4 kB / 0.7815 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002504/1.115, allocations: 61.86 kB / 0.7816 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/1.115, allocations: 133.7 kB / 0.7817 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3381/1.453, allocations: 24.8 MB / 0.8059 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005318/1.454, allocations: 53.86 kB / 0.806 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/1.454, allocations: 19.19 kB / 0.806 GB, free: 183.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {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.0003161/1.454, allocations: 185.9 kB / 0.8061 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/1.455, allocations: 52.03 kB / 0.8062 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/1.456, allocations: 1.7 MB / 0.8079 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/1.457, allocations: 13.84 kB / 0.8079 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/1.457, allocations: 2.609 kB / 0.8079 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001343/1.458, allocations: 1.28 MB / 0.8091 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/1.46, allocations: 1.718 MB / 0.8108 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.46, allocations: 4 kB / 0.8108 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/1.46, allocations: 84.06 kB / 0.8109 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003156/1.461, allocations: 116 kB / 0.811 GB, free: 182 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/1.461, allocations: 12.5 kB / 0.811 GB, free: 182 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009898/1.462, allocations: 1.902 MB / 0.8129 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/1.462, allocations: 0 / 0.8129 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/1.464, allocations: 1.337 MB / 0.8142 GB, free: 180.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/1.464, allocations: 140.4 kB / 0.8143 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.857e-05/1.464, allocations: 6.594 kB / 0.8143 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/1.464, allocations: 48.84 kB / 0.8144 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/1.464, allocations: 43.39 kB / 0.8144 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/1.464, allocations: 20.31 kB / 0.8144 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001968/1.464, allocations: 222.9 kB / 0.8146 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.464, allocations: 0 / 0.8146 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008031/1.473, allocations: 3.175 MB / 0.8177 GB, free: 179.6 MB / 0.5919 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01571/1.488, allocations: 4.13 MB / 0.8218 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001945/1.49, allocations: 1.016 MB / 0.8228 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.49, allocations: 3.938 kB / 0.8228 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000735/1.491, allocations: 0.5074 MB / 0.8233 GB, free: 178.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/1.493, allocations: 328.1 kB / 0.8236 GB, free: 178.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/1.494, allocations: 1.417 MB / 0.825 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/1.495, allocations: 0.8628 MB / 0.8258 GB, free: 177 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004033/1.495, allocations: 145 kB / 0.8259 GB, free: 177 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.133e-05/1.495, allocations: 36.12 kB / 0.826 GB, free: 177 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/1.495, allocations: 2.25 kB / 0.826 GB, free: 177 MB / 0.5919 GB Notification: Performance of Templates: time 0.125/1.62, allocations: 117 MB / 0.9402 GB, free: 70.61 MB / 0.5919 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe 2>&1) Environment - environmentSimulation: