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.001034/0.001034, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00111/0.00111, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.325/1.325, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0446/0.0446, allocations: 9.081 MB / 278.5 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.001318/0.001318, allocations: 63.91 kB / 337.5 MB, free: 25.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08934/0.09067, allocations: 48.17 MB / 385.7 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.3257/0.4164, allocations: 141.6 MB / 0.5149 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3802/0.7966, allocations: 97.48 MB / 0.6101 GB, free: 280 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006406/0.7973, allocations: 6.125 kB / 0.6101 GB, free: 280 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005228/0.8026, allocations: 1.286 MB / 0.6114 GB, free: 268 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004858/0.8075, allocations: 1.553 MB / 0.6129 GB, free: 252 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.08683/0.8943, allocations: 26.68 MB / 0.6389 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002901/0.8972, allocations: 1.413 MB / 0.6403 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.8975, allocations: 135.2 kB / 0.6404 GB, free: 15.31 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01662/0.9142, allocations: 10.01 MB / 0.6502 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005159/0.9147, allocations: 393.1 kB / 0.6506 GB, free: 11.43 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.601e-05/0.9148, allocations: 40 kB / 0.6506 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05448/0.9693, allocations: 31.02 MB / 0.6809 GB, free: 6.387 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003989/0.9697, allocations: 125.3 kB / 0.681 GB, free: 6.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008533/0.9706, allocations: 308.3 kB / 0.6813 GB, free: 5.973 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04283/1.013, allocations: 12.7 MB / 0.6937 GB, free: 10.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.014, allocations: 0 / 0.6937 GB, free: 10.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/1.014, allocations: 4 kB / 0.6937 GB, free: 10.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/1.014, allocations: 0 / 0.6937 GB, free: 10.2 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.005515/1.019, allocations: 2.282 MB / 0.696 GB, free: 7.871 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/1.019, allocations: 12.03 kB / 0.696 GB, free: 7.859 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000542/1.02, allocations: 79.41 kB / 0.696 GB, free: 7.781 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/1.02, allocations: 340.5 kB / 0.6964 GB, free: 7.414 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/1.02, allocations: 32.66 kB / 0.6964 GB, free: 7.383 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.747e-05/1.02, allocations: 28 kB / 0.6964 GB, free: 7.355 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/1.021, allocations: 0.5883 MB / 0.697 GB, free: 6.754 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/1.021, allocations: 4 kB / 0.697 GB, free: 6.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/1.021, allocations: 12 kB / 0.697 GB, free: 6.738 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/1.021, allocations: 21.45 kB / 0.697 GB, free: 6.723 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/1.023, allocations: 0.5291 MB / 0.6976 GB, free: 6.199 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/1.025, allocations: 2.483 MB / 0.7 GB, free: 3.504 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/1.026, allocations: 0.4966 MB / 0.7005 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004879/1.026, allocations: 334.3 kB / 0.7008 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3649/1.391, allocations: 121.8 MB / 0.8198 GB, free: 300.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/1.391, allocations: 35.16 kB / 0.8198 GB, free: 300.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 3.126e-06/1.391, allocations: 3.969 kB / 0.8198 GB, free: 300.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.005801/1.397, allocations: 2.403 MB / 0.8221 GB, free: 299.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/1.397, allocations: 56.75 kB / 0.8222 GB, free: 299.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/1.398, allocations: 260.3 kB / 0.8224 GB, free: 299.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/1.398, allocations: 30.95 kB / 0.8225 GB, free: 299.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.552e-05/1.398, allocations: 196.9 kB / 0.8227 GB, free: 299.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/1.398, allocations: 262 kB / 0.8229 GB, free: 299.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/1.398, allocations: 97.89 kB / 0.823 GB, free: 299 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.191e-05/1.398, allocations: 349 kB / 0.8233 GB, free: 298.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004505/1.398, allocations: 278.5 kB / 0.8236 GB, free: 298.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/1.399, allocations: 386.8 kB / 0.824 GB, free: 298.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009983/1.4, allocations: 0.7011 MB / 0.8247 GB, free: 297.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.4, allocations: 3.031 kB / 0.8247 GB, free: 297.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00128/1.401, allocations: 0.8051 MB / 0.8254 GB, free: 297.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.401, allocations: 7.766 kB / 0.8255 GB, free: 297.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.401, allocations: 3.969 kB / 0.8255 GB, free: 297.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005123/1.402, allocations: 116.8 kB / 0.8256 GB, free: 297.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/1.402, allocations: 106.4 kB / 0.8257 GB, free: 297.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.089/1.491, allocations: 24.99 MB / 0.8501 GB, free: 278.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006465/1.492, allocations: 43.91 kB / 0.8501 GB, free: 278.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/1.492, allocations: 24.05 kB / 0.8501 GB, free: 278 MB / 0.5919 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.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 (47): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 2} * 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.0003713/1.492, allocations: 188.6 kB / 0.8503 GB, free: 277.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/1.493, allocations: 47.38 kB / 0.8504 GB, free: 277.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/1.494, allocations: 1.695 MB / 0.852 GB, free: 276 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/1.495, allocations: 15.84 kB / 0.852 GB, free: 276 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.495, allocations: 3.938 kB / 0.852 GB, free: 276 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001275/1.496, allocations: 1.268 MB / 0.8533 GB, free: 274.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/1.498, allocations: 1.739 MB / 0.855 GB, free: 272.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.498, allocations: 0.875 kB / 0.855 GB, free: 272.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/1.498, allocations: 75.92 kB / 0.8551 GB, free: 272.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003238/1.499, allocations: 191.1 kB / 0.8552 GB, free: 272.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/1.499, allocations: 12 kB / 0.8552 GB, free: 272.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/1.5, allocations: 2.587 MB / 0.8578 GB, free: 269.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.5, allocations: 160 / 0.8578 GB, free: 269.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/1.502, allocations: 1.459 MB / 0.8592 GB, free: 268.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/1.502, allocations: 112.6 kB / 0.8593 GB, free: 268.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/1.502, allocations: 8 kB / 0.8593 GB, free: 268.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/1.502, allocations: 39.94 kB / 0.8593 GB, free: 268.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.747e-05/1.502, allocations: 47.88 kB / 0.8594 GB, free: 268.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/1.502, allocations: 15.98 kB / 0.8594 GB, free: 268.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001781/1.502, allocations: 227.1 kB / 0.8596 GB, free: 267.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.61e-07/1.502, allocations: 0 / 0.8596 GB, free: 267.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008005/1.51, allocations: 2.902 MB / 0.8625 GB, free: 265.3 MB / 0.5919 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 (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), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01507/1.526, allocations: 3.729 MB / 0.8661 GB, free: 262 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0021/1.528, allocations: 1.011 MB / 0.8671 GB, free: 261 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.528, allocations: 0 / 0.8671 GB, free: 261 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006524/1.528, allocations: 0.5267 MB / 0.8676 GB, free: 260.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/1.53, allocations: 404 kB / 0.868 GB, free: 260 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/1.532, allocations: 1.404 MB / 0.8694 GB, free: 258.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/1.532, allocations: 0.8487 MB / 0.8702 GB, free: 257.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003577/1.532, allocations: 107.3 kB / 0.8703 GB, free: 257.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/1.532, allocations: 39.44 kB / 0.8703 GB, free: 257.6 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/1.532, allocations: 0 / 0.8703 GB, free: 257.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1124/1.645, allocations: 114.3 MB / 0.9819 GB, free: 143.1 MB / 0.5919 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.makefile (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)