Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 218.8 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05199/0.05199, allocations: 9.136 MB / 321.6 MB, free: 10.43 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 63.91 kB / 447.1 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1041, allocations: 54.95 MB / 0.4903 GB, free: 9.461 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.3946/0.4987, allocations: 196.9 MB / 0.6826 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.3673/0.866, allocations: 142.1 MB / 0.8214 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007089/0.8667, allocations: 13.38 kB / 0.8214 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002607/0.8693, allocations: 1.62 MB / 0.823 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.8725, allocations: 1.906 MB / 0.8248 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.09385/0.9663, allocations: 40.88 MB / 0.8648 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002892/0.9692, allocations: 1.948 MB / 0.8667 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/0.9695, allocations: 137.5 kB / 0.8668 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001558/0.9711, allocations: 0.8559 MB / 0.8676 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008094/0.9719, allocations: 0.5515 MB / 0.8682 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.143e-05/0.972, allocations: 60 kB / 0.8682 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08404/1.056, allocations: 46.07 MB / 0.9132 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003811/1.056, allocations: 177.4 kB / 0.9134 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007067/1.057, allocations: 425.8 kB / 0.9138 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.05742/1.115, allocations: 18.88 MB / 0.9322 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.115, allocations: 0 / 0.9322 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.833e-06/1.115, allocations: 0 / 0.9322 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.939e-05/1.115, allocations: 3.938 kB / 0.9322 GB, free: 7.82 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.008611/1.123, allocations: 3.425 MB / 0.9356 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/1.123, allocations: 8.031 kB / 0.9356 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008261/1.124, allocations: 123.5 kB / 0.9357 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005977/1.125, allocations: 349.6 kB / 0.936 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.48e-05/1.125, allocations: 45 kB / 0.9361 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.831e-05/1.125, allocations: 44 kB / 0.9361 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/1.127, allocations: 0.8347 MB / 0.9369 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/1.127, allocations: 3.938 kB / 0.9369 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-05/1.127, allocations: 24 kB / 0.937 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/1.127, allocations: 25.31 kB / 0.937 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001871/1.129, allocations: 0.7692 MB / 0.9377 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003858/1.132, allocations: 3.401 MB / 0.9411 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/1.134, allocations: 0.649 MB / 0.9417 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007718/1.135, allocations: 449.3 kB / 0.9421 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5811/1.716, allocations: 58.53 MB / 0.9993 GB, free: 110.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/1.716, allocations: 36.22 kB / 0.9993 GB, free: 110.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=109): time 2.895e-06/1.716, allocations: 3.656 kB / 0.9993 GB, free: 110.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=117): time 0.008942/1.725, allocations: 3.346 MB / 1.003 GB, free: 109.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/1.725, allocations: 61.38 kB / 1.003 GB, free: 109.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/1.725, allocations: 305.9 kB / 1.003 GB, free: 109.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/1.725, allocations: 42.14 kB / 1.003 GB, free: 109.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/1.725, allocations: 233.2 kB / 1.003 GB, free: 109.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/1.726, allocations: 396.3 kB / 1.004 GB, free: 109.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/1.726, allocations: 143.8 kB / 1.004 GB, free: 109.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.553e-05/1.726, allocations: 367.6 kB / 1.004 GB, free: 108.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006349/1.726, allocations: 407.6 kB / 1.004 GB, free: 108.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007061/1.727, allocations: 0.5475 MB / 1.005 GB, free: 108.8 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/1.728, allocations: 1.003 MB / 1.006 GB, free: 108.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.728, allocations: 3.594 kB / 1.006 GB, free: 108.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002023/1.731, allocations: 1.157 MB / 1.007 GB, free: 108.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.731, allocations: 7.219 kB / 1.007 GB, free: 108.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.731, allocations: 4.375 kB / 1.007 GB, free: 108.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003909/1.731, allocations: 109 kB / 1.007 GB, free: 108.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009808/1.732, allocations: 204.9 kB / 1.007 GB, free: 108.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1297/1.862, allocations: 35.03 MB / 1.042 GB, free: 95.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005723/1.862, allocations: 36.38 kB / 1.042 GB, free: 95.79 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/1.862, allocations: 23.98 kB / 1.042 GB, free: 95.79 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.phase,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 (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002977/1.863, allocations: 227.3 kB / 1.042 GB, free: 95.67 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/1.863, allocations: 66.64 kB / 1.042 GB, free: 95.63 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/1.865, allocations: 2.436 MB / 1.044 GB, free: 95.33 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/1.865, allocations: 17.59 kB / 1.044 GB, free: 95.33 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.865, allocations: 0 / 1.044 GB, free: 95.33 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001783/1.867, allocations: 1.692 MB / 1.046 GB, free: 94.89 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002771/1.87, allocations: 2.493 MB / 1.048 GB, free: 94.53 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.87, allocations: 3.062 kB / 1.048 GB, free: 94.53 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004542/1.87, allocations: 120.2 kB / 1.049 GB, free: 94.53 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/1.871, allocations: 216.1 kB / 1.049 GB, free: 94.49 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/1.871, allocations: 15.11 kB / 1.049 GB, free: 94.49 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/1.872, allocations: 3.782 MB / 1.052 GB, free: 91.01 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.872, allocations: 0 / 1.052 GB, free: 91.01 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/1.875, allocations: 2.037 MB / 1.054 GB, free: 90.73 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/1.875, allocations: 51.83 kB / 1.055 GB, free: 90.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/1.875, allocations: 16.19 kB / 1.055 GB, free: 90.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/1.875, allocations: 43.97 kB / 1.055 GB, free: 90.69 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/1.875, allocations: 67.47 kB / 1.055 GB, free: 90.69 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/1.876, allocations: 25.84 kB / 1.055 GB, free: 90.69 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002031/1.876, allocations: 251.7 kB / 1.055 GB, free: 90.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/1.876, allocations: 3.844 kB / 1.055 GB, free: 90.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.01179/1.887, allocations: 5.54 MB / 1.06 GB, free: 90.26 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 14 ($cse13.phase,$cse16.phase,$cse17.phase,$cse18.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,volume1.medium.state.phase,volume1.medium.sat.liq.phase,volume1.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.02456/1.912, allocations: 6.902 MB / 1.067 GB, free: 85.52 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003053/1.915, allocations: 1.521 MB / 1.069 GB, free: 84.49 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.915, allocations: 3.688 kB / 1.069 GB, free: 84.49 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/1.916, allocations: 0.7887 MB / 1.069 GB, free: 83.96 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/1.918, allocations: 0.5371 MB / 1.07 GB, free: 83.61 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/1.921, allocations: 1.78 MB / 1.072 GB, free: 82.21 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/1.921, allocations: 0.9352 MB / 1.072 GB, free: 81.34 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004298/1.921, allocations: 185.7 kB / 1.073 GB, free: 81.21 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/1.921, allocations: 55.19 kB / 1.073 GB, free: 81.16 MB / 0.6856 GB Notification: Performance of SimCode: time 6.71e-07/1.921, allocations: 0 / 1.073 GB, free: 81.16 MB / 0.6856 GB Notification: Performance of Templates: time 0.4571/2.379, allocations: 203.4 MB / 1.271 GB, free: 392.3 MB / 0.7794 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 28.042677517049015] Failed to read output from testmodel.py, exit status != 0: 2.386710864957422 2.398601871 1.281477374 Calling exit ...