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.001301/0.001301, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001736/0.001736, allocations: 173 kB / 23.49 MB, free: 1.062 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 0.8853/0.8853, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.03072/0.03072, allocations: 7.521 MB / 267.8 MB, free: 6.062 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.052e-06/1.052e-06, allocations: 0 / 338.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.339e-05, allocations: 2.312 kB / 338.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.1897/0.1897, allocations: 129.9 MB / 468.6 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2241/0.4139, allocations: 112.6 MB / 0.5676 GB, free: 3.465 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004001/0.4143, allocations: 11.17 kB / 0.5676 GB, free: 3.465 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.4161, allocations: 1.248 MB / 0.5688 GB, free: 3.457 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.4183, allocations: 1.599 MB / 0.5704 GB, free: 3.445 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04249/0.4608, allocations: 31.59 MB / 0.6013 GB, free: 15.81 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.462, allocations: 1.431 MB / 0.6027 GB, free: 15.48 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.4622, allocations: 88.53 kB / 0.6027 GB, free: 15.47 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008909/0.4711, allocations: 9.528 MB / 0.612 GB, free: 12.86 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.4714, allocations: 336.4 kB / 0.6124 GB, free: 12.76 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.4715, allocations: 42 kB / 0.6124 GB, free: 12.76 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02803/0.4995, allocations: 24.44 MB / 0.6363 GB, free: 5.125 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.4996, allocations: 133.6 kB / 0.6364 GB, free: 5.051 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.4998, allocations: 221.2 kB / 0.6366 GB, free: 4.891 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01845/0.5183, allocations: 14.19 MB / 0.6505 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5183, allocations: 0 / 0.6505 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5183, allocations: 0 / 0.6505 GB, free: 10.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.5183, allocations: 3.938 kB / 0.6505 GB, free: 10.06 MB / 458.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.003959/0.5223, allocations: 2.678 MB / 0.6531 GB, free: 7.344 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.5223, allocations: 8.625 kB / 0.6531 GB, free: 7.336 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004696/0.5228, allocations: 182.8 kB / 0.6533 GB, free: 7.156 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.5231, allocations: 281 kB / 0.6535 GB, free: 6.871 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.5231, allocations: 32.59 kB / 0.6536 GB, free: 6.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.5232, allocations: 39.98 kB / 0.6536 GB, free: 6.801 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000957/0.5241, allocations: 0.6089 MB / 0.6542 GB, free: 6.129 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.5241, allocations: 4 kB / 0.6542 GB, free: 6.125 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.5242, allocations: 12 kB / 0.6542 GB, free: 6.113 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.885e-05/0.5242, allocations: 24.44 kB / 0.6542 GB, free: 6.094 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/0.5247, allocations: 273.6 kB / 0.6545 GB, free: 5.832 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.526, allocations: 1.807 MB / 0.6563 GB, free: 4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005216/0.5266, allocations: 280.7 kB / 0.6565 GB, free: 3.719 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.5267, allocations: 117.2 kB / 0.6566 GB, free: 3.602 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09685/0.6235, allocations: 41.69 MB / 0.6974 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.6236, allocations: 41.61 kB / 0.6974 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=79): time 2.334e-06/0.6236, allocations: 0 / 0.6974 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83): time 0.002771/0.6264, allocations: 1.473 MB / 0.6988 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.6264, allocations: 55.41 kB / 0.6989 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.6265, allocations: 274.6 kB / 0.6992 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.6266, allocations: 33.7 kB / 0.6992 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.505e-05/0.6267, allocations: 246.5 kB / 0.6994 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.6268, allocations: 291.2 kB / 0.6997 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.6269, allocations: 115.8 kB / 0.6998 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.627, allocations: 0.5313 MB / 0.7003 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.6272, allocations: 101.4 kB / 0.7004 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.6274, allocations: 274.7 kB / 0.7007 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.6278, allocations: 419.6 kB / 0.7011 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6278, allocations: 0 / 0.7011 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0005656/0.6283, allocations: 0.4885 MB / 0.7016 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.6283, allocations: 11.98 kB / 0.7016 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.6283, allocations: 4 kB / 0.7016 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.6285, allocations: 55.78 kB / 0.7016 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.6287, allocations: 93.75 kB / 0.7017 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03325/0.662, allocations: 15.98 MB / 0.7173 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.6621, allocations: 27.92 kB / 0.7174 GB, free: 4.875 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.6622, allocations: 29.55 kB / 0.7174 GB, free: 4.848 MB / 0.5105 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.0001302/0.6623, allocations: 190.3 kB / 0.7176 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-05/0.6624, allocations: 55.75 kB / 0.7176 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.6636, allocations: 1.387 MB / 0.719 GB, free: 3.133 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.6636, allocations: 10.25 kB / 0.719 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.6636, allocations: 4 kB / 0.719 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005108/0.6642, allocations: 0.7543 MB / 0.7197 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009415/0.6651, allocations: 1.04 MB / 0.7207 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6651, allocations: 3.984 kB / 0.7207 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.6653, allocations: 67.16 kB / 0.7208 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001204/0.6654, allocations: 47.66 kB / 0.7208 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.6654, allocations: 8 kB / 0.7209 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006525/0.6661, allocations: 1.746 MB / 0.7226 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6661, allocations: 3.938 kB / 0.7226 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006606/0.6667, allocations: 0.7261 MB / 0.7233 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.6667, allocations: 39.66 kB / 0.7233 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.6668, allocations: 11.94 kB / 0.7233 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.6669, allocations: 19.98 kB / 0.7233 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.131e-05/0.667, allocations: 44 kB / 0.7234 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.667, allocations: 16 kB / 0.7234 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001372/0.6672, allocations: 235 kB / 0.7236 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.6672, allocations: 0 / 0.7236 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00389/0.671, allocations: 2.434 MB / 0.726 GB, free: 11.67 MB / 0.5261 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.005839/0.6769, allocations: 3.739 MB / 0.7296 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007702/0.6776, allocations: 0.7066 MB / 0.7303 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6777, allocations: 0 / 0.7303 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003422/0.678, allocations: 386.3 kB / 0.7307 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009373/0.6789, allocations: 370.1 kB / 0.7311 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.6804, allocations: 0.972 MB / 0.732 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.6806, allocations: 131.6 kB / 0.7321 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002694/0.6809, allocations: 160.9 kB / 0.7323 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/0.6809, allocations: 44.5 kB / 0.7323 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of SimCode: time 1.082e-06/0.6809, allocations: 4 kB / 0.7323 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of Templates: time 0.1499/0.8308, allocations: 78.13 MB / 0.8086 GB, free: 244.4 MB / 0.5417 GB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.028312015114352]