Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002402/0.002402, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 207.6 MB / 231.4 MB, free: 3.418 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05301/0.05301, allocations: 9.147 MB / 292.6 MB, free: 6.215 MB / 238.1 MB " [Timeout remaining time 180] 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_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") [Timeout 660] "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.002511/0.002511, allocations: 70.39 kB / 409.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3737, allocations: 50.72 MB / 459.9 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.1819/0.5556, allocations: 142.9 MB / 0.5887 GB, free: 7.828 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.4138/0.9694, allocations: 97.96 MB / 0.6843 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007093/0.9701, allocations: 6.031 kB / 0.6844 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003409/0.9735, allocations: 1.552 MB / 0.6859 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00406/0.9776, allocations: 1.834 MB / 0.6877 GB, free: 15.89 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.09773/1.075, allocations: 31.35 MB / 0.7183 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002556/1.078, allocations: 1.422 MB / 0.7197 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002916/1.078, allocations: 88.44 kB / 0.7198 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02076/1.099, allocations: 10.12 MB / 0.7296 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007186/1.1, allocations: 395.8 kB / 0.73 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.757e-05/1.1, allocations: 44 kB / 0.7301 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08783/1.188, allocations: 36.85 MB / 0.766 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003315/1.188, allocations: 118.2 kB / 0.7662 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006839/1.189, allocations: 306.7 kB / 0.7664 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.06298/1.252, allocations: 14.6 MB / 0.7807 GB, free: 4.809 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.252, allocations: 0 / 0.7807 GB, free: 4.809 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/1.252, allocations: 0 / 0.7807 GB, free: 4.809 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.74e-05/1.252, allocations: 0 / 0.7807 GB, free: 4.809 MB / 0.545 GB 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.009032/1.261, allocations: 2.78 MB / 0.7834 GB, free: 1.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.261, allocations: 12.03 kB / 0.7834 GB, free: 1.969 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000637/1.261, allocations: 79.64 kB / 0.7835 GB, free: 1.891 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006807/1.262, allocations: 348.2 kB / 0.7838 GB, free: 1.516 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.438e-05/1.262, allocations: 24.66 kB / 0.7839 GB, free: 1.492 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/1.262, allocations: 39.98 kB / 0.7839 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/1.263, allocations: 0.5815 MB / 0.7845 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/1.263, allocations: 4 kB / 0.7845 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/1.263, allocations: 16 kB / 0.7845 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/1.263, allocations: 17.39 kB / 0.7845 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/1.265, allocations: 0.5181 MB / 0.785 GB, free: 316 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003287/1.268, allocations: 2.493 MB / 0.7874 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/1.269, allocations: 459.7 kB / 0.7879 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005322/1.27, allocations: 294.3 kB / 0.7882 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.415/1.685, allocations: 113.4 MB / 0.8989 GB, free: 223.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/1.685, allocations: 38.47 kB / 0.899 GB, free: 223.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=78): time 2.916e-06/1.685, allocations: 0 / 0.899 GB, free: 223.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=83): time 0.005982/1.691, allocations: 2.438 MB / 0.9013 GB, free: 222.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/1.691, allocations: 59.36 kB / 0.9014 GB, free: 222.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/1.691, allocations: 257.7 kB / 0.9016 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/1.691, allocations: 29.7 kB / 0.9017 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/1.691, allocations: 190 kB / 0.9019 GB, free: 221.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/1.691, allocations: 292.9 kB / 0.9021 GB, free: 221.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/1.691, allocations: 96.11 kB / 0.9022 GB, free: 221.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.917e-05/1.691, allocations: 350.6 kB / 0.9026 GB, free: 221.1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/1.692, allocations: 280.7 kB / 0.9028 GB, free: 221 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/1.692, allocations: 399.4 kB / 0.9032 GB, free: 220.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009501/1.693, allocations: 0.7075 MB / 0.9039 GB, free: 220.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.693, allocations: 0 / 0.9039 GB, free: 220.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001423/1.695, allocations: 0.8208 MB / 0.9047 GB, free: 219.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.695, allocations: 5.781 kB / 0.9047 GB, free: 219.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/1.695, allocations: 6.469 kB / 0.9047 GB, free: 219.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003248/1.695, allocations: 83 kB / 0.9048 GB, free: 219.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/1.696, allocations: 111.5 kB / 0.9049 GB, free: 219.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04755/1.743, allocations: 14.7 MB / 0.9193 GB, free: 206 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/1.744, allocations: 27.97 kB / 0.9193 GB, free: 206 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/1.744, allocations: 21.16 kB / 0.9193 GB, free: 205.9 MB / 0.6075 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 (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002753/1.744, allocations: 198.3 kB / 0.9195 GB, free: 205.7 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/1.744, allocations: 43.72 kB / 0.9195 GB, free: 205.7 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/1.746, allocations: 1.706 MB / 0.9212 GB, free: 203.9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/1.746, allocations: 22.53 kB / 0.9212 GB, free: 203.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.746, allocations: 0 / 0.9212 GB, free: 203.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001227/1.747, allocations: 1.262 MB / 0.9225 GB, free: 202.6 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/1.749, allocations: 1.738 MB / 0.9242 GB, free: 200.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.749, allocations: 0 / 0.9242 GB, free: 200.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/1.749, allocations: 90.56 kB / 0.9242 GB, free: 200.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002718/1.75, allocations: 105.6 kB / 0.9243 GB, free: 200.6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/1.75, allocations: 18.45 kB / 0.9244 GB, free: 200.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/1.751, allocations: 2.095 MB / 0.9264 GB, free: 198.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.751, allocations: 0 / 0.9264 GB, free: 198.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/1.753, allocations: 1.424 MB / 0.9278 GB, free: 196.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.662e-05/1.753, allocations: 120.8 kB / 0.9279 GB, free: 196.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/1.753, allocations: 8 kB / 0.9279 GB, free: 196.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/1.753, allocations: 27.97 kB / 0.9279 GB, free: 196.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/1.753, allocations: 49.88 kB / 0.928 GB, free: 196.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/1.753, allocations: 15.98 kB / 0.928 GB, free: 196.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001818/1.753, allocations: 223.1 kB / 0.9282 GB, free: 196.4 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/1.753, allocations: 0 / 0.9282 GB, free: 196.4 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.008108/1.761, allocations: 3.037 MB / 0.9312 GB, free: 193.9 MB / 0.6075 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.T) * Number of discrete variables: 10 ($cse11.phase,$cse12.phase,$cse14.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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01351/1.775, allocations: 3.891 MB / 0.935 GB, free: 190.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002003/1.777, allocations: 1.001 MB / 0.936 GB, free: 189.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.777, allocations: 0 / 0.936 GB, free: 189.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007334/1.778, allocations: 0.5242 MB / 0.9365 GB, free: 188.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/1.779, allocations: 401.8 kB / 0.9369 GB, free: 188.4 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/1.781, allocations: 1.227 MB / 0.9381 GB, free: 187.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/1.781, allocations: 0.8569 MB / 0.9389 GB, free: 186.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003423/1.781, allocations: 134.5 kB / 0.939 GB, free: 186.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.632e-05/1.782, allocations: 35.44 kB / 0.9391 GB, free: 186.2 MB / 0.6075 GB Notification: Performance of SimCode: time 9.52e-07/1.782, allocations: 0 / 0.9391 GB, free: 186.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.1121/1.894, allocations: 112.6 MB / 1.049 GB, free: 73.55 MB / 0.6075 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.124743123538792]