Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.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.001269/0.001269, allocations: 93.06 kB / 19.65 MB, free: 276 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.001397/0.001397, allocations: 169 kB / 23.02 MB, free: 1.547 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.9438/0.9438, allocations: 177.1 MB / 203.4 MB, free: 5.402 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.008229/0.008229, allocations: 1.993 MB / 261.9 MB, free: 10.93 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 332.3 MB, free: 2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.668e-05, allocations: 6.25 kB / 332.4 MB, free: 1.992 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.01227/0.01229, allocations: 11.94 MB / 344.3 MB, free: 5.996 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.02276, allocations: 12.17 MB / 356.5 MB, free: 9.781 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004048/0.02317, allocations: 0 / 356.5 MB, free: 9.781 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000595/0.02376, allocations: 214.4 kB / 356.7 MB, free: 9.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002931/0.02669, allocations: 1.26 MB / 357.9 MB, free: 8.301 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.02923, allocations: 1.165 MB / 359.1 MB, free: 7.129 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008731/0.0301, allocations: 0.9779 MB / 360.1 MB, free: 6.148 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.3e-05/0.03017, allocations: 33.89 kB / 360.1 MB, free: 6.113 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.5148/0.5449, allocations: 21.75 MB / 381.9 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004061/0.5454, allocations: 239.3 kB / 382.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.946e-05/0.5454, allocations: 40 kB / 382.1 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.5471, allocations: 0.6948 MB / 382.8 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.5473, allocations: 115.5 kB / 382.9 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.5475, allocations: 227.5 kB / 383.2 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.5492, allocations: 0.9307 MB / 384.1 MB, free: 140 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5492, allocations: 4 kB / 384.1 MB, free: 136 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5492, allocations: 0 / 384.1 MB, free: 136 kB / 346.7 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.5492, allocations: 0 / 384.1 MB, free: 136 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00112/0.5503, allocations: 0.9981 MB / 385.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.5504, allocations: 8.031 kB / 385.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.5518, allocations: 1.034 MB / 386.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.5521, allocations: 275.7 kB / 386.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.5522, allocations: 49.69 kB / 386.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.537e-05/0.5522, allocations: 52.38 kB / 386.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008098/0.553, allocations: 0.7743 MB / 387.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.553, allocations: 7.938 kB / 387.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.5531, allocations: 24 kB / 387.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.5531, allocations: 27.98 kB / 387.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/0.5535, allocations: 352.8 kB / 387.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.5555, allocations: 3.208 MB / 390.9 MB, free: 9.074 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004003/0.5559, allocations: 230.2 kB / 391.1 MB, free: 8.824 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.556, allocations: 107.3 kB / 391.2 MB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006625/0.5566, allocations: 0.9312 MB / 392.2 MB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.5567, allocations: 41.39 kB / 392.2 MB, free: 7.707 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 2.585e-06/0.5567, allocations: 0 / 392.2 MB, free: 7.707 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.0008027/0.5575, allocations: 0.549 MB / 392.7 MB, free: 7.152 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.5575, allocations: 81.11 kB / 392.8 MB, free: 7.055 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.5576, allocations: 233.7 kB / 393.1 MB, free: 6.809 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.5577, allocations: 25.7 kB / 393.1 MB, free: 6.777 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.5578, allocations: 339.2 kB / 393.4 MB, free: 6.438 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.5579, allocations: 253.7 kB / 393.7 MB, free: 6.188 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.609e-05/0.558, allocations: 99.62 kB / 393.8 MB, free: 6.078 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5581, allocations: 0.5156 MB / 394.3 MB, free: 5.551 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.739e-05/0.5582, allocations: 65.3 kB / 394.3 MB, free: 5.488 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.5584, allocations: 303.6 kB / 394.6 MB, free: 5.102 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.5587, allocations: 412.1 kB / 395 MB, free: 4.605 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5587, allocations: 0 / 395 MB, free: 4.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0003949/0.5591, allocations: 416.2 kB / 395.4 MB, free: 4.191 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.5591, allocations: 8.625 kB / 395.5 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.5591, allocations: 8 kB / 395.5 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.5591, allocations: 8 kB / 395.5 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.5593, allocations: 67.91 kB / 395.5 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.5593, allocations: 11.88 kB / 395.5 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.5594, allocations: 55.56 kB / 395.6 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.5594, allocations: 20 kB / 395.6 MB, free: 4.016 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.5595, allocations: 180.4 kB / 395.8 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.5596, allocations: 43.77 kB / 395.8 MB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.637e-05/0.5596, allocations: 29.97 kB / 395.9 MB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5596, allocations: 0 / 395.9 MB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5597, allocations: 11.94 kB / 395.9 MB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.5597, allocations: 3.984 kB / 395.9 MB, free: 3.742 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.56, allocations: 355.8 kB / 396.2 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.56, allocations: 7.938 kB / 396.2 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-05/0.56, allocations: 27.92 kB / 396.3 MB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.56, allocations: 7.984 kB / 396.3 MB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.56, allocations: 8 kB / 396.3 MB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.56, allocations: 0 / 396.3 MB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.56, allocations: 0 / 396.3 MB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.5604, allocations: 0.5726 MB / 396.9 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.5604, allocations: 35.69 kB / 396.9 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.5605, allocations: 4 kB / 396.9 MB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.413e-05/0.5606, allocations: 7.984 kB / 396.9 MB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.5606, allocations: 31.89 kB / 396.9 MB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.5606, allocations: 12 kB / 396.9 MB, free: 2.625 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.768e-05/0.5607, allocations: 147.2 kB / 397.1 MB, free: 2.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5607, allocations: 0 / 397.1 MB, free: 2.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003683/0.5611, allocations: 187.5 kB / 397.3 MB, free: 2.297 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003349/0.5614, allocations: 184 kB / 397.4 MB, free: 2.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004124/0.5618, allocations: 0.4958 MB / 397.9 MB, free: 1.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5618, allocations: 4 kB / 397.9 MB, free: 1.586 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.5621, allocations: 445.4 kB / 398.4 MB, free: 1.074 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006075/0.5627, allocations: 196.9 kB / 398.6 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.5639, allocations: 1.012 MB / 399.6 MB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.564, allocations: 164.8 kB / 399.7 MB, free: 15.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000307/0.5643, allocations: 213.9 kB / 400 MB, free: 15.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.5643, allocations: 52.5 kB / 400 MB, free: 15.39 MB / 378.7 MB Notification: Performance of SimCode: time 1.383e-06/0.5643, allocations: 0 / 400 MB, free: 15.39 MB / 378.7 MB Notification: Performance of Templates: time 0.01219/0.5765, allocations: 10.39 MB / 410.4 MB, free: 4.965 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.999922457151115]