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.0007559/0.0007559, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007739/0.0007739, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8248/0.8248, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.007037/0.007037, allocations: 1.983 MB / 261.9 MB, free: 11.26 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 1.222e-06/1.222e-06, allocations: 0 / 385.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.216e-05/1.339e-05, allocations: 2.281 kB / 385.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.01111/0.01112, allocations: 17.27 MB / 403.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.01389, allocations: 5.27 MB / 408.5 MB, free: 4.758 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.01397, allocations: 4 kB / 408.5 MB, free: 4.754 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.01433, allocations: 206.6 kB / 408.7 MB, free: 4.551 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.01627, allocations: 1.225 MB / 409.9 MB, free: 3.316 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.01644, allocations: 91.3 kB / 410 MB, free: 3.227 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.01664, allocations: 321.5 kB / 410.3 MB, free: 2.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.01668, allocations: 12.94 kB / 410.3 MB, free: 2.898 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.535e-05/0.01677, allocations: 143.5 kB / 410.5 MB, free: 2.758 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.023e-05/0.01685, allocations: 83.77 kB / 410.5 MB, free: 2.676 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.01686, allocations: 8 kB / 410.6 MB, free: 2.668 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6795/0.6963, allocations: 38.66 MB / 449.2 MB, free: 4.309 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.6964, allocations: 35.92 kB / 449.2 MB, free: 4.301 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.6965, allocations: 93.39 kB / 449.3 MB, free: 4.227 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.6976, allocations: 0.507 MB / 449.8 MB, free: 3.969 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.6976, allocations: 0 / 449.8 MB, free: 3.969 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.6976, allocations: 0 / 449.8 MB, free: 3.969 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.6976, allocations: 0 / 449.8 MB, free: 3.969 MB / 330.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.0003664/0.698, allocations: 0.4912 MB / 450.3 MB, free: 3.512 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.698, allocations: 10.84 kB / 450.3 MB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003872/0.6984, allocations: 208.6 kB / 450.6 MB, free: 3.418 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.209e-05/0.6984, allocations: 124 kB / 450.7 MB, free: 3.277 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.6985, allocations: 28.03 kB / 450.7 MB, free: 3.258 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.6985, allocations: 29.56 kB / 450.7 MB, free: 3.238 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.6987, allocations: 341.3 kB / 451.1 MB, free: 3.051 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.6988, allocations: 0 / 451.1 MB, free: 3.051 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.6988, allocations: 15.56 kB / 451.1 MB, free: 3.043 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.6988, allocations: 10.86 kB / 451.1 MB, free: 3.035 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.6989, allocations: 273.2 kB / 451.4 MB, free: 2.898 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006191/0.6996, allocations: 0.8054 MB / 452.2 MB, free: 2.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.291e-05/0.6996, allocations: 95.14 kB / 452.3 MB, free: 2.246 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.297e-05/0.6997, allocations: 73.33 kB / 452.3 MB, free: 2.207 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002706/0.7, allocations: 0.5003 MB / 452.8 MB, free: 1.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.7, allocations: 30.56 kB / 452.9 MB, free: 1.691 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.072e-06/0.7, allocations: 0 / 452.9 MB, free: 1.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002153/0.7002, allocations: 189.8 kB / 453 MB, free: 1.555 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.7002, allocations: 80.23 kB / 453.1 MB, free: 1.461 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.371e-05/0.7003, allocations: 113.4 kB / 453.2 MB, free: 1.344 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.1e-06/0.7003, allocations: 25.7 kB / 453.3 MB, free: 1.312 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.7003, allocations: 164.6 kB / 453.4 MB, free: 1.156 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.7003, allocations: 106 kB / 453.5 MB, free: 1.066 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.7003, allocations: 37.34 kB / 453.6 MB, free: 1.031 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.363e-05/0.7004, allocations: 326.7 kB / 453.9 MB, free: 0.707 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.056e-05/0.7004, allocations: 32.48 kB / 453.9 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-05/0.7004, allocations: 90.55 kB / 454 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.753e-05/0.7005, allocations: 135.9 kB / 454.1 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7005, allocations: 0 / 454.1 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000114/0.7006, allocations: 167.2 kB / 454.3 MB, free: 396 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.7007, allocations: 4 kB / 454.3 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.7007, allocations: 0 / 454.3 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.7007, allocations: 4 kB / 454.3 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.191e-05/0.7007, allocations: 8 kB / 454.3 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.7007, allocations: 7.281 kB / 454.3 MB, free: 376 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.63e-05/0.7008, allocations: 27.84 kB / 454.3 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.7008, allocations: 4 kB / 454.3 MB, free: 348 kB / 330.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 5.314e-05/0.7008, allocations: 125.5 kB / 454.5 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.7009, allocations: 11.89 kB / 454.5 MB, free: 208 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.7009, allocations: 16.09 kB / 454.5 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.7009, allocations: 0 / 454.5 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.7009, allocations: 0 / 454.5 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.7009, allocations: 0 / 454.5 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.701, allocations: 194.6 kB / 454.7 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.701, allocations: 0 / 454.7 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.497e-06/0.701, allocations: 4 kB / 454.7 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.701, allocations: 4.656 kB / 454.7 MB, free: 0 / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.7011, allocations: 8.516 kB / 454.7 MB, free: 16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.7011, allocations: 11.22 kB / 454.7 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.7011, allocations: 0 / 454.7 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.7012, allocations: 305.8 kB / 455 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.7012, allocations: 11.89 kB / 455 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.7012, allocations: 4 kB / 455 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.648e-05/0.7013, allocations: 11.31 kB / 455 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.7013, allocations: 3.984 kB / 455 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.7013, allocations: 4 kB / 455 MB, free: 15.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.59e-05/0.7013, allocations: 91.34 kB / 455.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.7013, allocations: 0 / 455.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002505/0.7016, allocations: 87.16 kB / 455.2 MB, free: 15.51 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.0002634/0.7019, allocations: 194.1 kB / 455.4 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.702, allocations: 208.2 kB / 455.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.702, allocations: 0 / 455.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.076e-05/0.7021, allocations: 180.1 kB / 455.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.7025, allocations: 90.59 kB / 455.9 MB, free: 14.94 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.703, allocations: 0.5334 MB / 456.4 MB, free: 14.4 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.7032, allocations: 195.1 kB / 456.6 MB, free: 14.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.7032, allocations: 24.5 kB / 456.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.7032, allocations: 0 / 456.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of Templates: time 0.003768/0.707, allocations: 3.885 MB / 460.5 MB, free: 10.34 MB / 346.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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.833510373719037] Failed to read output from testmodel.py, exit status != 0: 0.7119323490187526 0.719634322 0.020445316 Calling exit ...