Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.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.0006692/0.0006692, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009093/0.001579, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000697/0.000697, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008988/0.001596, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9355/0.9355, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07878/1.014, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.007628/0.007628, allocations: 1.989 MB / 245.9 MB, free: 12.87 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002003/0.009631, allocations: 1.235 MB / 247.2 MB, free: 11.64 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.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 248.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.757e-05, allocations: 2.312 kB / 248.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.007501/0.007518, allocations: 9.671 MB / 258.1 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.009461, allocations: 3.184 MB / 261.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.946e-05/0.009531, allocations: 0 / 261.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.009719, allocations: 103.3 kB / 261.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.01083, allocations: 0.6942 MB / 262.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.01101, allocations: 91.3 kB / 262.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.01126, allocations: 341.4 kB / 262.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.0113, allocations: 14.91 kB / 262.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.01142, allocations: 139.6 kB / 262.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.191e-05/0.0115, allocations: 91.7 kB / 262.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.01152, allocations: 8 kB / 262.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6503/0.6618, allocations: 21.55 MB / 284.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.6619, allocations: 22.34 kB / 284.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.662, allocations: 79.34 kB / 284.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007425/0.6627, allocations: 325.4 kB / 284.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.727e-05/0.6627, allocations: 3.797 kB / 284.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.6627, allocations: 2.375 kB / 284.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.6628, allocations: 0 / 284.8 MB, free: 12.6 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0004274/0.6632, allocations: 0.5056 MB / 285.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.6632, allocations: 8.469 kB / 285.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000593/0.6638, allocations: 0.5024 MB / 285.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.629e-05/0.6639, allocations: 132.8 kB / 285.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.6639, allocations: 17.64 kB / 285.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.6639, allocations: 20.88 kB / 286 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.6641, allocations: 225.5 kB / 286.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.6641, allocations: 0 / 286.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.6642, allocations: 13.28 kB / 286.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.6642, allocations: 10.17 kB / 286.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.6643, allocations: 103.2 kB / 286.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.6649, allocations: 0.6543 MB / 286.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.493e-05/0.6649, allocations: 60.59 kB / 287 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.6649, allocations: 46.94 kB / 287.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.6652, allocations: 448.8 kB / 287.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.6652, allocations: 39.03 kB / 287.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 8.41e-07/0.6652, allocations: 0 / 287.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0001629/0.6654, allocations: 133.2 kB / 287.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.828e-05/0.6654, allocations: 82.3 kB / 287.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.614e-05/0.6654, allocations: 118.9 kB / 287.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-06/0.6654, allocations: 26.7 kB / 287.9 MB, free: 10.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.6655, allocations: 160.1 kB / 288 MB, free: 10.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.6655, allocations: 110.1 kB / 288.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.6656, allocations: 40.94 kB / 288.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.236e-05/0.6656, allocations: 324.8 kB / 288.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.6656, allocations: 13.8 kB / 288.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.423e-05/0.6656, allocations: 60.48 kB / 288.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.895e-05/0.6657, allocations: 110.6 kB / 288.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.6657, allocations: 0 / 288.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001044/0.6658, allocations: 119 kB / 288.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.6658, allocations: 10.17 kB / 288.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6658, allocations: 2 kB / 288.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.6659, allocations: 2.188 kB / 288.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.068e-05/0.6659, allocations: 17.08 kB / 288.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.6659, allocations: 2.812 kB / 288.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/0.6659, allocations: 17.3 kB / 288.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.6659, allocations: 2.188 kB / 288.9 MB, free: 10.21 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 4.239e-05/0.666, allocations: 116 kB / 289 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.666, allocations: 9.672 kB / 289 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.666, allocations: 11.22 kB / 289 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.666, allocations: 1.188 kB / 289 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.666, allocations: 1.828 kB / 289 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.666, allocations: 0 / 289 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.6662, allocations: 132.1 kB / 289.1 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6662, allocations: 1.406 kB / 289.1 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-05/0.6662, allocations: 10.38 kB / 289.1 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.6662, allocations: 13.12 kB / 289.1 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.6662, allocations: 1.469 kB / 289.1 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.6662, allocations: 14.06 kB / 289.2 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.6662, allocations: 80 / 289.2 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6662, allocations: 5.453 kB / 289.2 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.6663, allocations: 272.2 kB / 289.4 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-06/0.6663, allocations: 3.172 kB / 289.4 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.085e-05/0.6664, allocations: 3.938 kB / 289.4 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.6664, allocations: 3.844 kB / 289.4 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.6664, allocations: 9.328 kB / 289.4 MB, free: 9.762 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.975e-06/0.6664, allocations: 13.61 kB / 289.5 MB, free: 9.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.6664, allocations: 0 / 289.5 MB, free: 9.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002002/0.6666, allocations: 83.27 kB / 289.5 MB, free: 9.73 MB / 266.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: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002616/0.6668, allocations: 167.6 kB / 289.7 MB, free: 9.629 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.667, allocations: 189.5 kB / 289.9 MB, free: 9.531 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.667, allocations: 5.438 kB / 289.9 MB, free: 9.527 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.546e-05/0.6671, allocations: 164.9 kB / 290.1 MB, free: 9.414 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.6674, allocations: 98.73 kB / 290.2 MB, free: 9.395 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.6703, allocations: 0.5119 MB / 290.7 MB, free: 9.098 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.988e-05/0.6704, allocations: 104.9 kB / 290.8 MB, free: 9.027 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.316e-05/0.6704, allocations: 33.06 kB / 290.8 MB, free: 9.016 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.6705, allocations: 114.8 kB / 290.9 MB, free: 8.969 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6705, allocations: 5.234 kB / 290.9 MB, free: 8.969 MB / 266.7 MB Notification: Performance of Templates: time 0.006161/0.6767, allocations: 4.847 MB / 295.8 MB, free: 7.887 MB / 266.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6231131516397]