Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.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.001116/0.001116, 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.001333/0.001333, allocations: 169 kB / 23.02 MB, free: 1.551 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.9725/0.9725, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.007763/0.007763, allocations: 1.989 MB / 261.9 MB, free: 11.05 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.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 11.92 kB / 332.4 MB, free: 16.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.166e-05, allocations: 2.312 kB / 332.4 MB, free: 16.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.006019/0.006041, allocations: 9.635 MB / 342 MB, free: 7.227 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.007652, allocations: 3.177 MB / 345.2 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.424e-05/0.007746, allocations: 0 / 345.2 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.008012, allocations: 95.34 kB / 345.3 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.009286, allocations: 0.702 MB / 346 MB, free: 3.238 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.009483, allocations: 83.31 kB / 346.1 MB, free: 3.156 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.009715, allocations: 337.4 kB / 346.4 MB, free: 2.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.009757, allocations: 12.92 kB / 346.4 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.48e-05/0.009842, allocations: 139.6 kB / 346.5 MB, free: 2.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.131e-05/0.009924, allocations: 87.77 kB / 346.6 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.009941, allocations: 8 kB / 346.6 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5436/0.5536, allocations: 21.51 MB / 368.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.5536, allocations: 35.73 kB / 368.2 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.5538, allocations: 91.78 kB / 368.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008205/0.5546, allocations: 322.9 kB / 368.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.5546, allocations: 0 / 368.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5546, allocations: 0 / 368.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.5546, allocations: 0 / 368.6 MB, free: 14.7 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.0004995/0.5551, allocations: 0.574 MB / 369.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.5552, allocations: 8.031 kB / 369.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006175/0.5558, allocations: 428 kB / 369.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.314e-05/0.5559, allocations: 132.3 kB / 369.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.5559, allocations: 24.81 kB / 369.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.5559, allocations: 20.38 kB / 369.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.5562, allocations: 243.3 kB / 370 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.5562, allocations: 0 / 370 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.5562, allocations: 8 kB / 370 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.5562, allocations: 15.98 kB / 370 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.5563, allocations: 119.9 kB / 370.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007635/0.5571, allocations: 0.8666 MB / 371 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.652e-05/0.5572, allocations: 98.05 kB / 371.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.799e-05/0.5573, allocations: 63.45 kB / 371.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003842/0.5576, allocations: 0.6662 MB / 371.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.5577, allocations: 37.39 kB / 371.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.032e-06/0.5577, allocations: 0 / 371.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002404/0.5579, allocations: 174.3 kB / 372 MB, free: 11.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.5579, allocations: 77.11 kB / 372.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.168e-05/0.558, allocations: 161.9 kB / 372.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.558, allocations: 29.64 kB / 372.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.5581, allocations: 211.2 kB / 372.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.5581, allocations: 107 kB / 372.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.5582, allocations: 47.42 kB / 372.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5583, allocations: 0.4923 MB / 373.1 MB, free: 9.879 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.966e-05/0.5583, allocations: 23.98 kB / 373.2 MB, free: 9.855 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.572e-05/0.5584, allocations: 90.05 kB / 373.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.821e-05/0.5585, allocations: 129.9 kB / 373.4 MB, free: 9.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.5585, allocations: 7.938 kB / 373.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001397/0.5586, allocations: 165.8 kB / 373.5 MB, free: 9.414 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.5586, allocations: 4 kB / 373.5 MB, free: 9.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5586, allocations: 7.984 kB / 373.6 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5586, allocations: 0 / 373.6 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.542e-05/0.5587, allocations: 12 kB / 373.6 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5587, allocations: 3.938 kB / 373.6 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.783e-05/0.5587, allocations: 19.84 kB / 373.6 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.5587, allocations: 4 kB / 373.6 MB, free: 9.363 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 7.335e-05/0.5588, allocations: 164.5 kB / 373.8 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.5588, allocations: 8.078 kB / 373.8 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.5589, allocations: 20.45 kB / 373.8 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.5589, allocations: 0 / 373.8 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.5589, allocations: 0 / 373.8 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5589, allocations: 4 kB / 373.8 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.5591, allocations: 216.3 kB / 374 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5591, allocations: 3.938 kB / 374 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.079e-05/0.5591, allocations: 4 kB / 374 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.5591, allocations: 3.984 kB / 374 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.5591, allocations: 4 kB / 374 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.5591, allocations: 0 / 374 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5591, allocations: 0 / 374 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.5593, allocations: 418.9 kB / 374.4 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.5593, allocations: 19.78 kB / 374.4 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.5593, allocations: 0 / 374.4 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.5e-05/0.5594, allocations: 4 kB / 374.4 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.5594, allocations: 0 / 374.4 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.5594, allocations: 4 kB / 374.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.054e-05/0.5594, allocations: 127.2 kB / 374.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5594, allocations: 0 / 374.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.5597, allocations: 87.72 kB / 374.7 MB, free: 8.227 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.0002752/0.5599, allocations: 164 kB / 374.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.5601, allocations: 212.2 kB / 375 MB, free: 7.844 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.5601, allocations: 0 / 375 MB, free: 7.844 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.316e-05/0.5602, allocations: 181 kB / 375.2 MB, free: 7.652 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.5606, allocations: 92.52 kB / 375.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007785/0.5614, allocations: 0.5176 MB / 375.8 MB, free: 7.008 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.602e-05/0.5615, allocations: 105.2 kB / 375.9 MB, free: 6.887 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.305e-05/0.5615, allocations: 25.12 kB / 375.9 MB, free: 6.863 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.5616, allocations: 28.44 kB / 376 MB, free: 6.836 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5616, allocations: 4 kB / 376 MB, free: 6.832 MB / 298.7 MB Notification: Performance of Templates: time 0.005564/0.5671, allocations: 4.087 MB / 380.1 MB, free: 2.734 MB / 298.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.099633870180696]