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.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.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 105 kB / 16.35 MB, free: 5.824 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.001256/0.001256, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01134/0.01134, allocations: 2.765 MB / 293.9 MB, free: 11.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.89 kB / 355.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2421, allocations: 50.23 MB / 406.1 MB, free: 32.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.01511/0.2572, allocations: 19.12 MB / 425.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003858/0.2611, allocations: 6.076 MB / 431.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.2614, allocations: 0 / 431.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006795/0.2621, allocations: 254.5 kB / 431.5 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002935/0.2651, allocations: 1.206 MB / 432.7 MB, free: 6.047 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.2654, allocations: 87.36 kB / 432.8 MB, free: 5.961 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.2658, allocations: 301.9 kB / 433.1 MB, free: 5.664 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.112e-05/0.2659, allocations: 24.73 kB / 433.1 MB, free: 5.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.098e-05/0.266, allocations: 99.47 kB / 433.2 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.2661, allocations: 115.4 kB / 433.3 MB, free: 5.426 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.2661, allocations: 8 kB / 433.3 MB, free: 5.418 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2616/0.5277, allocations: 38.45 MB / 471.8 MB, free: 28 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.5278, allocations: 39.83 kB / 471.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.5281, allocations: 123.3 kB / 472 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.5305, allocations: 0.5064 MB / 472.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.898e-06/0.5306, allocations: 3.984 kB / 472.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5306, allocations: 0 / 472.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.5306, allocations: 0 / 472.5 MB, free: 15.36 MB / 350.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.00079/0.5314, allocations: 0.5617 MB / 473 MB, free: 14.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5314, allocations: 12.03 kB / 473 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008356/0.5323, allocations: 200.5 kB / 473.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.5324, allocations: 192 kB / 473.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.5325, allocations: 20.94 kB / 473.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.5325, allocations: 27.94 kB / 473.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/0.533, allocations: 341.6 kB / 473.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.533, allocations: 0 / 473.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.533, allocations: 4 kB / 473.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.5331, allocations: 19.98 kB / 473.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.5334, allocations: 263.9 kB / 474.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.5351, allocations: 2.118 MB / 476.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.5353, allocations: 133.1 kB / 476.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.5355, allocations: 113.7 kB / 476.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006295/0.5361, allocations: 0.69 MB / 477.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.5361, allocations: 42.44 kB / 477.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.5361, allocations: 0 / 477.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003693/0.5365, allocations: 186.5 kB / 477.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.5366, allocations: 81.11 kB / 477.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.029e-05/0.5367, allocations: 101.9 kB / 477.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.5367, allocations: 29.77 kB / 477.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/0.5368, allocations: 160.1 kB / 477.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.12e-05/0.5369, allocations: 102.4 kB / 477.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.5369, allocations: 37.7 kB / 477.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.5371, allocations: 326.8 kB / 478.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.174e-05/0.5371, allocations: 31.98 kB / 478.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.555e-05/0.5372, allocations: 92.97 kB / 478.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.5374, allocations: 144.9 kB / 478.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5374, allocations: 0 / 478.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002463/0.5377, allocations: 169.2 kB / 478.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.5377, allocations: 4 kB / 478.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.5377, allocations: 4 kB / 478.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.5378, allocations: 0 / 478.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.789e-05/0.5378, allocations: 16 kB / 478.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.5379, allocations: 4 kB / 478.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.693e-05/0.5379, allocations: 11.84 kB / 478.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.5379, allocations: 7.938 kB / 478.7 MB, free: 8.516 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.0001137/0.5381, allocations: 134 kB / 478.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.5381, allocations: 11.81 kB / 478.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.5382, allocations: 16.44 kB / 478.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.5382, allocations: 0 / 478.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5382, allocations: 3.938 kB / 478.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5382, allocations: 4 kB / 478.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.5385, allocations: 273.1 kB / 479.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5385, allocations: 0 / 479.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.5386, allocations: 4 kB / 479.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5386, allocations: 0 / 479.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.5386, allocations: 4 kB / 479.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5386, allocations: 4 kB / 479.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5386, allocations: 0 / 479.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.5404, allocations: 319.1 kB / 479.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.5405, allocations: 96.8 kB / 479.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.5405, allocations: 3.938 kB / 479.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.5406, allocations: 4 kB / 479.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.5406, allocations: 0 / 479.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.5407, allocations: 19.88 kB / 479.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.771e-05/0.5407, allocations: 83.27 kB / 479.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5407, allocations: 0 / 479.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004328/0.5411, allocations: 79.75 kB / 479.7 MB, free: 7.379 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: 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.0003905/0.5415, allocations: 185.5 kB / 479.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003115/0.5419, allocations: 232.3 kB / 480.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.5419, allocations: 4 kB / 480.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.542, allocations: 201.3 kB / 480.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006535/0.5427, allocations: 95.88 kB / 480.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007574/0.5435, allocations: 0.4998 MB / 480.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.5438, allocations: 0.7955 MB / 481.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.5439, allocations: 33.19 kB / 481.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.544, allocations: 23.44 kB / 481.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.544, allocations: 0 / 481.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of Templates: time 0.009502/0.5535, allocations: 4.653 MB / 486.4 MB, free: 0.6289 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.makefile (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=480 -s gbode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1)