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.001034/0.001034, allocations: 89.89 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.008518/0.008518, allocations: 171.2 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.458/1.458, allocations: 205.4 MB / 222.4 MB, free: 5.809 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04384/0.04384, allocations: 9.075 MB / 279.8 MB, free: 12.38 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.0005895/0.0005896, allocations: 12.22 kB / 339.7 MB, free: 25.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08521/0.08581, allocations: 49.19 MB / 388.9 MB, free: 8.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.3045/0.3904, allocations: 128.9 MB / 0.5056 GB, free: 6.988 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.372/0.7625, allocations: 111.5 MB / 0.6146 GB, free: 1.844 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007484/0.7633, allocations: 6.812 kB / 0.6146 GB, free: 1.844 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00342/0.7667, allocations: 1.176 MB / 0.6157 GB, free: 1.836 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004471/0.7712, allocations: 1.463 MB / 0.6171 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07424/0.8454, allocations: 25.13 MB / 0.6417 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00273/0.8482, allocations: 1.826 MB / 0.6435 GB, free: 0 / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/0.8486, allocations: 99.92 kB / 0.6436 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01876/0.8673, allocations: 9.231 MB / 0.6526 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005908/0.868, allocations: 381 kB / 0.6529 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.051e-05/0.868, allocations: 18.94 kB / 0.653 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06388/0.9319, allocations: 31.36 MB / 0.6836 GB, free: 10.69 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003594/0.9323, allocations: 99.23 kB / 0.6837 GB, free: 10.64 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007139/0.9331, allocations: 307.8 kB / 0.684 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05272/0.9858, allocations: 13.61 MB / 0.6973 GB, free: 60 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.9858, allocations: 0 / 0.6973 GB, free: 60 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.9858, allocations: 0 / 0.6973 GB, free: 60 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.9859, allocations: 0 / 0.6973 GB, free: 60 kB / 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.00683/0.9927, allocations: 2.493 MB / 0.6997 GB, free: 13.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.9928, allocations: 12.03 kB / 0.6997 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006393/0.9934, allocations: 87.3 kB / 0.6998 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.9938, allocations: 334.8 kB / 0.7001 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/0.9939, allocations: 29.53 kB / 0.7001 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/0.9939, allocations: 38.42 kB / 0.7002 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.9952, allocations: 0.6105 MB / 0.7008 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.9952, allocations: 0 / 0.7008 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.9953, allocations: 19.62 kB / 0.7008 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.9953, allocations: 20.44 kB / 0.7008 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.9966, allocations: 0.5761 MB / 0.7014 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/0.9992, allocations: 2.519 MB / 0.7038 GB, free: 9.957 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/1, allocations: 0.4979 MB / 0.7043 GB, free: 9.586 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005564/1.001, allocations: 354.3 kB / 0.7046 GB, free: 9.234 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4545/1.455, allocations: 135.8 MB / 0.8373 GB, free: 258.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/1.455, allocations: 34.81 kB / 0.8373 GB, free: 258.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.875e-06/1.455, allocations: 0 / 0.8373 GB, free: 258.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.005897/1.461, allocations: 2.406 MB / 0.8397 GB, free: 257.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/1.461, allocations: 61.31 kB / 0.8397 GB, free: 257.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/1.462, allocations: 258 kB / 0.84 GB, free: 257.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/1.462, allocations: 37.45 kB / 0.84 GB, free: 257.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.888e-05/1.462, allocations: 184.8 kB / 0.8402 GB, free: 256.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/1.462, allocations: 267.6 kB / 0.8404 GB, free: 256.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/1.462, allocations: 57.41 kB / 0.8405 GB, free: 256.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.965e-05/1.462, allocations: 355.3 kB / 0.8408 GB, free: 256.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004686/1.463, allocations: 281.6 kB / 0.8411 GB, free: 256.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005119/1.463, allocations: 396.4 kB / 0.8415 GB, free: 255.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009992/1.464, allocations: 0.7161 MB / 0.8422 GB, free: 255.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.464, allocations: 0 / 0.8422 GB, free: 255.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00133/1.465, allocations: 0.8085 MB / 0.843 GB, free: 255.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.465, allocations: 11.91 kB / 0.843 GB, free: 255.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.465, allocations: 6.781 kB / 0.843 GB, free: 255.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002472/1.466, allocations: 65.39 kB / 0.843 GB, free: 255 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/1.466, allocations: 136.6 kB / 0.8432 GB, free: 255 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09587/1.562, allocations: 24.84 MB / 0.8674 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/1.563, allocations: 55.92 kB / 0.8675 GB, free: 234.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/1.563, allocations: 16 kB / 0.8675 GB, free: 234.4 MB / 0.5762 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 (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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {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.0002744/1.563, allocations: 194.2 kB / 0.8677 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.973e-05/1.563, allocations: 44.12 kB / 0.8677 GB, free: 234.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/1.565, allocations: 1.698 MB / 0.8694 GB, free: 232.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/1.565, allocations: 18.88 kB / 0.8694 GB, free: 232.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/1.565, allocations: 0 / 0.8694 GB, free: 232.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001295/1.566, allocations: 1.274 MB / 0.8706 GB, free: 231 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/1.568, allocations: 1.731 MB / 0.8723 GB, free: 229.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.568, allocations: 1.438 kB / 0.8723 GB, free: 229.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003255/1.569, allocations: 87.88 kB / 0.8724 GB, free: 229.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003208/1.569, allocations: 109.6 kB / 0.8725 GB, free: 229 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/1.569, allocations: 12 kB / 0.8725 GB, free: 229 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009421/1.57, allocations: 1.904 MB / 0.8744 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.57, allocations: 8.016 kB / 0.8744 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/1.572, allocations: 1.337 MB / 0.8757 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/1.572, allocations: 138 kB / 0.8758 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/1.572, allocations: 12 kB / 0.8758 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/1.572, allocations: 47.91 kB / 0.8759 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.572, allocations: 43.92 kB / 0.8759 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/1.572, allocations: 12 kB / 0.8759 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001846/1.573, allocations: 223 kB / 0.8762 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/1.573, allocations: 0 / 0.8762 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007181/1.58, allocations: 3.188 MB / 0.8793 GB, free: 222.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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01557/1.595, allocations: 4.124 MB / 0.8833 GB, free: 218.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001989/1.597, allocations: 1.011 MB / 0.8843 GB, free: 217.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.598, allocations: 0 / 0.8843 GB, free: 217.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007334/1.598, allocations: 0.5109 MB / 0.8848 GB, free: 217.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/1.6, allocations: 381.4 kB / 0.8851 GB, free: 216.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/1.602, allocations: 1.471 MB / 0.8866 GB, free: 215.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/1.602, allocations: 0.8487 MB / 0.8874 GB, free: 214.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004482/1.603, allocations: 148.5 kB / 0.8876 GB, free: 214.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.738e-05/1.603, allocations: 35.44 kB / 0.8876 GB, free: 214.2 MB / 0.5762 GB Notification: Performance of SimCode: time 4e-07/1.603, allocations: 0 / 0.8876 GB, free: 214.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.1302/1.733, allocations: 117.9 MB / 1.003 GB, free: 96.23 MB / 0.5762 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: