Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.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.001723/0.001723, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001852/0.001852, allocations: 186 kB / 20.78 MB, free: 1.547 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.469/1.469, allocations: 207.6 MB / 231.4 MB, free: 3.168 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.04964/0.04964, allocations: 9.158 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.R134aTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel") [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.002148/0.002148, allocations: 78.06 kB / 409.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2652, allocations: 50.71 MB / 459.9 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.1485/0.4138, allocations: 129.3 MB / 0.5754 GB, free: 5.449 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3864/0.8002, allocations: 111.4 MB / 0.6842 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006358/0.8008, allocations: 6.156 kB / 0.6842 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003364/0.8042, allocations: 1.559 MB / 0.6857 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004396/0.8086, allocations: 1.83 MB / 0.6875 GB, free: 15.93 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.0898/0.8984, allocations: 31.16 MB / 0.7179 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002331/0.9007, allocations: 1.407 MB / 0.7193 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.901, allocations: 95.05 kB / 0.7194 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01728/0.9183, allocations: 9.231 MB / 0.7284 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006716/0.919, allocations: 393.5 kB / 0.7288 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.609e-05/0.9191, allocations: 44 kB / 0.7288 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06963/0.9887, allocations: 35.43 MB / 0.7634 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.989, allocations: 124.5 kB / 0.7635 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006108/0.9896, allocations: 305.4 kB / 0.7638 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.05147/1.041, allocations: 14.09 MB / 0.7776 GB, free: 7.773 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.041, allocations: 3.938 kB / 0.7776 GB, free: 7.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/1.041, allocations: 4 kB / 0.7776 GB, free: 7.766 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.239e-05/1.041, allocations: 0 / 0.7776 GB, free: 7.766 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.007039/1.048, allocations: 2.672 MB / 0.7802 GB, free: 5.047 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.048, allocations: 12.02 kB / 0.7802 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006399/1.049, allocations: 91.64 kB / 0.7803 GB, free: 4.945 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/1.049, allocations: 340.3 kB / 0.7806 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.968e-05/1.049, allocations: 36.66 kB / 0.7807 GB, free: 4.539 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.484e-05/1.049, allocations: 36 kB / 0.7807 GB, free: 4.504 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/1.051, allocations: 0.597 MB / 0.7813 GB, free: 3.895 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/1.051, allocations: 8 kB / 0.7813 GB, free: 3.887 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.5e-05/1.051, allocations: 16 kB / 0.7813 GB, free: 3.871 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/1.051, allocations: 8 kB / 0.7813 GB, free: 3.863 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/1.052, allocations: 0.5493 MB / 0.7818 GB, free: 3.316 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/1.055, allocations: 2.557 MB / 0.7843 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/1.056, allocations: 475.8 kB / 0.7848 GB, free: 64 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005777/1.057, allocations: 307.8 kB / 0.7851 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4546/1.511, allocations: 139 MB / 0.9208 GB, free: 202.4 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/1.512, allocations: 34.84 kB / 0.9209 GB, free: 202.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=79): time 2.605e-06/1.512, allocations: 0 / 0.9209 GB, free: 202.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=83): time 0.005439/1.517, allocations: 2.345 MB / 0.9231 GB, free: 200 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/1.517, allocations: 55.41 kB / 0.9232 GB, free: 199.9 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/1.517, allocations: 253 kB / 0.9234 GB, free: 199.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/1.517, allocations: 33.7 kB / 0.9235 GB, free: 199.6 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/1.517, allocations: 186.6 kB / 0.9236 GB, free: 199.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/1.517, allocations: 285.2 kB / 0.9239 GB, free: 199.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/1.518, allocations: 100.7 kB / 0.924 GB, free: 199.1 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.823e-05/1.518, allocations: 350.8 kB / 0.9243 GB, free: 198.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/1.518, allocations: 265.3 kB / 0.9246 GB, free: 198.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000445/1.518, allocations: 402.6 kB / 0.925 GB, free: 198.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008792/1.519, allocations: 0.6989 MB / 0.9257 GB, free: 197.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.519, allocations: 4 kB / 0.9257 GB, free: 197.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001184/1.521, allocations: 0.7896 MB / 0.9264 GB, free: 196.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.521, allocations: 8 kB / 0.9265 GB, free: 196.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.521, allocations: 4 kB / 0.9265 GB, free: 196.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002405/1.521, allocations: 61.67 kB / 0.9265 GB, free: 196.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/1.521, allocations: 103.4 kB / 0.9266 GB, free: 196.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06152/1.583, allocations: 17.2 MB / 0.9434 GB, free: 178.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/1.583, allocations: 23.97 kB / 0.9434 GB, free: 178.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/1.583, allocations: 23.94 kB / 0.9435 GB, free: 178.6 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002308/1.583, allocations: 186.5 kB / 0.9436 GB, free: 178.4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.342e-05/1.583, allocations: 47.72 kB / 0.9437 GB, free: 178.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/1.585, allocations: 1.545 MB / 0.9452 GB, free: 176.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/1.585, allocations: 10.72 kB / 0.9452 GB, free: 176.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/1.585, allocations: 0 / 0.9452 GB, free: 176.8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/1.586, allocations: 1.15 MB / 0.9463 GB, free: 175.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/1.588, allocations: 1.591 MB / 0.9479 GB, free: 173.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.588, allocations: 0 / 0.9479 GB, free: 173.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/1.588, allocations: 83.81 kB / 0.948 GB, free: 173.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001855/1.588, allocations: 44.84 kB / 0.948 GB, free: 173.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/1.588, allocations: 11.94 kB / 0.948 GB, free: 173.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006848/1.589, allocations: 1.425 MB / 0.9494 GB, free: 172.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.589, allocations: 0 / 0.9494 GB, free: 172.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/1.59, allocations: 1.178 MB / 0.9506 GB, free: 171 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.552e-05/1.591, allocations: 115.2 kB / 0.9507 GB, free: 170.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/1.591, allocations: 15.95 kB / 0.9507 GB, free: 170.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/1.591, allocations: 23.97 kB / 0.9507 GB, free: 170.8 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.464e-05/1.591, allocations: 47.88 kB / 0.9507 GB, free: 170.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/1.591, allocations: 12 kB / 0.9508 GB, free: 170.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001816/1.591, allocations: 243 kB / 0.951 GB, free: 170.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/1.591, allocations: 4.062 kB / 0.951 GB, free: 170.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.008229/1.599, allocations: 3.58 MB / 0.9545 GB, free: 167.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.p,volume.medium.h) * Number of discrete variables: 9 ($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 (40): * 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: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01474/1.614, allocations: 4.58 MB / 0.959 GB, free: 163.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001693/1.616, allocations: 0.8979 MB / 0.9598 GB, free: 162.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.616, allocations: 3.938 kB / 0.9598 GB, free: 162.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006936/1.617, allocations: 471.3 kB / 0.9603 GB, free: 161.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/1.618, allocations: 376.3 kB / 0.9607 GB, free: 161.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/1.62, allocations: 1.164 MB / 0.9618 GB, free: 160.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/1.62, allocations: 0.8565 MB / 0.9626 GB, free: 159.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003574/1.62, allocations: 169.5 kB / 0.9628 GB, free: 159.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.822e-05/1.62, allocations: 35.44 kB / 0.9628 GB, free: 159.2 MB / 0.6075 GB Notification: Performance of SimCode: time 8.41e-07/1.62, allocations: 0 / 0.9628 GB, free: 159.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.1244/1.745, allocations: 126 MB / 1.086 GB, free: 33.17 MB / 0.6075 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.225233878940344]