Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.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.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001334/0.001334, allocations: 172.7 kB / 15.95 MB, free: 208 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.694/1.694, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04281/0.04281, allocations: 9.075 MB / 279.5 MB, free: 12.12 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.0005197/0.0005199, allocations: 16 kB / 339.1 MB, free: 25.98 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1006, allocations: 49.2 MB / 388.3 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.3611/0.4618, allocations: 132.4 MB / 0.5086 GB, free: 3.723 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3718/0.8337, allocations: 91.39 MB / 0.5978 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007919/0.8345, allocations: 4.906 kB / 0.5978 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003193/0.8377, allocations: 1.068 MB / 0.5989 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004049/0.8418, allocations: 1.329 MB / 0.6002 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07596/0.9177, allocations: 22.63 MB / 0.6223 GB, free: 9.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002275/0.92, allocations: 1.581 MB / 0.6238 GB, free: 9.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/0.9203, allocations: 91.94 kB / 0.6239 GB, free: 9.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01662/0.9369, allocations: 9.782 MB / 0.6334 GB, free: 8.719 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005023/0.9375, allocations: 359 kB / 0.6338 GB, free: 8.594 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.481e-05/0.9375, allocations: 24.03 kB / 0.6338 GB, free: 8.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05292/0.9905, allocations: 25.14 MB / 0.6584 GB, free: 13.19 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.9908, allocations: 95.39 kB / 0.6585 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003945/0.9912, allocations: 147.6 kB / 0.6586 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01854/1.01, allocations: 7.492 MB / 0.6659 GB, free: 7.016 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.01, allocations: 0 / 0.6659 GB, free: 7.016 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.286e-06/1.01, allocations: 4 kB / 0.6659 GB, free: 7.012 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/1.01, allocations: 0 / 0.6659 GB, free: 7.012 MB / 462.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.007284/1.017, allocations: 2.204 MB / 0.6681 GB, free: 4.852 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/1.017, allocations: 12.03 kB / 0.6681 GB, free: 4.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005702/1.018, allocations: 89.56 kB / 0.6682 GB, free: 4.758 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/1.018, allocations: 326.1 kB / 0.6685 GB, free: 4.449 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/1.018, allocations: 29.09 kB / 0.6685 GB, free: 4.434 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/1.018, allocations: 38.84 kB / 0.6685 GB, free: 4.406 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/1.019, allocations: 0.5989 MB / 0.6691 GB, free: 3.977 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/1.019, allocations: 3.938 kB / 0.6691 GB, free: 3.973 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/1.019, allocations: 16.25 kB / 0.6691 GB, free: 3.969 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/1.02, allocations: 16.2 kB / 0.6692 GB, free: 3.957 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/1.021, allocations: 0.5401 MB / 0.6697 GB, free: 3.582 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/1.023, allocations: 2.506 MB / 0.6721 GB, free: 1.266 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009648/1.024, allocations: 0.5127 MB / 0.6726 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005073/1.025, allocations: 349.9 kB / 0.673 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4083/1.433, allocations: 119.3 MB / 0.7894 GB, free: 296.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/1.433, allocations: 40.36 kB / 0.7895 GB, free: 296.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.805e-06/1.433, allocations: 3.609 kB / 0.7895 GB, free: 296.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.006332/1.439, allocations: 2.469 MB / 0.7919 GB, free: 296.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/1.439, allocations: 59.7 kB / 0.7919 GB, free: 296.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/1.44, allocations: 251.8 kB / 0.7922 GB, free: 296.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/1.44, allocations: 33.56 kB / 0.7922 GB, free: 296 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/1.44, allocations: 192.7 kB / 0.7924 GB, free: 295.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/1.44, allocations: 265.1 kB / 0.7927 GB, free: 295.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/1.44, allocations: 7.531 kB / 0.7927 GB, free: 295.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.107e-05/1.44, allocations: 359.7 kB / 0.793 GB, free: 295.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004852/1.441, allocations: 278.5 kB / 0.7933 GB, free: 295.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005677/1.441, allocations: 409.5 kB / 0.7937 GB, free: 295.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/1.442, allocations: 334.5 kB / 0.794 GB, free: 295.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/1.442, allocations: 0 / 0.794 GB, free: 295.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001443/1.443, allocations: 0.8221 MB / 0.7948 GB, free: 295.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.443, allocations: 8.781 kB / 0.7948 GB, free: 295.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.443, allocations: 5.156 kB / 0.7948 GB, free: 295.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005421/1.444, allocations: 121.2 kB / 0.7949 GB, free: 295.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004974/1.444, allocations: 113.9 kB / 0.795 GB, free: 295.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08689/1.531, allocations: 24.64 MB / 0.8191 GB, free: 281.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006005/1.532, allocations: 58.61 kB / 0.8191 GB, free: 281.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/1.532, allocations: 17.12 kB / 0.8192 GB, free: 281.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.state.phase,ambient.medium.sat.liq.phase,ambient.medium.sat.vap.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * 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): 2 * 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: 2 {1,2} * 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.0003058/1.532, allocations: 188 kB / 0.8193 GB, free: 281.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.607e-05/1.532, allocations: 47.94 kB / 0.8194 GB, free: 281.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/1.534, allocations: 1.73 MB / 0.8211 GB, free: 280 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/1.534, allocations: 16.59 kB / 0.8211 GB, free: 280 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/1.534, allocations: 0 / 0.8211 GB, free: 280 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001192/1.535, allocations: 1.295 MB / 0.8224 GB, free: 278.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/1.537, allocations: 1.769 MB / 0.8241 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.537, allocations: 0 / 0.8241 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/1.538, allocations: 79.89 kB / 0.8242 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000365/1.538, allocations: 212.6 kB / 0.8244 GB, free: 276.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/1.538, allocations: 7.984 kB / 0.8244 GB, free: 276.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/1.539, allocations: 2.483 MB / 0.8268 GB, free: 273.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.539, allocations: 3.953 kB / 0.8268 GB, free: 273.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/1.541, allocations: 1.479 MB / 0.8282 GB, free: 272.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/1.541, allocations: 140.3 kB / 0.8284 GB, free: 272.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/1.541, allocations: 11.95 kB / 0.8284 GB, free: 272.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/1.541, allocations: 42.33 kB / 0.8284 GB, free: 272.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.522e-05/1.541, allocations: 47.92 kB / 0.8285 GB, free: 272 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/1.542, allocations: 17.55 kB / 0.8285 GB, free: 272 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000179/1.542, allocations: 219.1 kB / 0.8287 GB, free: 271.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.542, allocations: 4 kB / 0.8287 GB, free: 271.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008091/1.55, allocations: 2.899 MB / 0.8315 GB, free: 269.3 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: 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,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0151/1.565, allocations: 3.727 MB / 0.8352 GB, free: 265.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002231/1.567, allocations: 1.027 MB / 0.8362 GB, free: 264.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.567, allocations: 0 / 0.8362 GB, free: 264.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007032/1.568, allocations: 0.531 MB / 0.8367 GB, free: 264.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/1.57, allocations: 324.2 kB / 0.837 GB, free: 264 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/1.571, allocations: 1.418 MB / 0.8384 GB, free: 262.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/1.571, allocations: 0.8525 MB / 0.8392 GB, free: 261.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003592/1.572, allocations: 107.2 kB / 0.8393 GB, free: 261.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.529e-05/1.572, allocations: 35.44 kB / 0.8394 GB, free: 261.6 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/1.572, allocations: 3.562 kB / 0.8394 GB, free: 261.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.1227/1.695, allocations: 112.9 MB / 0.9497 GB, free: 148.5 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe 2>&1) Environment - environmentSimulation: