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.001309/0.001309, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00147/0.00147, allocations: 190.2 kB / 16.13 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.297/1.297, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04145/0.04145, allocations: 9.097 MB / 278.4 MB, free: 12.36 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.001167/0.001167, allocations: 56.48 kB / 337.3 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07671/0.07789, allocations: 48.17 MB / 385.5 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.2913/0.3693, allocations: 130.3 MB / 0.5037 GB, free: 4.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3357/0.705, allocations: 112.8 MB / 0.6139 GB, free: 1.129 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005491/0.7056, allocations: 6.25 kB / 0.6139 GB, free: 1.129 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002874/0.7085, allocations: 1.176 MB / 0.615 GB, free: 1.125 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003454/0.712, allocations: 1.464 MB / 0.6165 GB, free: 1.113 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06291/0.7749, allocations: 24.79 MB / 0.6407 GB, free: 20 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00261/0.7776, allocations: 1.888 MB / 0.6425 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.7778, allocations: 95.86 kB / 0.6426 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01617/0.794, allocations: 9.735 MB / 0.6521 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005405/0.7946, allocations: 389.2 kB / 0.6525 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.038e-05/0.7946, allocations: 22.31 kB / 0.6525 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05123/0.8459, allocations: 30.64 MB / 0.6824 GB, free: 7.871 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.8462, allocations: 101.9 kB / 0.6825 GB, free: 7.801 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006035/0.8468, allocations: 294 kB / 0.6828 GB, free: 7.578 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04579/0.8926, allocations: 13.5 MB / 0.696 GB, free: 11.63 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.8927, allocations: 4 kB / 0.696 GB, free: 11.63 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.8927, allocations: 0 / 0.696 GB, free: 11.63 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.8927, allocations: 3.375 kB / 0.696 GB, free: 11.63 MB / 494.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.006563/0.8993, allocations: 2.574 MB / 0.6985 GB, free: 9.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.8993, allocations: 8.031 kB / 0.6985 GB, free: 9.004 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006143/0.9, allocations: 87.33 kB / 0.6986 GB, free: 8.918 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.9004, allocations: 336 kB / 0.6989 GB, free: 8.555 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.9004, allocations: 28.66 kB / 0.699 GB, free: 8.527 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.9005, allocations: 40 kB / 0.699 GB, free: 8.488 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.9017, allocations: 0.5968 MB / 0.6996 GB, free: 7.879 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.9017, allocations: 7.938 kB / 0.6996 GB, free: 7.871 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.9017, allocations: 16 kB / 0.6996 GB, free: 7.855 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.9018, allocations: 14.19 kB / 0.6996 GB, free: 7.844 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.903, allocations: 0.5519 MB / 0.7001 GB, free: 7.301 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.9054, allocations: 2.455 MB / 0.7025 GB, free: 4.648 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009999/0.9064, allocations: 0.4959 MB / 0.703 GB, free: 4.145 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.907, allocations: 335.1 kB / 0.7034 GB, free: 3.812 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3925/1.299, allocations: 139 MB / 0.8391 GB, free: 254.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/1.3, allocations: 34.56 kB / 0.8391 GB, free: 254.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 3.046e-06/1.3, allocations: 0 / 0.8391 GB, free: 254.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.005518/1.305, allocations: 2.341 MB / 0.8414 GB, free: 252.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/1.305, allocations: 63.11 kB / 0.8414 GB, free: 252.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/1.305, allocations: 260.9 kB / 0.8417 GB, free: 252.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/1.305, allocations: 29.7 kB / 0.8417 GB, free: 252.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/1.306, allocations: 199.5 kB / 0.8419 GB, free: 252.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/1.306, allocations: 258 kB / 0.8422 GB, free: 252.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/1.306, allocations: 97.39 kB / 0.8423 GB, free: 252.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.629e-05/1.306, allocations: 354.2 kB / 0.8426 GB, free: 251.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/1.306, allocations: 282.4 kB / 0.8429 GB, free: 251.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004819/1.307, allocations: 387.8 kB / 0.8432 GB, free: 251.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008836/1.308, allocations: 0.6966 MB / 0.8439 GB, free: 251 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.308, allocations: 1.688 kB / 0.8439 GB, free: 251 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001243/1.309, allocations: 0.8013 MB / 0.8447 GB, free: 250.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.309, allocations: 10.09 kB / 0.8447 GB, free: 250.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.309, allocations: 0 / 0.8447 GB, free: 250.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002304/1.309, allocations: 61.42 kB / 0.8448 GB, free: 250.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/1.31, allocations: 145 kB / 0.8449 GB, free: 250.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08728/1.397, allocations: 23.9 MB / 0.8682 GB, free: 227.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004364/1.398, allocations: 47.81 kB / 0.8683 GB, free: 227.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/1.398, allocations: 16 kB / 0.8683 GB, free: 227.8 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.0002256/1.398, allocations: 200.8 kB / 0.8685 GB, free: 227.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.436e-05/1.398, allocations: 43.44 kB / 0.8685 GB, free: 227.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/1.4, allocations: 1.71 MB / 0.8702 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/1.4, allocations: 15.58 kB / 0.8702 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/1.4, allocations: 0 / 0.8702 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001177/1.401, allocations: 1.296 MB / 0.8715 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/1.403, allocations: 1.754 MB / 0.8732 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/1.403, allocations: 0 / 0.8732 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/1.403, allocations: 75.88 kB / 0.8733 GB, free: 222.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003158/1.403, allocations: 174 kB / 0.8734 GB, free: 222.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/1.403, allocations: 16.56 kB / 0.8734 GB, free: 222.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/1.404, allocations: 2.457 MB / 0.8758 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.404, allocations: 0 / 0.8758 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/1.406, allocations: 1.384 MB / 0.8772 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.702e-05/1.406, allocations: 120.5 kB / 0.8773 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/1.406, allocations: 14.81 kB / 0.8773 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/1.407, allocations: 36.03 kB / 0.8774 GB, free: 218 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/1.407, allocations: 39.92 kB / 0.8774 GB, free: 218 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/1.407, allocations: 15.98 kB / 0.8774 GB, free: 218 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001657/1.407, allocations: 227.1 kB / 0.8776 GB, free: 217.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/1.407, allocations: 0 / 0.8776 GB, free: 217.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00682/1.414, allocations: 3.178 MB / 0.8807 GB, free: 215 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.01343/1.427, allocations: 4.04 MB / 0.8847 GB, free: 211.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00192/1.429, allocations: 1.025 MB / 0.8857 GB, free: 210.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.429, allocations: 4 kB / 0.8857 GB, free: 210.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006687/1.43, allocations: 0.4994 MB / 0.8862 GB, free: 209.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/1.432, allocations: 414.1 kB / 0.8866 GB, free: 209.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/1.433, allocations: 1.415 MB / 0.888 GB, free: 208 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/1.433, allocations: 0.8488 MB / 0.8888 GB, free: 207.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003943/1.434, allocations: 146.4 kB / 0.8889 GB, free: 207 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.308e-05/1.434, allocations: 39.44 kB / 0.889 GB, free: 206.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/1.434, allocations: 0 / 0.889 GB, free: 206.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.1154/1.549, allocations: 118.5 MB / 1.005 GB, free: 88.26 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.makefile (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)