Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 103.4 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.001307/0.001307, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.452/1.452, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04181/0.04181, allocations: 9.079 MB / 278.5 MB, free: 12.34 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.001346/0.001346, allocations: 72.39 kB / 337.5 MB, free: 25.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0821/0.08346, allocations: 48.16 MB / 385.7 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.292/0.3755, allocations: 141.6 MB / 0.5149 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3098/0.6853, allocations: 97.49 MB / 0.6101 GB, free: 280 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005643/0.6859, allocations: 7.812 kB / 0.6101 GB, free: 276 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002782/0.6888, allocations: 1.28 MB / 0.6113 GB, free: 268 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003287/0.6921, allocations: 1.561 MB / 0.6129 GB, free: 252 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06571/0.7578, allocations: 26.68 MB / 0.6389 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001857/0.7597, allocations: 1.415 MB / 0.6403 GB, free: 15.33 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.76, allocations: 128.9 kB / 0.6404 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01474/0.7747, allocations: 10.02 MB / 0.6502 GB, free: 11.65 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005396/0.7753, allocations: 388.8 kB / 0.6506 GB, free: 11.4 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.387e-05/0.7754, allocations: 44 kB / 0.6506 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04758/0.8229, allocations: 29.2 MB / 0.6791 GB, free: 7.516 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002908/0.8233, allocations: 125.2 kB / 0.6793 GB, free: 7.445 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007225/0.824, allocations: 303.2 kB / 0.6796 GB, free: 7.23 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03819/0.8622, allocations: 11.95 MB / 0.6912 GB, free: 12.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.8623, allocations: 0 / 0.6912 GB, free: 12.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.8623, allocations: 4 kB / 0.6912 GB, free: 12.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.8623, allocations: 0 / 0.6912 GB, free: 12.57 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.005743/0.868, allocations: 2.139 MB / 0.6933 GB, free: 10.39 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.8681, allocations: 12.03 kB / 0.6933 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005355/0.8686, allocations: 79.41 kB / 0.6934 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.8691, allocations: 332 kB / 0.6937 GB, free: 9.938 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.8691, allocations: 24.66 kB / 0.6938 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.8692, allocations: 39.98 kB / 0.6938 GB, free: 9.875 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.8704, allocations: 0.5805 MB / 0.6944 GB, free: 9.281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.8704, allocations: 3.906 kB / 0.6944 GB, free: 9.277 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.8705, allocations: 23.31 kB / 0.6944 GB, free: 9.258 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.8705, allocations: 10.97 kB / 0.6944 GB, free: 9.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.8716, allocations: 0.5174 MB / 0.6949 GB, free: 8.738 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.8741, allocations: 2.483 MB / 0.6973 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.8752, allocations: 0.4888 MB / 0.6978 GB, free: 5.547 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/0.8757, allocations: 330.8 kB / 0.6981 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3541/1.23, allocations: 113.3 MB / 0.8087 GB, free: 310.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/1.23, allocations: 36.91 kB / 0.8088 GB, free: 310.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.565e-06/1.23, allocations: 0 / 0.8088 GB, free: 310.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.006038/1.236, allocations: 2.64 MB / 0.8113 GB, free: 309.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/1.236, allocations: 56.22 kB / 0.8114 GB, free: 309.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/1.236, allocations: 261.9 kB / 0.8116 GB, free: 309.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/1.236, allocations: 31.33 kB / 0.8117 GB, free: 309.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/1.236, allocations: 192.5 kB / 0.8118 GB, free: 309 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/1.236, allocations: 262.3 kB / 0.8121 GB, free: 308.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/1.237, allocations: 109.8 kB / 0.8122 GB, free: 308.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.702e-05/1.237, allocations: 357.5 kB / 0.8125 GB, free: 308.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004833/1.237, allocations: 278.8 kB / 0.8128 GB, free: 308.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/1.238, allocations: 406.3 kB / 0.8132 GB, free: 308.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009973/1.239, allocations: 0.7013 MB / 0.8139 GB, free: 307.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/1.239, allocations: 2.188 kB / 0.8139 GB, free: 307.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001563/1.24, allocations: 0.8215 MB / 0.8147 GB, free: 307.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.24, allocations: 6.906 kB / 0.8147 GB, free: 307.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.24, allocations: 4.438 kB / 0.8147 GB, free: 307.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007955/1.241, allocations: 152.3 kB / 0.8148 GB, free: 307.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005682/1.242, allocations: 120 kB / 0.815 GB, free: 307.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/1.243, allocations: 3.756 MB / 0.8186 GB, free: 303.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003966/1.244, allocations: 44.56 kB / 0.8187 GB, free: 303.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/1.244, allocations: 18.59 kB / 0.8187 GB, free: 303.5 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): 39 * 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, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002243/1.244, allocations: 185.6 kB / 0.8189 GB, free: 303.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/1.244, allocations: 44.23 kB / 0.8189 GB, free: 303.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/1.246, allocations: 1.683 MB / 0.8205 GB, free: 302.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/1.246, allocations: 14.22 kB / 0.8206 GB, free: 302.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/1.246, allocations: 0 / 0.8206 GB, free: 302.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001295/1.247, allocations: 1.252 MB / 0.8218 GB, free: 301.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/1.249, allocations: 1.728 MB / 0.8235 GB, free: 300.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.249, allocations: 1.062 kB / 0.8235 GB, free: 300.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/1.25, allocations: 78.48 kB / 0.8235 GB, free: 300.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005747/1.25, allocations: 251.6 kB / 0.8238 GB, free: 300.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/1.25, allocations: 13.91 kB / 0.8238 GB, free: 300.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007756/1.251, allocations: 1.775 MB / 0.8255 GB, free: 298.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.251, allocations: 1.438 kB / 0.8255 GB, free: 298.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/1.253, allocations: 1.458 MB / 0.827 GB, free: 298.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/1.253, allocations: 118.5 kB / 0.8271 GB, free: 298.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/1.253, allocations: 9.812 kB / 0.8271 GB, free: 298.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/1.253, allocations: 44.95 kB / 0.8271 GB, free: 298.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.254, allocations: 43.31 kB / 0.8272 GB, free: 298.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/1.254, allocations: 18.83 kB / 0.8272 GB, free: 298 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001755/1.254, allocations: 217.5 kB / 0.8274 GB, free: 297.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.254, allocations: 0 / 0.8274 GB, free: 297.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00474/1.259, allocations: 1.977 MB / 0.8293 GB, free: 297.8 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.d,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse2.phase,$cse3.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 (35): * Single equations (assignments): 29 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00939/1.268, allocations: 2.811 MB / 0.8321 GB, free: 297.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002248/1.27, allocations: 0.8981 MB / 0.8329 GB, free: 296.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.27, allocations: 0 / 0.8329 GB, free: 296.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006739/1.271, allocations: 439.1 kB / 0.8334 GB, free: 296.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/1.273, allocations: 392.8 kB / 0.8337 GB, free: 296.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/1.275, allocations: 1.4 MB / 0.8351 GB, free: 295.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/1.275, allocations: 0.8446 MB / 0.8359 GB, free: 294.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004163/1.276, allocations: 86.83 kB / 0.836 GB, free: 294.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.955e-05/1.276, allocations: 36.72 kB / 0.836 GB, free: 294.6 MB / 0.5919 GB Notification: Performance of SimCode: time 3.727e-06/1.276, allocations: 0 / 0.836 GB, free: 294.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.06865/1.344, allocations: 71.58 MB / 0.9059 GB, free: 223.5 MB / 0.5919 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe 2>&1)