Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.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.R134aTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005614/0.005614, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.407/1.407, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04317/0.04317, allocations: 9.078 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.0005145/0.0005145, allocations: 20.22 kB / 339.7 MB, free: 25.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09181/0.09234, allocations: 49.2 MB / 388.9 MB, free: 8.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.3254/0.4178, allocations: 128.7 MB / 0.5055 GB, free: 7.141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3933/0.8111, allocations: 111.5 MB / 0.6144 GB, free: 1.707 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000632/0.8118, allocations: 7.688 kB / 0.6144 GB, free: 1.707 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003143/0.8149, allocations: 1.177 MB / 0.6155 GB, free: 1.699 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00418/0.8191, allocations: 1.465 MB / 0.617 GB, free: 1.684 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06733/0.8865, allocations: 24.97 MB / 0.6413 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002106/0.8886, allocations: 1.831 MB / 0.6431 GB, free: 0 / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.8888, allocations: 99.55 kB / 0.6432 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01455/0.9034, allocations: 8.402 MB / 0.6514 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004738/0.9039, allocations: 382.8 kB / 0.6518 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.575e-05/0.904, allocations: 23.48 kB / 0.6518 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05506/0.959, allocations: 31.06 MB / 0.6822 GB, free: 11.91 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002392/0.9593, allocations: 91.11 kB / 0.6822 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000504/0.9598, allocations: 303.7 kB / 0.6825 GB, free: 11.69 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03898/0.9988, allocations: 13.59 MB / 0.6958 GB, free: 1.297 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.9988, allocations: 0 / 0.6958 GB, free: 1.297 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.634e-06/0.9988, allocations: 0 / 0.6958 GB, free: 1.297 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.9989, allocations: 1.531 kB / 0.6958 GB, free: 1.297 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.005959/1.005, allocations: 2.488 MB / 0.6982 GB, free: 14.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/1.005, allocations: 8.031 kB / 0.6982 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006274/1.006, allocations: 94.14 kB / 0.6983 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/1.006, allocations: 329 kB / 0.6987 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/1.006, allocations: 32.41 kB / 0.6987 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/1.006, allocations: 38.94 kB / 0.6987 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/1.007, allocations: 0.6132 MB / 0.6993 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/1.007, allocations: 4 kB / 0.6993 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/1.007, allocations: 15.75 kB / 0.6993 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/1.007, allocations: 10.69 kB / 0.6993 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/1.009, allocations: 0.5727 MB / 0.6999 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002645/1.011, allocations: 2.567 MB / 0.7024 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/1.013, allocations: 0.5153 MB / 0.7029 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/1.013, allocations: 355.4 kB / 0.7033 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4041/1.417, allocations: 135.8 MB / 0.8359 GB, free: 259.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/1.417, allocations: 37.75 kB / 0.8359 GB, free: 259.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.495e-06/1.417, allocations: 0 / 0.8359 GB, free: 259.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.005512/1.423, allocations: 2.402 MB / 0.8383 GB, free: 258.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/1.423, allocations: 62.88 kB / 0.8383 GB, free: 258.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/1.423, allocations: 247.2 kB / 0.8386 GB, free: 258.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/1.423, allocations: 33.7 kB / 0.8386 GB, free: 258.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/1.423, allocations: 187.9 kB / 0.8388 GB, free: 258.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/1.423, allocations: 277.4 kB / 0.839 GB, free: 257.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/1.423, allocations: 60.81 kB / 0.8391 GB, free: 257.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.602e-05/1.423, allocations: 353.9 kB / 0.8394 GB, free: 257.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/1.424, allocations: 278.3 kB / 0.8397 GB, free: 257.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/1.424, allocations: 414.4 kB / 0.8401 GB, free: 257.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009926/1.425, allocations: 0.7255 MB / 0.8408 GB, free: 256.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.425, allocations: 0 / 0.8408 GB, free: 256.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001352/1.427, allocations: 0.8143 MB / 0.8416 GB, free: 256.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.427, allocations: 12.83 kB / 0.8416 GB, free: 256.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.427, allocations: 3.938 kB / 0.8416 GB, free: 256.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002456/1.427, allocations: 67.11 kB / 0.8417 GB, free: 256.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/1.428, allocations: 109.9 kB / 0.8418 GB, free: 256.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09518/1.523, allocations: 22.57 MB / 0.8638 GB, free: 238.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/1.523, allocations: 51.97 kB / 0.8639 GB, free: 238.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/1.523, allocations: 23.98 kB / 0.8639 GB, free: 238.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 prepare postOptimizeDAE: time 0.0002505/1.524, allocations: 177.8 kB / 0.8641 GB, free: 237.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/1.524, allocations: 47.38 kB / 0.8641 GB, free: 237.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/1.525, allocations: 1.572 MB / 0.8657 GB, free: 236.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/1.525, allocations: 17.78 kB / 0.8657 GB, free: 236.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.525, allocations: 0 / 0.8657 GB, free: 236.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001247/1.527, allocations: 1.172 MB / 0.8668 GB, free: 235 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/1.529, allocations: 1.614 MB / 0.8684 GB, free: 233.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.529, allocations: 0 / 0.8684 GB, free: 233.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/1.529, allocations: 92.66 kB / 0.8685 GB, free: 233.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/1.529, allocations: 55.14 kB / 0.8685 GB, free: 233.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/1.529, allocations: 8 kB / 0.8685 GB, free: 233.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000748/1.53, allocations: 1.328 MB / 0.8698 GB, free: 231.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.53, allocations: 0 / 0.8698 GB, free: 231.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/1.532, allocations: 1.223 MB / 0.871 GB, free: 230.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/1.532, allocations: 136.5 kB / 0.8712 GB, free: 230.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/1.532, allocations: 12 kB / 0.8712 GB, free: 230.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/1.532, allocations: 48.56 kB / 0.8712 GB, free: 230.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.532, allocations: 46.28 kB / 0.8713 GB, free: 230.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/1.532, allocations: 15.98 kB / 0.8713 GB, free: 230.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002027/1.533, allocations: 243.1 kB / 0.8715 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/1.533, allocations: 0 / 0.8715 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006977/1.54, allocations: 3.186 MB / 0.8746 GB, free: 227.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01366/1.553, allocations: 4.106 MB / 0.8786 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001572/1.555, allocations: 0.9606 MB / 0.8796 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.555, allocations: 192 / 0.8796 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00064/1.556, allocations: 499.3 kB / 0.88 GB, free: 222 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/1.557, allocations: 393.5 kB / 0.8804 GB, free: 221.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/1.559, allocations: 1.427 MB / 0.8818 GB, free: 220.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/1.559, allocations: 0.8566 MB / 0.8826 GB, free: 219.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003872/1.56, allocations: 163.3 kB / 0.8828 GB, free: 219.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/1.56, allocations: 39.42 kB / 0.8828 GB, free: 219.1 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/1.56, allocations: 4 kB / 0.8828 GB, free: 219.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.1193/1.679, allocations: 117.6 MB / 0.9977 GB, free: 101.4 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe 2>&1) Environment - environmentSimulation: