Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.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.001331/0.001331, allocations: 110.5 kB / 17.6 MB, free: 4.688 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.001417/0.001417, allocations: 190.8 kB / 20.78 MB, free: 1.516 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.418/1.418, allocations: 207.6 MB / 231.4 MB, free: 3.125 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.05247/0.05247, allocations: 9.151 MB / 292.6 MB, free: 6.062 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.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") [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.00214/0.00214, allocations: 71.88 kB / 409.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2807, allocations: 50.71 MB / 459.9 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.1548/0.4355, allocations: 129.3 MB / 0.5753 GB, free: 5.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3789/0.8144, allocations: 111.3 MB / 0.6841 GB, free: 12 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008784/0.8153, allocations: 8.906 kB / 0.6841 GB, free: 12 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003545/0.8189, allocations: 1.559 MB / 0.6856 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005042/0.8239, allocations: 1.83 MB / 0.6874 GB, free: 15.94 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.08969/0.9136, allocations: 31.05 MB / 0.7177 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002424/0.916, allocations: 1.406 MB / 0.7191 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.9163, allocations: 92.23 kB / 0.7192 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01884/0.9351, allocations: 10.81 MB / 0.7297 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006366/0.9358, allocations: 397.6 kB / 0.7301 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.025e-05/0.9358, allocations: 40 kB / 0.7302 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07236/1.008, allocations: 34.97 MB / 0.7643 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003245/1.009, allocations: 118.4 kB / 0.7644 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006626/1.009, allocations: 313.8 kB / 0.7647 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0486/1.058, allocations: 13.97 MB / 0.7784 GB, free: 6.934 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/1.058, allocations: 4 kB / 0.7784 GB, free: 6.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.064e-06/1.058, allocations: 0 / 0.7784 GB, free: 6.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.118e-05/1.058, allocations: 0 / 0.7784 GB, free: 6.93 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.007623/1.065, allocations: 2.676 MB / 0.781 GB, free: 4.207 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/1.065, allocations: 16.02 kB / 0.781 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006207/1.066, allocations: 95.64 kB / 0.7811 GB, free: 4.098 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005856/1.067, allocations: 347.7 kB / 0.7814 GB, free: 3.723 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-05/1.067, allocations: 28.66 kB / 0.7814 GB, free: 3.695 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/1.067, allocations: 32 kB / 0.7815 GB, free: 3.664 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/1.068, allocations: 0.601 MB / 0.7821 GB, free: 3.047 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/1.068, allocations: 3.984 kB / 0.7821 GB, free: 3.043 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/1.068, allocations: 19.94 kB / 0.7821 GB, free: 3.023 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/1.068, allocations: 15.83 kB / 0.7821 GB, free: 3.012 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/1.069, allocations: 0.5493 MB / 0.7826 GB, free: 2.465 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/1.072, allocations: 2.458 MB / 0.785 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/1.073, allocations: 469.2 kB / 0.7855 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/1.074, allocations: 306 kB / 0.7858 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.445/1.519, allocations: 139 MB / 0.9215 GB, free: 201.4 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/1.519, allocations: 42.55 kB / 0.9215 GB, free: 201.4 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=77): time 3.005e-06/1.519, allocations: 0 / 0.9215 GB, free: 201.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=81): time 0.005238/1.524, allocations: 2.347 MB / 0.9238 GB, free: 199.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/1.524, allocations: 55.41 kB / 0.9239 GB, free: 199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/1.525, allocations: 261.4 kB / 0.9241 GB, free: 198.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/1.525, allocations: 33.64 kB / 0.9242 GB, free: 198.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.378e-05/1.525, allocations: 195.6 kB / 0.9243 GB, free: 198.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/1.525, allocations: 274.2 kB / 0.9246 GB, free: 198.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/1.525, allocations: 98.06 kB / 0.9247 GB, free: 198.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.085e-05/1.525, allocations: 354.8 kB / 0.925 GB, free: 197.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004831/1.525, allocations: 272.6 kB / 0.9253 GB, free: 197.6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/1.526, allocations: 395.8 kB / 0.9257 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008683/1.527, allocations: 0.7037 MB / 0.9264 GB, free: 196.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.527, allocations: 2.719 kB / 0.9264 GB, free: 196.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001196/1.528, allocations: 0.7934 MB / 0.9271 GB, free: 195.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/1.528, allocations: 7.031 kB / 0.9272 GB, free: 195.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.528, allocations: 4 kB / 0.9272 GB, free: 195.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002552/1.528, allocations: 65.61 kB / 0.9272 GB, free: 195.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006804/1.529, allocations: 139.8 kB / 0.9274 GB, free: 195.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06516/1.594, allocations: 18.43 MB / 0.9454 GB, free: 176.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004693/1.594, allocations: 28.02 kB / 0.9454 GB, free: 176.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/1.595, allocations: 21.42 kB / 0.9454 GB, free: 176.3 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 40 * 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, 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002679/1.595, allocations: 194.1 kB / 0.9456 GB, free: 176.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-05/1.595, allocations: 47.66 kB / 0.9456 GB, free: 176.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/1.597, allocations: 1.696 MB / 0.9473 GB, free: 174.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/1.597, allocations: 15.75 kB / 0.9473 GB, free: 174.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.597, allocations: 0 / 0.9473 GB, free: 174.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/1.598, allocations: 1.28 MB / 0.9486 GB, free: 173 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/1.6, allocations: 1.74 MB / 0.9503 GB, free: 171.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.6, allocations: 4 kB / 0.9503 GB, free: 171.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/1.6, allocations: 75.83 kB / 0.9503 GB, free: 171.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003031/1.6, allocations: 169.2 kB / 0.9505 GB, free: 170.9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/1.6, allocations: 12 kB / 0.9505 GB, free: 170.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/1.602, allocations: 2.567 MB / 0.953 GB, free: 168.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.602, allocations: 0 / 0.953 GB, free: 168.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/1.603, allocations: 1.366 MB / 0.9543 GB, free: 166.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/1.604, allocations: 119.4 kB / 0.9545 GB, free: 166.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.6e-05/1.604, allocations: 12 kB / 0.9545 GB, free: 166.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/1.604, allocations: 27.91 kB / 0.9545 GB, free: 166.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/1.604, allocations: 39.94 kB / 0.9545 GB, free: 166.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/1.604, allocations: 16.05 kB / 0.9545 GB, free: 166.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002197/1.604, allocations: 227.1 kB / 0.9548 GB, free: 166.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/1.604, allocations: 0 / 0.9548 GB, free: 166.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.008574/1.613, allocations: 3.568 MB / 0.9582 GB, free: 163.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01689/1.63, allocations: 4.519 MB / 0.9627 GB, free: 159.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002428/1.632, allocations: 0.9969 MB / 0.9636 GB, free: 158.1 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/1.632, allocations: 4 kB / 0.9636 GB, free: 158.1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006956/1.633, allocations: 483.3 kB / 0.9641 GB, free: 157.6 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/1.635, allocations: 404.7 kB / 0.9645 GB, free: 157.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/1.636, allocations: 1.211 MB / 0.9657 GB, free: 156 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/1.637, allocations: 0.8526 MB / 0.9665 GB, free: 155.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003586/1.637, allocations: 134.6 kB / 0.9666 GB, free: 155 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.886e-05/1.637, allocations: 39.44 kB / 0.9667 GB, free: 155 MB / 0.6075 GB Notification: Performance of SimCode: time 1.473e-06/1.637, allocations: 3.938 kB / 0.9667 GB, free: 155 MB / 0.6075 GB Notification: Performance of Templates: time 0.1314/1.768, allocations: 127 MB / 1.091 GB, free: 27.83 MB / 0.6075 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.848683156073093]