Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.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.001359/0.001359, allocations: 89.27 kB / 19.43 MB, free: 1.98 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.001486/0.001486, allocations: 168.2 kB / 22.75 MB, free: 4.773 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.52/1.52, allocations: 177.1 MB / 203.1 MB, free: 9.055 MB / 190.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.05058/0.05058, allocations: 7.517 MB / 267.1 MB, free: 9.473 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.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 337.9 MB, free: 32.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.786e-05, allocations: 2.312 kB / 338 MB, free: 32.97 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.3042/0.3042, allocations: 113.7 MB / 451.7 MB, free: 16.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0839/0.3881, allocations: 97.15 MB / 0.5359 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000597/0.3887, allocations: 11.94 kB / 0.536 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.391, allocations: 0.9413 MB / 0.5369 GB, free: 14.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.3933, allocations: 1.112 MB / 0.538 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07718/0.4705, allocations: 30.88 MB / 0.5681 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002156/0.4727, allocations: 1.403 MB / 0.5695 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.4729, allocations: 73.92 kB / 0.5696 GB, free: 13.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0257/0.4986, allocations: 12.59 MB / 0.5818 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009625/0.4996, allocations: 335 kB / 0.5822 GB, free: 468 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.4997, allocations: 40 kB / 0.5822 GB, free: 428 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07287/0.5726, allocations: 23.81 MB / 0.6055 GB, free: 8.551 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003369/0.5729, allocations: 139.5 kB / 0.6056 GB, free: 8.414 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006515/0.5735, allocations: 219.6 kB / 0.6058 GB, free: 8.199 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2696/0.8432, allocations: 14.5 MB / 0.62 GB, free: 52.72 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.8432, allocations: 0.5938 kB / 0.62 GB, free: 52.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.8432, allocations: 0.875 kB / 0.62 GB, free: 52.72 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.8432, allocations: 0 / 0.62 GB, free: 52.72 MB / 462.1 MB 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.007139/0.8503, allocations: 2.583 MB / 0.6225 GB, free: 51.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.8504, allocations: 8.906 kB / 0.6225 GB, free: 51.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007429/0.8511, allocations: 176.8 kB / 0.6227 GB, free: 51.24 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.8515, allocations: 288.6 kB / 0.6229 GB, free: 51.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.8515, allocations: 30 kB / 0.623 GB, free: 51.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.788e-05/0.8516, allocations: 37.09 kB / 0.623 GB, free: 51.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.8529, allocations: 0.7592 MB / 0.6237 GB, free: 50.8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.8529, allocations: 1.594 kB / 0.6237 GB, free: 50.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/0.8529, allocations: 15.44 kB / 0.6238 GB, free: 50.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.8529, allocations: 19.83 kB / 0.6238 GB, free: 50.8 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.8542, allocations: 0.5587 MB / 0.6243 GB, free: 50.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.856, allocations: 1.637 MB / 0.6259 GB, free: 50.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.8571, allocations: 485.9 kB / 0.6264 GB, free: 50.01 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005093/0.8576, allocations: 317.5 kB / 0.6267 GB, free: 50 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1968/1.054, allocations: 44.1 MB / 0.6698 GB, free: 44.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/1.054, allocations: 35.09 kB / 0.6698 GB, free: 44.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=79): time 2.635e-06/1.054, allocations: 0 / 0.6698 GB, free: 44.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.005731/1.06, allocations: 2.277 MB / 0.672 GB, free: 43.18 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/1.06, allocations: 58.84 kB / 0.6721 GB, free: 43.11 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/1.06, allocations: 234 kB / 0.6723 GB, free: 42.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/1.06, allocations: 29.58 kB / 0.6723 GB, free: 42.88 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.169e-05/1.06, allocations: 193 kB / 0.6725 GB, free: 42.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/1.061, allocations: 272.4 kB / 0.6728 GB, free: 42.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/1.061, allocations: 105.7 kB / 0.6729 GB, free: 42.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.3e-05/1.061, allocations: 349.3 kB / 0.6732 GB, free: 42.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004518/1.061, allocations: 282.6 kB / 0.6735 GB, free: 41.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/1.062, allocations: 401.5 kB / 0.6738 GB, free: 41.58 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009285/1.063, allocations: 0.7282 MB / 0.6746 GB, free: 41.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.063, allocations: 3.75 kB / 0.6746 GB, free: 41.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001306/1.064, allocations: 0.8243 MB / 0.6754 GB, free: 40.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/1.064, allocations: 8 kB / 0.6754 GB, free: 40.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.064, allocations: 4 kB / 0.6754 GB, free: 40.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/1.064, allocations: 67.42 kB / 0.6754 GB, free: 40.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/1.065, allocations: 100.3 kB / 0.6755 GB, free: 40.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0675/1.132, allocations: 16.73 MB / 0.6919 GB, free: 24.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/1.133, allocations: 23.17 kB / 0.6919 GB, free: 24.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/1.133, allocations: 25.48 kB / 0.6919 GB, free: 24.24 MB / 462.1 MB 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.00028/1.133, allocations: 193.6 kB / 0.6921 GB, free: 24.09 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/1.133, allocations: 57.25 kB / 0.6922 GB, free: 24.04 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/1.135, allocations: 1.589 MB / 0.6937 GB, free: 22.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/1.135, allocations: 13.41 kB / 0.6937 GB, free: 22.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/1.135, allocations: 0 / 0.6937 GB, free: 22.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001189/1.136, allocations: 1.179 MB / 0.6949 GB, free: 21.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/1.138, allocations: 1.492 MB / 0.6963 GB, free: 20.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.138, allocations: 4 kB / 0.6963 GB, free: 20.83 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003426/1.138, allocations: 81.78 kB / 0.6964 GB, free: 20.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002222/1.138, allocations: 48.52 kB / 0.6965 GB, free: 20.71 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/1.138, allocations: 7.375 kB / 0.6965 GB, free: 20.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006969/1.139, allocations: 1.301 MB / 0.6977 GB, free: 19.39 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.139, allocations: 3.984 kB / 0.6977 GB, free: 19.39 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/1.141, allocations: 1.218 MB / 0.6989 GB, free: 18.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-05/1.141, allocations: 35.7 kB / 0.699 GB, free: 18.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.629e-05/1.141, allocations: 7.812 kB / 0.699 GB, free: 18.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/1.141, allocations: 34.66 kB / 0.699 GB, free: 18.45 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.886e-05/1.141, allocations: 45.86 kB / 0.699 GB, free: 18.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/1.141, allocations: 14.94 kB / 0.6991 GB, free: 18.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001948/1.141, allocations: 221.6 kB / 0.6993 GB, free: 18.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/1.141, allocations: 0 / 0.6993 GB, free: 18.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005704/1.147, allocations: 2.439 MB / 0.7017 GB, free: 15.88 MB / 462.1 MB 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 ($cse5.phase,$cse6.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.009076/1.156, allocations: 3.738 MB / 0.7053 GB, free: 12.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001594/1.158, allocations: 0.908 MB / 0.7062 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.158, allocations: 0 / 0.7062 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007028/1.159, allocations: 468 kB / 0.7066 GB, free: 11.58 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/1.16, allocations: 375.9 kB / 0.707 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/1.162, allocations: 1.114 MB / 0.7081 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/1.162, allocations: 246.3 kB / 0.7083 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003176/1.162, allocations: 156.1 kB / 0.7085 GB, free: 9.879 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.656e-05/1.162, allocations: 44.11 kB / 0.7085 GB, free: 9.84 MB / 462.1 MB Notification: Performance of SimCode: time 8.92e-07/1.162, allocations: 0 / 0.7085 GB, free: 9.84 MB / 462.1 MB Notification: Performance of Templates: time 0.1103/1.272, allocations: 77.95 MB / 0.7846 GB, free: 12.4 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.221122559159994]