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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, 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.0023/0.0023, 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.71/1.71, allocations: 207.6 MB / 231.4 MB, free: 3.129 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.05283/0.05283, allocations: 9.159 MB / 292.6 MB, free: 6.066 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_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") [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.002222/0.002222, allocations: 70.39 kB / 409.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3723, allocations: 50.71 MB / 459.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.194/0.5663, allocations: 142.9 MB / 0.5887 GB, free: 7.812 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.447/1.013, allocations: 97.95 MB / 0.6843 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006157/1.014, allocations: 8.75 kB / 0.6844 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003145/1.017, allocations: 1.555 MB / 0.6859 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003989/1.021, allocations: 1.83 MB / 0.6877 GB, free: 15.91 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.09767/1.119, allocations: 31.35 MB / 0.7183 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002472/1.121, allocations: 1.419 MB / 0.7197 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/1.121, allocations: 94.7 kB / 0.7198 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02023/1.142, allocations: 10.13 MB / 0.7296 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008049/1.142, allocations: 396.8 kB / 0.73 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.924e-05/1.143, allocations: 44 kB / 0.7301 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06547/1.208, allocations: 31.86 MB / 0.7612 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003381/1.208, allocations: 119.1 kB / 0.7613 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006897/1.209, allocations: 304.1 kB / 0.7616 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.05057/1.26, allocations: 12.69 MB / 0.774 GB, free: 11.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.26, allocations: 0 / 0.774 GB, free: 11.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.372e-06/1.26, allocations: 0 / 0.774 GB, free: 11.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.014e-05/1.26, allocations: 4 kB / 0.774 GB, free: 11.28 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.007049/1.267, allocations: 2.372 MB / 0.7763 GB, free: 8.863 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/1.267, allocations: 12.03 kB / 0.7763 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006254/1.267, allocations: 88.5 kB / 0.7764 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/1.268, allocations: 343.8 kB / 0.7767 GB, free: 8.395 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/1.268, allocations: 32.66 kB / 0.7767 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/1.268, allocations: 28 kB / 0.7768 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/1.269, allocations: 0.5893 MB / 0.7774 GB, free: 7.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/1.269, allocations: 4 kB / 0.7774 GB, free: 7.727 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/1.269, allocations: 12 kB / 0.7774 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/1.269, allocations: 15.83 kB / 0.7774 GB, free: 7.703 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/1.271, allocations: 0.5259 MB / 0.7779 GB, free: 7.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/1.274, allocations: 2.491 MB / 0.7803 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/1.275, allocations: 478.9 kB / 0.7808 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/1.275, allocations: 294.3 kB / 0.7811 GB, free: 3.707 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4757/1.751, allocations: 121.9 MB / 0.9001 GB, free: 226.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/1.751, allocations: 38.59 kB / 0.9001 GB, free: 226.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=78): time 3.367e-06/1.751, allocations: 0 / 0.9001 GB, free: 226.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.005513/1.756, allocations: 2.41 MB / 0.9025 GB, free: 224.6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/1.756, allocations: 59.41 kB / 0.9025 GB, free: 224.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/1.757, allocations: 250.6 kB / 0.9027 GB, free: 224.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/1.757, allocations: 37.7 kB / 0.9028 GB, free: 224.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/1.757, allocations: 190.9 kB / 0.903 GB, free: 224 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/1.757, allocations: 276 kB / 0.9032 GB, free: 223.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/1.757, allocations: 105.7 kB / 0.9033 GB, free: 223.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.155e-05/1.757, allocations: 350.8 kB / 0.9037 GB, free: 223.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004113/1.758, allocations: 274.1 kB / 0.9039 GB, free: 223.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/1.758, allocations: 391.8 kB / 0.9043 GB, free: 222.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008666/1.759, allocations: 0.707 MB / 0.905 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.759, allocations: 6.469 kB / 0.905 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001223/1.76, allocations: 0.7962 MB / 0.9058 GB, free: 221.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.76, allocations: 6.062 kB / 0.9058 GB, free: 221.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/1.76, allocations: 4 kB / 0.9058 GB, free: 221.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005673/1.761, allocations: 104.2 kB / 0.9059 GB, free: 221 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005203/1.761, allocations: 114.1 kB / 0.906 GB, free: 220.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06458/1.826, allocations: 19.21 MB / 0.9248 GB, free: 201.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004496/1.826, allocations: 23.98 kB / 0.9248 GB, free: 201.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/1.826, allocations: 23.98 kB / 0.9248 GB, free: 201.3 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 (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.0002526/1.827, allocations: 190.3 kB / 0.925 GB, free: 201.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.054e-05/1.827, allocations: 43.72 kB / 0.925 GB, free: 201.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/1.828, allocations: 1.681 MB / 0.9267 GB, free: 199.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/1.828, allocations: 19.03 kB / 0.9267 GB, free: 199.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/1.828, allocations: 0 / 0.9267 GB, free: 199.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001188/1.829, allocations: 1.258 MB / 0.9279 GB, free: 198 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/1.831, allocations: 1.726 MB / 0.9296 GB, free: 196.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/1.831, allocations: 0 / 0.9296 GB, free: 196.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/1.832, allocations: 79.88 kB / 0.9297 GB, free: 196.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003125/1.832, allocations: 190.2 kB / 0.9299 GB, free: 195.9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/1.832, allocations: 12 kB / 0.9299 GB, free: 195.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/1.833, allocations: 2.576 MB / 0.9324 GB, free: 193.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.833, allocations: 4.156 kB / 0.9324 GB, free: 193.1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/1.835, allocations: 1.434 MB / 0.9338 GB, free: 191.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/1.835, allocations: 125.3 kB / 0.9339 GB, free: 191.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.8e-05/1.835, allocations: 8 kB / 0.9339 GB, free: 191.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/1.835, allocations: 28.03 kB / 0.9339 GB, free: 191.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/1.835, allocations: 47.88 kB / 0.934 GB, free: 191.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/1.835, allocations: 15.98 kB / 0.934 GB, free: 191.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001889/1.836, allocations: 219.1 kB / 0.9342 GB, free: 191.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/1.836, allocations: 0 / 0.9342 GB, free: 191.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.008668/1.844, allocations: 3.283 MB / 0.9374 GB, free: 188.3 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.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.0163/1.861, allocations: 4.215 MB / 0.9415 GB, free: 184.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001867/1.862, allocations: 0.9357 MB / 0.9424 GB, free: 183.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/1.863, allocations: 0 / 0.9424 GB, free: 183.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006847/1.863, allocations: 0.4916 MB / 0.9429 GB, free: 183 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/1.865, allocations: 399.8 kB / 0.9433 GB, free: 182.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/1.867, allocations: 1.202 MB / 0.9445 GB, free: 181.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/1.867, allocations: 0.8564 MB / 0.9453 GB, free: 180.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003855/1.867, allocations: 107.2 kB / 0.9454 GB, free: 180.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/1.868, allocations: 43.44 kB / 0.9455 GB, free: 180.4 MB / 0.6075 GB Notification: Performance of SimCode: time 1.463e-06/1.868, allocations: 0 / 0.9455 GB, free: 180.4 MB / 0.6075 GB Notification: Performance of Templates: time 0.1352/2.003, allocations: 122.6 MB / 1.065 GB, free: 57.61 MB / 0.6075 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.581246023997664]