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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009978/0.0009979, allocations: 103.7 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009815/0.0009815, allocations: 198.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01224/0.01224, allocations: 2.775 MB / 293.5 MB, free: 12.24 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 55.91 kB / 354.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2339, allocations: 50.23 MB / 404.8 MB, free: 33.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.01327/0.2472, allocations: 19.03 MB / 423.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003392/0.2506, allocations: 6.037 MB / 429.8 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.2508, allocations: 0 / 429.8 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005966/0.2515, allocations: 234.8 kB / 430.1 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002551/0.2541, allocations: 1.11 MB / 431.2 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.2543, allocations: 83.5 kB / 431.3 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.2546, allocations: 309.8 kB / 431.6 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.731e-05/0.2547, allocations: 16.75 kB / 431.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.773e-05/0.2548, allocations: 99.48 kB / 431.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.921e-05/0.2549, allocations: 111.5 kB / 431.8 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.2549, allocations: 8 kB / 431.8 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5082/0.7631, allocations: 38.11 MB / 469.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.7632, allocations: 27.8 kB / 469.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.7635, allocations: 135.3 kB / 470.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008104/0.7643, allocations: 367.1 kB / 470.4 MB, free: 452 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.7643, allocations: 0 / 470.4 MB, free: 452 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.7643, allocations: 0 / 470.4 MB, free: 452 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.7643, allocations: 0 / 470.4 MB, free: 452 kB / 334.1 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.0007376/0.7651, allocations: 0.5579 MB / 471 MB, free: 15.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.7651, allocations: 12.03 kB / 471 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008389/0.766, allocations: 196.5 kB / 471.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.7661, allocations: 192.1 kB / 471.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.7662, allocations: 28.86 kB / 471.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.7662, allocations: 27.94 kB / 471.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008638/0.7671, allocations: 337.6 kB / 471.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.7671, allocations: 0 / 471.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.7671, allocations: 11.94 kB / 471.8 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.7672, allocations: 11.98 kB / 471.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.7675, allocations: 259.9 kB / 472 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.7694, allocations: 2.126 MB / 474.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.7696, allocations: 133.1 kB / 474.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.7697, allocations: 109.8 kB / 474.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006917/0.7704, allocations: 0.6823 MB / 475.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.7704, allocations: 42.5 kB / 475.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.7704, allocations: 0 / 475.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003598/0.7708, allocations: 185.8 kB / 475.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.7709, allocations: 77.11 kB / 475.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.935e-05/0.771, allocations: 105.8 kB / 475.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.771, allocations: 29.64 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.921e-05/0.7711, allocations: 168 kB / 475.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.167e-05/0.7712, allocations: 98.41 kB / 475.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-05/0.7712, allocations: 41.77 kB / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.7714, allocations: 326.8 kB / 476.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.826e-05/0.7714, allocations: 31.98 kB / 476.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.974e-05/0.7715, allocations: 81 kB / 476.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.7717, allocations: 149.8 kB / 476.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7717, allocations: 0 / 476.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002301/0.772, allocations: 161.3 kB / 476.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.772, allocations: 7.906 kB / 476.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.772, allocations: 4.266 kB / 476.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.772, allocations: 4 kB / 476.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.799e-05/0.7721, allocations: 19.92 kB / 476.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.7721, allocations: 7.984 kB / 476.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.7723, allocations: 19.84 kB / 476.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.7723, allocations: 19.92 kB / 476.6 MB, free: 9.586 MB / 350.1 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.0001033/0.7724, allocations: 121.8 kB / 476.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.7724, allocations: 15.81 kB / 476.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005165/0.773, allocations: 422 kB / 477.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003848/0.7734, allocations: 337.5 kB / 477.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.7734, allocations: 0 / 477.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.7734, allocations: 3.984 kB / 477.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.7746, allocations: 1.05 MB / 478.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.7747, allocations: 0 / 478.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.7748, allocations: 43.98 kB / 478.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.7748, allocations: 0 / 478.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.7748, allocations: 11.98 kB / 478.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.7749, allocations: 7.875 kB / 478.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7749, allocations: 0 / 478.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004892/0.7753, allocations: 0.5021 MB / 479.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-05/0.7755, allocations: 108.8 kB / 479.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.7755, allocations: 4 kB / 479.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.7757, allocations: 43.73 kB / 479.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.7758, allocations: 19.97 kB / 479.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.7758, allocations: 8 kB / 479.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.717e-05/0.7758, allocations: 79.28 kB / 479.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7758, allocations: 0 / 479.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004411/0.7763, allocations: 107.7 kB / 479.5 MB, free: 6.602 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (state1.phase,$cse2.phase,state2.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * 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.0003651/0.7766, allocations: 193.2 kB / 479.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000465/0.7771, allocations: 323.1 kB / 480 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7771, allocations: 7.875 kB / 480 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.7773, allocations: 172 kB / 480.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009778/0.7783, allocations: 168.6 kB / 480.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.7794, allocations: 0.8377 MB / 481.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.7798, allocations: 0.8047 MB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.7799, allocations: 27.44 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.7799, allocations: 3.938 kB / 482 MB, free: 4.012 MB / 350.1 MB Notification: Performance of Templates: time 0.006432/0.7863, allocations: 3.584 MB / 485.6 MB, free: 448 kB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.makefile (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)