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.00135/0.00135, allocations: 107.3 kB / 16.36 MB, free: 6.285 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.00121/0.00121, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01142/0.01142, allocations: 2.779 MB / 293.9 MB, free: 12 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 55.91 kB / 355.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2555, allocations: 50.23 MB / 406.1 MB, free: 32.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.01413/0.2696, allocations: 19.13 MB / 425.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00331/0.273, allocations: 6.072 MB / 431.3 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.2732, allocations: 0 / 431.3 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005263/0.2737, allocations: 254.5 kB / 431.5 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.2761, allocations: 1.206 MB / 432.7 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.2763, allocations: 83.36 kB / 432.8 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.2766, allocations: 309.8 kB / 433.1 MB, free: 5.691 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.134e-05/0.2767, allocations: 20.73 kB / 433.1 MB, free: 5.668 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.644e-05/0.2768, allocations: 95.48 kB / 433.2 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.2769, allocations: 119.4 kB / 433.3 MB, free: 5.457 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.2769, allocations: 11.98 kB / 433.4 MB, free: 5.445 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2526/0.5296, allocations: 38.44 MB / 471.8 MB, free: 56 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.305e-05/0.5296, allocations: 35.78 kB / 471.8 MB, free: 20 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.5299, allocations: 135.4 kB / 472 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002349/0.5323, allocations: 0.4985 MB / 472.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.5323, allocations: 3.984 kB / 472.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5323, allocations: 0 / 472.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.5323, allocations: 0 / 472.5 MB, free: 15.38 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.0006338/0.533, allocations: 0.5694 MB / 473 MB, free: 14.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.533, allocations: 8.031 kB / 473 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008143/0.5338, allocations: 200.5 kB / 473.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.534, allocations: 195.9 kB / 473.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.534, allocations: 24.94 kB / 473.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.534, allocations: 23.94 kB / 473.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.5345, allocations: 333.6 kB / 473.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.5345, allocations: 4 kB / 473.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.5346, allocations: 8 kB / 473.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.5346, allocations: 15.98 kB / 473.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.5349, allocations: 259.8 kB / 474.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.5367, allocations: 2.134 MB / 476.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.5369, allocations: 129.1 kB / 476.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.537, allocations: 113.7 kB / 476.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006061/0.5377, allocations: 0.69 MB / 477.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.5377, allocations: 42.5 kB / 477.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.5377, allocations: 0 / 477.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003665/0.5381, allocations: 186.5 kB / 477.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.5381, allocations: 77.11 kB / 477.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.147e-05/0.5382, allocations: 101.9 kB / 477.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.5382, allocations: 25.7 kB / 477.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.5383, allocations: 160.1 kB / 477.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.5384, allocations: 102.4 kB / 477.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.5385, allocations: 37.77 kB / 477.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5386, allocations: 330.8 kB / 478.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.629e-05/0.5386, allocations: 35.97 kB / 478.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-05/0.5387, allocations: 84.92 kB / 478.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.5389, allocations: 149 kB / 478.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5389, allocations: 0 / 478.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002216/0.5392, allocations: 165.2 kB / 478.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.5392, allocations: 4 kB / 478.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.5392, allocations: 4 kB / 478.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.5392, allocations: 4.188 kB / 478.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.5393, allocations: 8 kB / 478.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.5393, allocations: 4 kB / 478.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.408e-05/0.5394, allocations: 19.78 kB / 478.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.5394, allocations: 7.938 kB / 478.7 MB, free: 8.535 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.0001088/0.5395, allocations: 125.8 kB / 478.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.5396, allocations: 11.81 kB / 478.8 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.5396, allocations: 12.44 kB / 478.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.5396, allocations: 0 / 478.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5396, allocations: 7.938 kB / 478.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5397, allocations: 7.938 kB / 478.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.54, allocations: 277.1 kB / 479.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.54, allocations: 0 / 479.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.54, allocations: 4 kB / 479.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.54, allocations: 0 / 479.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.54, allocations: 4 kB / 479.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.5401, allocations: 0 / 479.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5401, allocations: 0 / 479.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.5418, allocations: 327.1 kB / 479.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.5419, allocations: 96.8 kB / 479.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.5419, allocations: 0 / 479.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.542, allocations: 4 kB / 479.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.5421, allocations: 0 / 479.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.5421, allocations: 11.94 kB / 479.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.319e-05/0.5421, allocations: 87.27 kB / 479.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5421, allocations: 0 / 479.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004791/0.5426, allocations: 83.75 kB / 479.7 MB, free: 7.398 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.000385/0.543, allocations: 185.5 kB / 479.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003329/0.5433, allocations: 228 kB / 480.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.5434, allocations: 3.938 kB / 480.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.5435, allocations: 205.8 kB / 480.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000651/0.5442, allocations: 91.86 kB / 480.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.5453, allocations: 0.5037 MB / 480.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.5457, allocations: 0.8034 MB / 481.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.5458, allocations: 21.2 kB / 481.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.5458, allocations: 27.44 kB / 481.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5458, allocations: 0 / 481.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of Templates: time 0.009394/0.5552, allocations: 4.644 MB / 486.4 MB, free: 0.6484 MB / 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 -s gbode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1)