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.0009492/0.0009493, allocations: 100.5 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.00107/0.00107, allocations: 177.3 kB / 15.94 MB, free: 228 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.453/1.453, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04565/0.04565, allocations: 9.06 MB / 279.4 MB, free: 12.24 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.0004985/0.0004986, allocations: 12.22 kB / 339.1 MB, free: 26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08882/0.08933, allocations: 49.19 MB / 388.3 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.2754/0.3648, allocations: 106.5 MB / 494.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.08733/0.4522, allocations: 88.46 MB / 0.5695 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007191/0.4529, allocations: 7.938 kB / 0.5696 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003014/0.456, allocations: 1.125 MB / 0.5707 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00338/0.4594, allocations: 1.293 MB / 0.5719 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2992/0.7585, allocations: 22.33 MB / 0.5937 GB, free: 16.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.76, allocations: 0.7824 MB / 0.5945 GB, free: 16.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.7602, allocations: 87.22 kB / 0.5946 GB, free: 16.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01953/0.7797, allocations: 10.33 MB / 0.6047 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004201/0.7802, allocations: 266.7 kB / 0.6049 GB, free: 16.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/0.7803, allocations: 19.12 kB / 0.6049 GB, free: 16.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04822/0.8285, allocations: 24.57 MB / 0.6289 GB, free: 16.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002974/0.8288, allocations: 88 kB / 0.629 GB, free: 16.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005157/0.8294, allocations: 142.9 kB / 0.6291 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01729/0.8467, allocations: 6.386 MB / 0.6354 GB, free: 14.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.8467, allocations: 4 kB / 0.6354 GB, free: 14.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.8467, allocations: 0 / 0.6354 GB, free: 14.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.8468, allocations: 0 / 0.6354 GB, free: 14.34 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.006386/0.8532, allocations: 2.001 MB / 0.6373 GB, free: 13.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.8532, allocations: 11.58 kB / 0.6374 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006127/0.8538, allocations: 95.55 kB / 0.6374 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.8542, allocations: 320.7 kB / 0.6377 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.8543, allocations: 34.5 kB / 0.6378 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.8543, allocations: 29.25 kB / 0.6378 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.8555, allocations: 0.6125 MB / 0.6384 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.8555, allocations: 3.906 kB / 0.6384 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.8556, allocations: 13.5 kB / 0.6384 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.8556, allocations: 21.81 kB / 0.6384 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.8568, allocations: 0.5723 MB / 0.639 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002627/0.8595, allocations: 2.476 MB / 0.6414 GB, free: 26.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009289/0.8604, allocations: 0.4966 MB / 0.6419 GB, free: 26 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2412/1.102, allocations: 136.2 MB / 0.7749 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/1.102, allocations: 33.88 kB / 0.7749 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=77): time 3.427e-06/1.102, allocations: 0 / 0.7749 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.006795/1.109, allocations: 2.712 MB / 0.7776 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/1.109, allocations: 55.41 kB / 0.7776 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/1.109, allocations: 263.9 kB / 0.7779 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/1.109, allocations: 32.27 kB / 0.7779 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/1.109, allocations: 187.1 kB / 0.7781 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/1.109, allocations: 267.5 kB / 0.7784 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/1.109, allocations: 5 kB / 0.7784 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.11, allocations: 349.2 kB / 0.7787 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005254/1.11, allocations: 291.1 kB / 0.779 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/1.111, allocations: 400.2 kB / 0.7794 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005635/1.111, allocations: 338.2 kB / 0.7797 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.111, allocations: 3.984 kB / 0.7797 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001493/1.113, allocations: 0.8119 MB / 0.7805 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/1.113, allocations: 12.33 kB / 0.7805 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.113, allocations: 8 kB / 0.7805 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002628/1.113, allocations: 65.69 kB / 0.7806 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008071/1.114, allocations: 141 kB / 0.7807 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2791/1.393, allocations: 23.81 MB / 0.8039 GB, free: 310.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005719/1.394, allocations: 57.58 kB / 0.804 GB, free: 310.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/1.394, allocations: 14.88 kB / 0.804 GB, free: 310.8 MB / 0.5919 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.0002834/1.394, allocations: 190.5 kB / 0.8042 GB, free: 310.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-05/1.394, allocations: 44.98 kB / 0.8042 GB, free: 310.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/1.396, allocations: 1.741 MB / 0.8059 GB, free: 310.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/1.396, allocations: 20.91 kB / 0.806 GB, free: 310.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/1.396, allocations: 2.531 kB / 0.806 GB, free: 310.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001389/1.397, allocations: 1.32 MB / 0.8073 GB, free: 309.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/1.4, allocations: 1.783 MB / 0.809 GB, free: 309 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/1.4, allocations: 3.969 kB / 0.809 GB, free: 309 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/1.4, allocations: 89.39 kB / 0.8091 GB, free: 308.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003753/1.4, allocations: 166.6 kB / 0.8092 GB, free: 308.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/1.4, allocations: 14.98 kB / 0.8093 GB, free: 308.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/1.402, allocations: 2.471 MB / 0.8117 GB, free: 306.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.402, allocations: 0 / 0.8117 GB, free: 306.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/1.403, allocations: 1.417 MB / 0.8131 GB, free: 305.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/1.404, allocations: 139.8 kB / 0.8132 GB, free: 305.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/1.404, allocations: 8 kB / 0.8132 GB, free: 305.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/1.404, allocations: 44.55 kB / 0.8132 GB, free: 305.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.863e-05/1.404, allocations: 44.19 kB / 0.8133 GB, free: 305.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/1.404, allocations: 15.81 kB / 0.8133 GB, free: 305.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001941/1.404, allocations: 229.4 kB / 0.8135 GB, free: 305.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/1.404, allocations: 0 / 0.8135 GB, free: 305.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009575/1.414, allocations: 3.176 MB / 0.8166 GB, free: 305.2 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 (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.01675/1.431, allocations: 4.024 MB / 0.8205 GB, free: 304.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002027/1.433, allocations: 1.039 MB / 0.8216 GB, free: 303.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.433, allocations: 0 / 0.8216 GB, free: 303.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000682/1.434, allocations: 0.5143 MB / 0.8221 GB, free: 303.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/1.435, allocations: 349.4 kB / 0.8224 GB, free: 303.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/1.437, allocations: 1.419 MB / 0.8238 GB, free: 301.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/1.437, allocations: 0.8603 MB / 0.8246 GB, free: 300.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003575/1.437, allocations: 139.2 kB / 0.8247 GB, free: 300.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.266e-05/1.437, allocations: 35.44 kB / 0.8248 GB, free: 300.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.493e-06/1.437, allocations: 0 / 0.8248 GB, free: 300.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1245/1.562, allocations: 117.6 MB / 0.9396 GB, free: 182.9 MB / 0.5919 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: