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.001327/0.001327, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001424/0.001424, allocations: 184.8 kB / 22.22 MB, free: 5.105 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.445/1.445, allocations: 207.6 MB / 233 MB, free: 10.03 MB / 190.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.05304/0.05304, allocations: 9.144 MB / 294.4 MB, free: 12.74 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.002192/0.002192, allocations: 71.52 kB / 411.6 MB, free: 46.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08024/0.08243, allocations: 50.74 MB / 462.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.3426/0.425, allocations: 129.3 MB / 0.5778 GB, free: 156 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1203/0.5453, allocations: 111.4 MB / 0.6866 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006577/0.5459, allocations: 7.938 kB / 0.6866 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00384/0.5498, allocations: 1.552 MB / 0.6881 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005364/0.5552, allocations: 1.829 MB / 0.6899 GB, free: 3.883 MB / 0.4981 GB [/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.0805/0.6357, allocations: 31.37 MB / 0.7205 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00235/0.638, allocations: 1.421 MB / 0.7219 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.6383, allocations: 89.91 kB / 0.722 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01769/0.656, allocations: 9.361 MB / 0.7312 GB, free: 9.512 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000676/0.6567, allocations: 394.4 kB / 0.7315 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.099e-05/0.6567, allocations: 40 kB / 0.7316 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3435/1, allocations: 36.36 MB / 0.7671 GB, free: 46.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002323/1, allocations: 125.6 kB / 0.7672 GB, free: 46.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004632/1.001, allocations: 308.1 kB / 0.7675 GB, free: 46.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03633/1.037, allocations: 14.13 MB / 0.7813 GB, free: 46.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.037, allocations: 0 / 0.7813 GB, free: 46.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.893e-06/1.037, allocations: 0 / 0.7813 GB, free: 46.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.129e-05/1.037, allocations: 4 kB / 0.7813 GB, free: 46.44 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.007098/1.044, allocations: 2.607 MB / 0.7838 GB, free: 45.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/1.044, allocations: 14.23 kB / 0.7839 GB, free: 45.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006715/1.045, allocations: 91.19 kB / 0.7839 GB, free: 44.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/1.045, allocations: 276.5 kB / 0.7842 GB, free: 44.83 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/1.046, allocations: 34.47 kB / 0.7842 GB, free: 44.83 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/1.046, allocations: 34.39 kB / 0.7843 GB, free: 44.83 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/1.047, allocations: 0.6048 MB / 0.7849 GB, free: 44.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/1.047, allocations: 3.562 kB / 0.7849 GB, free: 44.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/1.047, allocations: 14.44 kB / 0.7849 GB, free: 44.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/1.047, allocations: 18.62 kB / 0.7849 GB, free: 44.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/1.048, allocations: 0.5646 MB / 0.7854 GB, free: 44.72 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/1.05, allocations: 2.521 MB / 0.7879 GB, free: 43.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/1.051, allocations: 492.2 kB / 0.7884 GB, free: 42.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004475/1.051, allocations: 314 kB / 0.7887 GB, free: 42.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1941/1.245, allocations: 43.91 MB / 0.8316 GB, free: 16.79 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/1.246, allocations: 40.33 kB / 0.8316 GB, free: 16.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=79): time 2.936e-06/1.246, allocations: 0 / 0.8316 GB, free: 16.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.005746/1.251, allocations: 2.234 MB / 0.8338 GB, free: 15.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/1.251, allocations: 57.47 kB / 0.8338 GB, free: 15.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/1.252, allocations: 250.5 kB / 0.8341 GB, free: 14.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/1.252, allocations: 38.64 kB / 0.8341 GB, free: 14.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/1.252, allocations: 187.3 kB / 0.8343 GB, free: 14.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/1.252, allocations: 279.9 kB / 0.8346 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/1.252, allocations: 104.6 kB / 0.8347 GB, free: 14.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.736e-05/1.252, allocations: 350.3 kB / 0.835 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/1.252, allocations: 280.1 kB / 0.8353 GB, free: 13.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/1.253, allocations: 410.2 kB / 0.8356 GB, free: 13.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008981/1.254, allocations: 0.7195 MB / 0.8364 GB, free: 12.97 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/1.254, allocations: 6.062 kB / 0.8364 GB, free: 12.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001327/1.255, allocations: 0.808 MB / 0.8371 GB, free: 12.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.255, allocations: 4 kB / 0.8371 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.255, allocations: 6.312 kB / 0.8372 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002456/1.255, allocations: 66.2 kB / 0.8372 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/1.256, allocations: 97.66 kB / 0.8373 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06772/1.323, allocations: 17 MB / 0.8539 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/1.324, allocations: 31.19 kB / 0.8539 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/1.324, allocations: 16 kB / 0.854 GB, free: 11.76 MB / 0.5606 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.0003138/1.324, allocations: 189 kB / 0.8541 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/1.324, allocations: 51.7 kB / 0.8542 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/1.327, allocations: 1.583 MB / 0.8557 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/1.327, allocations: 15.47 kB / 0.8557 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/1.327, allocations: 0 / 0.8557 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001564/1.328, allocations: 1.172 MB / 0.8569 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/1.331, allocations: 1.613 MB / 0.8585 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.331, allocations: 8 kB / 0.8585 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/1.331, allocations: 77.81 kB / 0.8585 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002406/1.331, allocations: 46.66 kB / 0.8586 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/1.331, allocations: 7.938 kB / 0.8586 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/1.333, allocations: 1.323 MB / 0.8599 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.333, allocations: 0 / 0.8599 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/1.335, allocations: 1.216 MB / 0.8611 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/1.335, allocations: 39.69 kB / 0.8611 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.534e-05/1.335, allocations: 11.5 kB / 0.8611 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/1.335, allocations: 23.66 kB / 0.8612 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/1.335, allocations: 47.61 kB / 0.8612 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/1.335, allocations: 19.92 kB / 0.8612 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002726/1.336, allocations: 240.4 kB / 0.8614 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.336, allocations: 2.25 kB / 0.8614 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01043/1.346, allocations: 3.578 MB / 0.8649 GB, free: 2.152 MB / 0.5606 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.01971/1.366, allocations: 4.585 MB / 0.8694 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002153/1.368, allocations: 0.9211 MB / 0.8703 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.368, allocations: 192 / 0.8703 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009457/1.369, allocations: 474.5 kB / 0.8708 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/1.371, allocations: 378.8 kB / 0.8711 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/1.373, allocations: 1.177 MB / 0.8723 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/1.373, allocations: 0.8504 MB / 0.8731 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004761/1.374, allocations: 174.3 kB / 0.8733 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/1.374, allocations: 40.44 kB / 0.8733 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/1.374, allocations: 0 / 0.8733 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.3698/1.744, allocations: 126.2 MB / 0.9965 GB, free: 326.2 MB / 0.67 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.15496161300689] Failed to read output from testmodel.py, exit status != 0: 1.7523592934012413 1.764529214 0.724576785 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc9dab517b0>