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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 110.5 kB / 17.6 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.001279/0.001279, allocations: 186.8 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.691/1.691, allocations: 207.6 MB / 231.4 MB, free: 3.383 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.07189/0.07189, allocations: 9.143 MB / 292.6 MB, free: 6.227 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") [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.002525/0.002525, allocations: 70.08 kB / 409.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3571, allocations: 50.71 MB / 459.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.1943/0.5514, allocations: 142.9 MB / 0.5887 GB, free: 7.816 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.4729/1.024, allocations: 97.95 MB / 0.6843 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006946/1.025, allocations: 12.59 kB / 0.6844 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003303/1.028, allocations: 1.557 MB / 0.6859 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004009/1.032, allocations: 1.825 MB / 0.6877 GB, free: 15.92 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.1031/1.135, allocations: 31.35 MB / 0.7183 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002832/1.138, allocations: 1.422 MB / 0.7197 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/1.139, allocations: 92.28 kB / 0.7198 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01961/1.158, allocations: 10.12 MB / 0.7296 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007623/1.159, allocations: 402.2 kB / 0.73 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.603e-05/1.159, allocations: 44 kB / 0.7301 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06158/1.221, allocations: 29.84 MB / 0.7592 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003194/1.221, allocations: 127.4 kB / 0.7593 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006355/1.222, allocations: 306.2 kB / 0.7596 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.04669/1.268, allocations: 11.93 MB / 0.7713 GB, free: 13.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.268, allocations: 0 / 0.7713 GB, free: 13.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.823e-06/1.268, allocations: 0 / 0.7713 GB, free: 13.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.106e-05/1.268, allocations: 0 / 0.7713 GB, free: 13.88 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.006601/1.275, allocations: 2.232 MB / 0.7735 GB, free: 11.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.275, allocations: 8.031 kB / 0.7735 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000569/1.275, allocations: 79.64 kB / 0.7735 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006424/1.276, allocations: 344.1 kB / 0.7739 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.835e-05/1.276, allocations: 28.66 kB / 0.7739 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.855e-05/1.276, allocations: 39.94 kB / 0.7739 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/1.277, allocations: 0.5893 MB / 0.7745 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/1.277, allocations: 0 / 0.7745 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/1.278, allocations: 16 kB / 0.7745 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/1.278, allocations: 16.12 kB / 0.7745 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/1.279, allocations: 0.5142 MB / 0.775 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/1.282, allocations: 2.476 MB / 0.7775 GB, free: 7.246 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/1.283, allocations: 447.6 kB / 0.7779 GB, free: 6.801 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/1.283, allocations: 282.3 kB / 0.7782 GB, free: 6.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4363/1.72, allocations: 113.3 MB / 0.8888 GB, free: 237.9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.427e-05/1.72, allocations: 34.84 kB / 0.8888 GB, free: 237.9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=78): time 3.126e-06/1.72, allocations: 0 / 0.8888 GB, free: 237.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=83): time 0.006925/1.727, allocations: 2.632 MB / 0.8914 GB, free: 236.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/1.727, allocations: 56.09 kB / 0.8914 GB, free: 236.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/1.727, allocations: 265.2 kB / 0.8917 GB, free: 236.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/1.727, allocations: 33.7 kB / 0.8917 GB, free: 236.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/1.727, allocations: 187.2 kB / 0.8919 GB, free: 236 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/1.727, allocations: 283.5 kB / 0.8922 GB, free: 235.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/1.728, allocations: 105.5 kB / 0.8923 GB, free: 235.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.522e-05/1.728, allocations: 352.5 kB / 0.8926 GB, free: 235.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004818/1.728, allocations: 274.2 kB / 0.8929 GB, free: 235.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005753/1.729, allocations: 399.7 kB / 0.8933 GB, free: 234.9 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009924/1.73, allocations: 0.7207 MB / 0.894 GB, free: 234.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.73, allocations: 7.969 kB / 0.894 GB, free: 234.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001343/1.731, allocations: 0.8085 MB / 0.8948 GB, free: 233.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.731, allocations: 8 kB / 0.8948 GB, free: 233.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.731, allocations: 4 kB / 0.8948 GB, free: 233.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008189/1.732, allocations: 149.1 kB / 0.8949 GB, free: 233.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/1.733, allocations: 119.6 kB / 0.895 GB, free: 233.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/1.734, allocations: 3.758 MB / 0.8987 GB, free: 229.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/1.735, allocations: 31.05 kB / 0.8987 GB, free: 229.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/1.735, allocations: 19.98 kB / 0.8987 GB, free: 229.2 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): 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.0002418/1.735, allocations: 194.2 kB / 0.8989 GB, free: 229 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/1.735, allocations: 43.72 kB / 0.899 GB, free: 229 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/1.737, allocations: 1.666 MB / 0.9006 GB, free: 227.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/1.737, allocations: 18.17 kB / 0.9006 GB, free: 227.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/1.737, allocations: 0 / 0.9006 GB, free: 227.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/1.738, allocations: 1.232 MB / 0.9018 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/1.74, allocations: 1.724 MB / 0.9035 GB, free: 224.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/1.74, allocations: 0 / 0.9035 GB, free: 224.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/1.741, allocations: 75.42 kB / 0.9036 GB, free: 224.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006119/1.741, allocations: 254.2 kB / 0.9038 GB, free: 223.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/1.741, allocations: 12 kB / 0.9038 GB, free: 223.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007778/1.742, allocations: 1.78 MB / 0.9056 GB, free: 222 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.742, allocations: 0 / 0.9056 GB, free: 222 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/1.744, allocations: 1.449 MB / 0.907 GB, free: 220.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/1.744, allocations: 115 kB / 0.9071 GB, free: 220.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.264e-05/1.744, allocations: 11.94 kB / 0.9071 GB, free: 220.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/1.744, allocations: 27.97 kB / 0.9071 GB, free: 220.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.744, allocations: 46.44 kB / 0.9072 GB, free: 220.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/1.744, allocations: 12 kB / 0.9072 GB, free: 220.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000184/1.745, allocations: 223.1 kB / 0.9074 GB, free: 220.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/1.745, allocations: 0 / 0.9074 GB, free: 220.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005662/1.75, allocations: 2.005 MB / 0.9094 GB, free: 218.4 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.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.01049/1.761, allocations: 2.849 MB / 0.9121 GB, free: 216 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002292/1.763, allocations: 0.8367 MB / 0.913 GB, free: 215.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/1.763, allocations: 2 kB / 0.913 GB, free: 215.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007457/1.764, allocations: 387.7 kB / 0.9133 GB, free: 214.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/1.766, allocations: 390.4 kB / 0.9137 GB, free: 214.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/1.768, allocations: 1.206 MB / 0.9149 GB, free: 213.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/1.768, allocations: 0.8485 MB / 0.9157 GB, free: 212.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003971/1.768, allocations: 87.23 kB / 0.9158 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.403e-05/1.769, allocations: 39.42 kB / 0.9158 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of SimCode: time 1.473e-06/1.769, allocations: 0 / 0.9158 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.07803/1.847, allocations: 72 MB / 0.9861 GB, free: 140.3 MB / 0.6075 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.744729178026319]