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.00103/0.00103, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001209/0.001209, allocations: 193.3 kB / 16.25 MB, free: 6.145 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.287/1.287, allocations: 205.1 MB / 222.1 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04334/0.04334, allocations: 9.084 MB / 278.5 MB, free: 12.33 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.001437/0.001437, allocations: 68.47 kB / 337.5 MB, free: 25.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07723/0.07868, allocations: 48.17 MB / 385.7 MB, free: 9.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.2655/0.3442, allocations: 128 MB / 0.5017 GB, free: 6.395 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3082/0.6524, allocations: 110.8 MB / 0.6098 GB, free: 276 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005481/0.6529, allocations: 8.344 kB / 0.6098 GB, free: 276 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002724/0.6557, allocations: 1.28 MB / 0.6111 GB, free: 268 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003099/0.6588, allocations: 1.553 MB / 0.6126 GB, free: 252 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06189/0.7207, allocations: 26.38 MB / 0.6384 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001696/0.7224, allocations: 1.404 MB / 0.6397 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.7227, allocations: 131.7 kB / 0.6399 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01423/0.7369, allocations: 10.66 MB / 0.6503 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004627/0.7374, allocations: 390.9 kB / 0.6507 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.808e-05/0.7375, allocations: 44 kB / 0.6507 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05219/0.7897, allocations: 33.78 MB / 0.6837 GB, free: 3.68 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.79, allocations: 122.2 kB / 0.6838 GB, free: 3.57 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005346/0.7905, allocations: 305.3 kB / 0.6841 GB, free: 3.273 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04321/0.8337, allocations: 13.96 MB / 0.6977 GB, free: 6.398 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.8338, allocations: 7.938 kB / 0.6977 GB, free: 6.391 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.8338, allocations: 0 / 0.6977 GB, free: 6.391 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.581e-05/0.8338, allocations: 0 / 0.6977 GB, free: 6.391 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.00604/0.8399, allocations: 2.574 MB / 0.7002 GB, free: 3.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.8399, allocations: 12.03 kB / 0.7003 GB, free: 3.758 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006565/0.8406, allocations: 83.39 kB / 0.7003 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.841, allocations: 343.9 kB / 0.7007 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.8411, allocations: 28.66 kB / 0.7007 GB, free: 3.277 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/0.8411, allocations: 32 kB / 0.7007 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.8424, allocations: 0.5991 MB / 0.7013 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.8424, allocations: 0 / 0.7013 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.8425, allocations: 16 kB / 0.7013 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.8425, allocations: 18.73 kB / 0.7013 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.8438, allocations: 0.5482 MB / 0.7019 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002958/0.8467, allocations: 2.459 MB / 0.7043 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.8478, allocations: 496 kB / 0.7047 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/0.8483, allocations: 334 kB / 0.7051 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4005/1.249, allocations: 139 MB / 0.8408 GB, free: 279.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/1.249, allocations: 34.53 kB / 0.8408 GB, free: 279.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=77): time 3.236e-06/1.249, allocations: 0 / 0.8408 GB, free: 279.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.005835/1.255, allocations: 2.345 MB / 0.8431 GB, free: 278.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/1.255, allocations: 55.38 kB / 0.8432 GB, free: 278.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/1.255, allocations: 257.1 kB / 0.8434 GB, free: 278 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/1.255, allocations: 33.48 kB / 0.8435 GB, free: 278 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.618e-05/1.255, allocations: 194.8 kB / 0.8436 GB, free: 277.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/1.255, allocations: 268.1 kB / 0.8439 GB, free: 277.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/1.256, allocations: 97.2 kB / 0.844 GB, free: 277.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.992e-05/1.256, allocations: 361.8 kB / 0.8443 GB, free: 277.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/1.256, allocations: 271.3 kB / 0.8446 GB, free: 277.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/1.257, allocations: 394.2 kB / 0.845 GB, free: 276.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009117/1.257, allocations: 0.6947 MB / 0.8456 GB, free: 276.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.257, allocations: 1.125 kB / 0.8456 GB, free: 276.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001266/1.259, allocations: 0.7982 MB / 0.8464 GB, free: 275.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.259, allocations: 10.28 kB / 0.8464 GB, free: 275.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.259, allocations: 0 / 0.8464 GB, free: 275.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002574/1.259, allocations: 56.94 kB / 0.8465 GB, free: 275.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006737/1.26, allocations: 144.5 kB / 0.8466 GB, free: 275.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08935/1.349, allocations: 24.19 MB / 0.8702 GB, free: 254.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005864/1.35, allocations: 47.91 kB / 0.8703 GB, free: 254.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.757e-05/1.35, allocations: 23.98 kB / 0.8703 GB, free: 254.4 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 (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.0003208/1.35, allocations: 184.1 kB / 0.8705 GB, free: 254.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/1.35, allocations: 39.53 kB / 0.8705 GB, free: 254.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/1.352, allocations: 1.718 MB / 0.8722 GB, free: 252.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/1.352, allocations: 18.88 kB / 0.8722 GB, free: 252.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.352, allocations: 3.938 kB / 0.8722 GB, free: 252.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001212/1.353, allocations: 1.292 MB / 0.8735 GB, free: 250.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/1.355, allocations: 1.751 MB / 0.8752 GB, free: 249.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.355, allocations: 0 / 0.8752 GB, free: 249.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/1.356, allocations: 75.89 kB / 0.8753 GB, free: 249.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002918/1.356, allocations: 166.3 kB / 0.8754 GB, free: 248.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/1.356, allocations: 12.73 kB / 0.8754 GB, free: 248.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/1.357, allocations: 2.578 MB / 0.878 GB, free: 246.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.357, allocations: 0 / 0.878 GB, free: 246.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/1.359, allocations: 1.384 MB / 0.8793 GB, free: 244.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/1.359, allocations: 112.7 kB / 0.8794 GB, free: 244.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.451e-05/1.359, allocations: 7.938 kB / 0.8794 GB, free: 244.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/1.359, allocations: 43.88 kB / 0.8795 GB, free: 244.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/1.359, allocations: 47.92 kB / 0.8795 GB, free: 244.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/1.359, allocations: 12 kB / 0.8795 GB, free: 244.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001873/1.36, allocations: 219.1 kB / 0.8797 GB, free: 244.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.61e-07/1.36, allocations: 0 / 0.8797 GB, free: 244.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007611/1.367, allocations: 3.186 MB / 0.8828 GB, free: 241.5 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 (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.01426/1.382, allocations: 4.038 MB / 0.8868 GB, free: 237.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002327/1.384, allocations: 1.047 MB / 0.8878 GB, free: 236.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.384, allocations: 4 kB / 0.8878 GB, free: 236.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006802/1.385, allocations: 0.511 MB / 0.8883 GB, free: 236.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/1.386, allocations: 386.2 kB / 0.8887 GB, free: 235.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/1.388, allocations: 1.407 MB / 0.8901 GB, free: 234.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/1.388, allocations: 0.8526 MB / 0.8909 GB, free: 233.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003941/1.389, allocations: 136.2 kB / 0.891 GB, free: 233.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/1.389, allocations: 39.44 kB / 0.8911 GB, free: 233.4 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/1.389, allocations: 3.938 kB / 0.8911 GB, free: 233.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.1173/1.506, allocations: 118.7 MB / 1.007 GB, free: 114.6 MB / 0.5919 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)