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.001358/0.001358, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.0103/0.0103, allocations: 173.8 kB / 16.27 MB, free: 6.613 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.777/1.777, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04824/0.04824, allocations: 9.071 MB / 279.8 MB, free: 12.15 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.000526/0.000526, allocations: 12.22 kB / 339.7 MB, free: 25.63 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1047, allocations: 49.18 MB / 388.9 MB, free: 8.406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.3536/0.4584, allocations: 142.3 MB / 0.5187 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3845/0.843, allocations: 98.11 MB / 0.6146 GB, free: 1.836 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000649/0.8437, allocations: 6.312 kB / 0.6146 GB, free: 1.836 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003005/0.8467, allocations: 1.168 MB / 0.6157 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003731/0.8505, allocations: 1.469 MB / 0.6171 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07407/0.9245, allocations: 25.16 MB / 0.6417 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002092/0.9266, allocations: 1.824 MB / 0.6435 GB, free: 168 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.9269, allocations: 98.56 kB / 0.6436 GB, free: 144 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01631/0.9432, allocations: 9.389 MB / 0.6528 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007482/0.944, allocations: 387.2 kB / 0.6531 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.586e-05/0.9441, allocations: 20.34 kB / 0.6531 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05296/0.997, allocations: 28.18 MB / 0.6807 GB, free: 12.85 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.9974, allocations: 100.6 kB / 0.6808 GB, free: 12.8 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006159/0.998, allocations: 308.5 kB / 0.6811 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04443/1.042, allocations: 12.21 MB / 0.693 GB, free: 3.23 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.042, allocations: 1.938 kB / 0.693 GB, free: 3.23 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.054e-06/1.042, allocations: 0 / 0.693 GB, free: 3.23 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/1.042, allocations: 0 / 0.693 GB, free: 3.23 MB / 478.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.007596/1.05, allocations: 2.207 MB / 0.6951 GB, free: 1.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.05, allocations: 8.031 kB / 0.6951 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006114/1.051, allocations: 87.3 kB / 0.6952 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/1.051, allocations: 333.7 kB / 0.6955 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.218e-05/1.051, allocations: 32.09 kB / 0.6956 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/1.051, allocations: 29.5 kB / 0.6956 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/1.052, allocations: 0.6024 MB / 0.6962 GB, free: 196 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/1.053, allocations: 1.641 kB / 0.6962 GB, free: 196 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/1.053, allocations: 19.48 kB / 0.6962 GB, free: 188 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/1.053, allocations: 14.67 kB / 0.6962 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/1.054, allocations: 0.5498 MB / 0.6968 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/1.056, allocations: 2.504 MB / 0.6992 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/1.058, allocations: 0.5152 MB / 0.6997 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/1.058, allocations: 354 kB / 0.7001 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4107/1.469, allocations: 119.3 MB / 0.8165 GB, free: 280.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/1.469, allocations: 37.41 kB / 0.8166 GB, free: 280.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 5.41e-06/1.469, allocations: 0.5 kB / 0.8166 GB, free: 280.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.006968/1.476, allocations: 2.476 MB / 0.819 GB, free: 280 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/1.476, allocations: 58.95 kB / 0.819 GB, free: 279.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/1.476, allocations: 257.9 kB / 0.8193 GB, free: 279.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/1.476, allocations: 35.11 kB / 0.8193 GB, free: 279.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/1.476, allocations: 183.9 kB / 0.8195 GB, free: 279.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/1.477, allocations: 267.6 kB / 0.8197 GB, free: 279.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.37e-05/1.477, allocations: 56.97 kB / 0.8198 GB, free: 279.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.477, allocations: 352.1 kB / 0.8201 GB, free: 279.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005739/1.478, allocations: 289.3 kB / 0.8204 GB, free: 279 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006154/1.478, allocations: 416.4 kB / 0.8208 GB, free: 278.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/1.479, allocations: 0.7209 MB / 0.8215 GB, free: 278.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.479, allocations: 6.266 kB / 0.8215 GB, free: 278.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001671/1.481, allocations: 0.8286 MB / 0.8223 GB, free: 277.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/1.481, allocations: 12.91 kB / 0.8223 GB, free: 277.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.481, allocations: 4.125 kB / 0.8223 GB, free: 277.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005446/1.482, allocations: 108.7 kB / 0.8224 GB, free: 277.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/1.482, allocations: 117.6 kB / 0.8226 GB, free: 277.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09879/1.581, allocations: 24.62 MB / 0.8466 GB, free: 259.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000617/1.582, allocations: 51.69 kB / 0.8467 GB, free: 259.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.319e-05/1.582, allocations: 20 kB / 0.8467 GB, free: 259.4 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.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.0003524/1.582, allocations: 197 kB / 0.8469 GB, free: 259.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/1.582, allocations: 47.44 kB / 0.8469 GB, free: 259.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/1.584, allocations: 1.723 MB / 0.8486 GB, free: 257.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/1.584, allocations: 14.2 kB / 0.8486 GB, free: 257.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.584, allocations: 4 kB / 0.8486 GB, free: 257.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001362/1.586, allocations: 1.291 MB / 0.8499 GB, free: 255.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/1.588, allocations: 1.777 MB / 0.8516 GB, free: 254.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.588, allocations: 0 / 0.8516 GB, free: 254.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000318/1.588, allocations: 83.88 kB / 0.8517 GB, free: 254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004242/1.589, allocations: 207.8 kB / 0.8519 GB, free: 253.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/1.589, allocations: 8 kB / 0.8519 GB, free: 253.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/1.59, allocations: 2.491 MB / 0.8543 GB, free: 251.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/1.59, allocations: 0 / 0.8543 GB, free: 251.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/1.592, allocations: 1.483 MB / 0.8558 GB, free: 249.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/1.592, allocations: 147.6 kB / 0.8559 GB, free: 249.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/1.592, allocations: 7.938 kB / 0.8559 GB, free: 249.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/1.593, allocations: 44.03 kB / 0.856 GB, free: 249.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/1.593, allocations: 50.16 kB / 0.856 GB, free: 249.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/1.593, allocations: 16 kB / 0.856 GB, free: 249.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000197/1.593, allocations: 219.1 kB / 0.8562 GB, free: 249.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.593, allocations: 0 / 0.8562 GB, free: 249.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007378/1.601, allocations: 2.901 MB / 0.8591 GB, free: 246.6 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 (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.01519/1.616, allocations: 3.726 MB / 0.8627 GB, free: 243.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002061/1.618, allocations: 1.027 MB / 0.8637 GB, free: 242.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.618, allocations: 0 / 0.8637 GB, free: 242.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008126/1.619, allocations: 0.529 MB / 0.8642 GB, free: 241.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/1.621, allocations: 387.1 kB / 0.8646 GB, free: 241.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/1.623, allocations: 1.459 MB / 0.866 GB, free: 239.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/1.623, allocations: 0.8526 MB / 0.8668 GB, free: 239 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004758/1.624, allocations: 113.5 kB / 0.867 GB, free: 238.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.848e-05/1.624, allocations: 39.44 kB / 0.867 GB, free: 238.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/1.624, allocations: 0 / 0.867 GB, free: 238.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.1286/1.752, allocations: 113.7 MB / 0.978 GB, free: 124.9 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: