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.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.001426/0.001426, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001673/0.001673, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 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.505/1.505, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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.05428/0.05428, allocations: 7.511 MB / 267.1 MB, free: 6.02 MB / 250.7 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.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: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 338 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.079e-05, allocations: 5.125 kB / 338 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.3145/0.3146, allocations: 114.8 MB / 452.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1372/0.4518, allocations: 98.62 MB / 0.5384 GB, free: 4.652 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005608/0.4524, allocations: 11.94 kB / 0.5384 GB, free: 4.641 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003608/0.456, allocations: 1.241 MB / 0.5396 GB, free: 3.395 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004679/0.4606, allocations: 1.602 MB / 0.5412 GB, free: 1.785 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3015/0.7621, allocations: 31.58 MB / 0.572 GB, free: 14.68 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001926/0.764, allocations: 1.432 MB / 0.5734 GB, free: 14.34 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/0.7643, allocations: 85.41 kB / 0.5735 GB, free: 14.33 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01642/0.7807, allocations: 9.527 MB / 0.5828 GB, free: 13.82 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006736/0.7814, allocations: 341.5 kB / 0.5832 GB, free: 13.78 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.522e-05/0.7815, allocations: 42.62 kB / 0.5832 GB, free: 13.78 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04429/0.8258, allocations: 24.44 MB / 0.6071 GB, free: 11.55 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.8261, allocations: 123.1 kB / 0.6072 GB, free: 11.5 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006069/0.8267, allocations: 226.8 kB / 0.6074 GB, free: 11.47 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04034/0.867, allocations: 14.48 MB / 0.6215 GB, free: 5.047 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.867, allocations: 3.938 kB / 0.6215 GB, free: 5.043 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.867, allocations: 0 / 0.6215 GB, free: 5.043 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.867, allocations: 0 / 0.6215 GB, free: 5.043 MB / 426.7 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.007147/0.8742, allocations: 2.583 MB / 0.6241 GB, free: 2.535 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.8743, allocations: 12.62 kB / 0.6241 GB, free: 2.523 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009497/0.8752, allocations: 171.6 kB / 0.6242 GB, free: 2.367 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.8758, allocations: 292.9 kB / 0.6245 GB, free: 2.117 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.8758, allocations: 32.03 kB / 0.6246 GB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.221e-05/0.8759, allocations: 34.52 kB / 0.6246 GB, free: 2.078 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.8772, allocations: 0.7609 MB / 0.6253 GB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.8773, allocations: 4 kB / 0.6253 GB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.33e-05/0.8773, allocations: 14.88 kB / 0.6253 GB, free: 1.441 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.8773, allocations: 14.56 kB / 0.6254 GB, free: 1.434 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.8786, allocations: 0.5616 MB / 0.6259 GB, free: 1.043 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0023/0.8809, allocations: 1.635 MB / 0.6275 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.8823, allocations: 496 kB / 0.628 GB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006452/0.8829, allocations: 315.1 kB / 0.6283 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2663/1.149, allocations: 44.1 MB / 0.6713 GB, free: 6.695 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.493e-05/1.149, allocations: 42.91 kB / 0.6714 GB, free: 6.648 MB / 474.7 MB Notification: Performance of pre-optimization done (n=79): time 2.555e-06/1.149, allocations: 0 / 0.6714 GB, free: 6.648 MB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.006989/1.156, allocations: 2.275 MB / 0.6736 GB, free: 4.938 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/1.156, allocations: 55.41 kB / 0.6737 GB, free: 4.871 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/1.157, allocations: 225.2 kB / 0.6739 GB, free: 4.672 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.29e-05/1.157, allocations: 35.89 kB / 0.6739 GB, free: 4.637 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/1.157, allocations: 192.7 kB / 0.6741 GB, free: 4.473 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/1.157, allocations: 275 kB / 0.6744 GB, free: 4.238 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/1.157, allocations: 99.92 kB / 0.6745 GB, free: 4.168 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000231/1.157, allocations: 359.6 kB / 0.6748 GB, free: 3.828 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006096/1.158, allocations: 274.2 kB / 0.6751 GB, free: 3.66 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006961/1.159, allocations: 417.1 kB / 0.6755 GB, free: 3.332 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/1.16, allocations: 0.717 MB / 0.6762 GB, free: 2.625 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.16, allocations: 0 / 0.6762 GB, free: 2.625 MB / 474.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001852/1.162, allocations: 0.8331 MB / 0.677 GB, free: 1.809 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/1.162, allocations: 4 kB / 0.677 GB, free: 1.805 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/1.162, allocations: 4 kB / 0.677 GB, free: 1.801 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003414/1.162, allocations: 69.67 kB / 0.677 GB, free: 1.727 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/1.163, allocations: 101.5 kB / 0.6771 GB, free: 1.633 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07592/1.239, allocations: 16.71 MB / 0.6935 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/1.239, allocations: 31.97 kB / 0.6935 GB, free: 488 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.277e-05/1.239, allocations: 23.27 kB / 0.6935 GB, free: 468 kB / 490.7 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.0003488/1.24, allocations: 188.6 kB / 0.6937 GB, free: 272 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/1.24, allocations: 62.47 kB / 0.6938 GB, free: 212 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002672/1.243, allocations: 1.58 MB / 0.6953 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/1.243, allocations: 4 kB / 0.6953 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.243, allocations: 0 / 0.6953 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002132/1.245, allocations: 1.178 MB / 0.6964 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/1.248, allocations: 1.49 MB / 0.6979 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/1.248, allocations: 0 / 0.6979 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003823/1.248, allocations: 82 kB / 0.698 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002574/1.248, allocations: 43.47 kB / 0.698 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/1.248, allocations: 20.08 kB / 0.698 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/1.25, allocations: 1.291 MB / 0.6993 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.25, allocations: 4.031 kB / 0.6993 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/1.252, allocations: 1.215 MB / 0.7005 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/1.252, allocations: 39.73 kB / 0.7005 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/1.252, allocations: 12 kB / 0.7005 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/1.253, allocations: 27.98 kB / 0.7006 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/1.253, allocations: 57.61 kB / 0.7006 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/1.253, allocations: 8 kB / 0.7006 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003015/1.253, allocations: 223.1 kB / 0.7008 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/1.253, allocations: 0 / 0.7008 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007005/1.26, allocations: 2.438 MB / 0.7032 GB, free: 6.199 MB / 0.4948 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 ($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.01253/1.273, allocations: 3.728 MB / 0.7069 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002198/1.275, allocations: 0.9009 MB / 0.7077 GB, free: 1.918 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.275, allocations: 0 / 0.7077 GB, free: 1.918 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/1.276, allocations: 482.7 kB / 0.7082 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/1.278, allocations: 375.6 kB / 0.7086 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/1.28, allocations: 1.1 MB / 0.7096 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005589/1.281, allocations: 250.2 kB / 0.7099 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000494/1.281, allocations: 165.1 kB / 0.71 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/1.281, allocations: 36.5 kB / 0.7101 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of SimCode: time 9.32e-07/1.281, allocations: 0 / 0.7101 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.2576/1.539, allocations: 77.67 MB / 0.7859 GB, free: 271.3 MB / 0.5417 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: 12.160131065058522]