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.001148/0.001148, allocations: 93.06 kB / 19.65 MB, free: 280 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.00116/0.00116, allocations: 165.3 kB / 23.02 MB, free: 1.555 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.9853/0.9853, allocations: 177.1 MB / 203.4 MB, free: 5.176 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.0203/0.0203, allocations: 1.988 MB / 261.9 MB, free: 10.92 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.333e-06/1.333e-06, allocations: 3.938 kB / 332.4 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.109e-05, allocations: 6.312 kB / 332.4 MB, free: 1.941 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.007498/0.007519, allocations: 9.629 MB / 342 MB, free: 8.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.009615, allocations: 3.177 MB / 345.2 MB, free: 5.082 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.009678, allocations: 4 kB / 345.2 MB, free: 5.078 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.009925, allocations: 99.27 kB / 345.3 MB, free: 4.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.01096, allocations: 0.6904 MB / 346 MB, free: 4.285 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.01114, allocations: 95.25 kB / 346.1 MB, free: 4.191 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.01138, allocations: 329.4 kB / 346.4 MB, free: 3.867 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.01142, allocations: 12.92 kB / 346.4 MB, free: 3.855 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.01153, allocations: 139.6 kB / 346.5 MB, free: 3.719 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.132e-05/0.01162, allocations: 83.77 kB / 346.6 MB, free: 3.637 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.01164, allocations: 8 kB / 346.6 MB, free: 3.629 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5585/0.5701, allocations: 21.51 MB / 368.1 MB, free: 136 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.487e-05/0.5702, allocations: 35.72 kB / 368.2 MB, free: 100 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.5703, allocations: 87.81 kB / 368.2 MB, free: 12 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009801/0.5713, allocations: 326.9 kB / 368.6 MB, free: 15.69 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5713, allocations: 0 / 368.6 MB, free: 15.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5713, allocations: 0 / 368.6 MB, free: 15.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.5713, allocations: 4 kB / 368.6 MB, free: 15.69 MB / 346.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.0005391/0.5719, allocations: 0.5661 MB / 369.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.5719, allocations: 8.031 kB / 369.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008056/0.5727, allocations: 432 kB / 369.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.815e-05/0.5728, allocations: 136.2 kB / 369.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.5728, allocations: 20.88 kB / 369.7 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.5729, allocations: 24.31 kB / 369.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.5732, allocations: 239.3 kB / 370 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.5732, allocations: 0 / 370 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.5732, allocations: 12 kB / 370 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.5732, allocations: 19.98 kB / 370 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.5734, allocations: 112 kB / 370.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009438/0.5743, allocations: 0.8818 MB / 371 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.5744, allocations: 97.95 kB / 371.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.5745, allocations: 63.45 kB / 371.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004992/0.575, allocations: 0.6624 MB / 371.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.575, allocations: 45.33 kB / 371.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 1.012e-06/0.575, allocations: 0 / 371.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002965/0.5753, allocations: 173.4 kB / 372 MB, free: 12.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.5754, allocations: 77.11 kB / 372.1 MB, free: 11.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.5755, allocations: 173.8 kB / 372.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.5755, allocations: 25.7 kB / 372.3 MB, free: 11.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.5756, allocations: 207.3 kB / 372.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.5756, allocations: 107 kB / 372.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.5757, allocations: 39.36 kB / 372.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5758, allocations: 0.4962 MB / 373.1 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.756e-05/0.5758, allocations: 23.98 kB / 373.2 MB, free: 10.83 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.5759, allocations: 85.97 kB / 373.3 MB, free: 10.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.576, allocations: 138.8 kB / 373.4 MB, free: 10.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.576, allocations: 7.938 kB / 373.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001881/0.5762, allocations: 161.7 kB / 373.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5762, allocations: 7.984 kB / 373.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5762, allocations: 4 kB / 373.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.5763, allocations: 0 / 373.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.462e-05/0.5763, allocations: 12 kB / 373.6 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5763, allocations: 0 / 373.6 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.382e-05/0.5764, allocations: 19.84 kB / 373.6 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.5764, allocations: 4 kB / 373.6 MB, free: 10.34 MB / 346.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 8.902e-05/0.5765, allocations: 168.6 kB / 373.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.5765, allocations: 11.95 kB / 373.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.5766, allocations: 16.45 kB / 373.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5766, allocations: 0 / 373.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.5766, allocations: 0 / 373.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5766, allocations: 0 / 373.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.5768, allocations: 208.4 kB / 374 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.5768, allocations: 3.938 kB / 374 MB, free: 9.898 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.716e-05/0.5768, allocations: 4 kB / 374 MB, free: 9.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5768, allocations: 0 / 374 MB, free: 9.895 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.5768, allocations: 12 kB / 374 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5768, allocations: 7.984 kB / 374 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5768, allocations: 0 / 374 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.5771, allocations: 403 kB / 374.4 MB, free: 9.461 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.5771, allocations: 19.78 kB / 374.4 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.5771, allocations: 0 / 374.4 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/0.5772, allocations: 8 kB / 374.4 MB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.5772, allocations: 3.984 kB / 374.4 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.5772, allocations: 4 kB / 374.5 MB, free: 9.426 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.651e-05/0.5773, allocations: 127.4 kB / 374.6 MB, free: 9.301 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5773, allocations: 0 / 374.6 MB, free: 9.301 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003548/0.5776, allocations: 87.72 kB / 374.7 MB, free: 9.215 MB / 346.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.0003446/0.578, allocations: 164.7 kB / 374.8 MB, free: 9.047 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.5782, allocations: 200.3 kB / 375 MB, free: 8.832 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5782, allocations: 0 / 375 MB, free: 8.832 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.5783, allocations: 181 kB / 375.2 MB, free: 8.641 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.5789, allocations: 96.2 kB / 375.3 MB, free: 8.547 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009546/0.5798, allocations: 0.506 MB / 375.8 MB, free: 8.008 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.256e-05/0.5799, allocations: 105.2 kB / 375.9 MB, free: 7.887 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.001e-05/0.58, allocations: 33.19 kB / 375.9 MB, free: 7.855 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.5801, allocations: 28.5 kB / 376 MB, free: 7.824 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5801, allocations: 0 / 376 MB, free: 7.824 MB / 346.7 MB Notification: Performance of Templates: time 0.006955/0.587, allocations: 4.072 MB / 380 MB, free: 3.742 MB / 346.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.218096657190472]