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.001012/0.001012, allocations: 93.06 kB / 19.65 MB, free: 272 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.001725/0.001725, allocations: 169 kB / 23.02 MB, free: 1.543 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.021/1.021, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.02144/0.02144, allocations: 1.984 MB / 261.9 MB, free: 11.04 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.963e-06/1.963e-06, allocations: 0 / 332.4 MB, free: 16.9 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.93e-05, allocations: 8.781 kB / 332.4 MB, free: 16.89 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.006644/0.006674, allocations: 9.631 MB / 342 MB, free: 7.219 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.008335, allocations: 3.188 MB / 345.2 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.041e-05/0.008426, allocations: 0 / 345.2 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.00867, allocations: 99.33 kB / 345.3 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.009749, allocations: 0.6903 MB / 346 MB, free: 3.227 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.009967, allocations: 91.3 kB / 346.1 MB, free: 3.137 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.01023, allocations: 333.4 kB / 346.4 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.182e-05/0.01028, allocations: 16.92 kB / 346.4 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.0104, allocations: 143.6 kB / 346.5 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.147e-05/0.01049, allocations: 87.75 kB / 346.6 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.01051, allocations: 8 kB / 346.6 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5542/0.5647, allocations: 21.5 MB / 368.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.5648, allocations: 27.8 kB / 368.2 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.5649, allocations: 91.72 kB / 368.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009661/0.5659, allocations: 330.9 kB / 368.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.5659, allocations: 0 / 368.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5659, allocations: 3.938 kB / 368.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.5659, allocations: 0 / 368.6 MB, free: 14.68 MB / 298.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.0005162/0.5664, allocations: 0.5661 MB / 369.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.5665, allocations: 8.031 kB / 369.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005973/0.5671, allocations: 428 kB / 369.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.879e-05/0.5672, allocations: 132.3 kB / 369.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.5672, allocations: 16.88 kB / 369.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.5672, allocations: 24.36 kB / 369.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.5675, allocations: 251.2 kB / 370 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.5675, allocations: 0 / 370 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.5675, allocations: 12 kB / 370 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.5675, allocations: 7.984 kB / 370 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.5677, allocations: 123.9 kB / 370.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.5687, allocations: 0.8666 MB / 371 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.5688, allocations: 98.09 kB / 371.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.683e-05/0.5689, allocations: 67.31 kB / 371.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005643/0.5695, allocations: 0.6624 MB / 371.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.5695, allocations: 37.39 kB / 371.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.433e-06/0.5695, allocations: 0 / 371.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0003658/0.5699, allocations: 178.2 kB / 372 MB, free: 11.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.5699, allocations: 81.17 kB / 372.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.5701, allocations: 161.9 kB / 372.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.5701, allocations: 33.7 kB / 372.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.5702, allocations: 211.1 kB / 372.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.5703, allocations: 107 kB / 372.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-05/0.5703, allocations: 47.36 kB / 372.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.5705, allocations: 0.4923 MB / 373.1 MB, free: 9.859 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.272e-05/0.5705, allocations: 20 kB / 373.2 MB, free: 9.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.309e-05/0.5706, allocations: 94.03 kB / 373.3 MB, free: 9.723 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.5707, allocations: 130 kB / 373.4 MB, free: 9.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5708, allocations: 3.938 kB / 373.4 MB, free: 9.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000213/0.571, allocations: 169.6 kB / 373.6 MB, free: 9.395 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.571, allocations: 4 kB / 373.6 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.571, allocations: 0 / 373.6 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.571, allocations: 4 kB / 373.6 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-05/0.5711, allocations: 11.98 kB / 373.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.5711, allocations: 12.12 kB / 373.6 MB, free: 9.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.403e-05/0.5712, allocations: 15.84 kB / 373.6 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.5712, allocations: 4 kB / 373.6 MB, free: 9.344 MB / 298.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 0.0001073/0.5713, allocations: 164.5 kB / 373.8 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.5713, allocations: 7.953 kB / 373.8 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.5714, allocations: 8.469 kB / 373.8 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5714, allocations: 4 kB / 373.8 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.5714, allocations: 4 kB / 373.8 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5714, allocations: 0 / 373.8 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.5716, allocations: 216.2 kB / 374 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5716, allocations: 7.875 kB / 374 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/0.5717, allocations: 8 kB / 374 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5717, allocations: 192 / 374 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.5717, allocations: 0 / 374 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.5717, allocations: 4 kB / 374 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5717, allocations: 0 / 374 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.5719, allocations: 407 kB / 374.4 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.572, allocations: 27.77 kB / 374.4 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.572, allocations: 0 / 374.4 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.415e-05/0.5721, allocations: 0 / 374.4 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/0.5721, allocations: 4 kB / 374.4 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.5721, allocations: 0 / 374.4 MB, free: 8.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.93e-05/0.5721, allocations: 131.2 kB / 374.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5721, allocations: 0 / 374.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002504/0.5724, allocations: 87.7 kB / 374.7 MB, free: 8.215 MB / 298.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.0003193/0.5727, allocations: 164.2 kB / 374.8 MB, free: 8.059 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.573, allocations: 208.3 kB / 375 MB, free: 7.836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.573, allocations: 0 / 375 MB, free: 7.836 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.5731, allocations: 189.3 kB / 375.2 MB, free: 7.637 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.5735, allocations: 88.03 kB / 375.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008987/0.5744, allocations: 0.5215 MB / 375.8 MB, free: 6.992 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.245e-05/0.5745, allocations: 101.2 kB / 375.9 MB, free: 6.875 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.701e-05/0.5746, allocations: 25.12 kB / 375.9 MB, free: 6.852 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.5746, allocations: 24.5 kB / 376 MB, free: 6.828 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5746, allocations: 0 / 376 MB, free: 6.828 MB / 298.7 MB Notification: Performance of Templates: time 0.006849/0.5814, allocations: 4.686 MB / 380.7 MB, free: 2.133 MB / 298.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: 4.083958797156811]