Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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_Tabular.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009893/0.0009892, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009561/0.0009562, allocations: 194.1 kB / 16.14 MB, free: 6.703 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.254/1.254, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1242/0.1242, allocations: 2.755 MB / 292.7 MB, free: 3.836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 55.92 kB / 353.7 MB, free: 5.059 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1081, allocations: 50.24 MB / 404 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.1814/0.2895, allocations: 19.07 MB / 423 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004318/0.2938, allocations: 6.051 MB / 429.1 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.294, allocations: 0 / 429.1 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.2946, allocations: 247 kB / 429.3 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002436/0.2971, allocations: 1.111 MB / 430.4 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.2973, allocations: 76.34 kB / 430.5 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.2976, allocations: 306.4 kB / 430.8 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.488e-05/0.2977, allocations: 25.22 kB / 430.8 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.867e-05/0.2978, allocations: 85.39 kB / 430.9 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.2979, allocations: 119.3 kB / 431 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.2979, allocations: 6 kB / 431 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.7387/1.037, allocations: 35.51 MB / 466.5 MB, free: 21.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.383e-05/1.037, allocations: 32.02 kB / 466.6 MB, free: 21.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002371/1.037, allocations: 125.8 kB / 466.7 MB, free: 21.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001956/1.039, allocations: 0.5007 MB / 467.2 MB, free: 20.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.039, allocations: 0 / 467.2 MB, free: 20.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.42e-07/1.039, allocations: 1.125 kB / 467.2 MB, free: 20.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/1.039, allocations: 4 kB / 467.2 MB, free: 20.98 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.0005349/1.039, allocations: 0.5626 MB / 467.8 MB, free: 20.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/1.04, allocations: 9.094 kB / 467.8 MB, free: 20.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007874/1.04, allocations: 201 kB / 468 MB, free: 20.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.273e-05/1.04, allocations: 190.7 kB / 468.2 MB, free: 20.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/1.04, allocations: 21.38 kB / 468.2 MB, free: 20.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/1.04, allocations: 21 kB / 468.2 MB, free: 20.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000412/1.041, allocations: 340.4 kB / 468.5 MB, free: 20.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.041, allocations: 0 / 468.5 MB, free: 20.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/1.041, allocations: 13.19 kB / 468.5 MB, free: 20.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/1.041, allocations: 10.02 kB / 468.6 MB, free: 20.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002842/1.041, allocations: 262.6 kB / 468.8 MB, free: 20.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/1.042, allocations: 2.129 MB / 470.9 MB, free: 18.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/1.042, allocations: 134.7 kB / 471.1 MB, free: 17.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/1.043, allocations: 113.2 kB / 471.2 MB, free: 17.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004479/1.043, allocations: 0.685 MB / 471.9 MB, free: 17.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/1.043, allocations: 31.75 kB / 471.9 MB, free: 17.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.092e-06/1.043, allocations: 0 / 471.9 MB, free: 17.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003107/1.043, allocations: 184.6 kB / 472.1 MB, free: 17.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/1.043, allocations: 81.17 kB / 472.2 MB, free: 16.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.26e-05/1.043, allocations: 103.8 kB / 472.3 MB, free: 16.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/1.043, allocations: 25.7 kB / 472.3 MB, free: 16.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/1.044, allocations: 157.4 kB / 472.4 MB, free: 16.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/1.044, allocations: 107.2 kB / 472.5 MB, free: 16.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/1.044, allocations: 38.5 kB / 472.6 MB, free: 16.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.527e-05/1.044, allocations: 333.1 kB / 472.9 MB, free: 16.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.013e-05/1.044, allocations: 33.97 kB / 472.9 MB, free: 16.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/1.044, allocations: 88.03 kB / 473 MB, free: 16.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/1.044, allocations: 143.7 kB / 473.2 MB, free: 16.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.044, allocations: 0 / 473.2 MB, free: 16.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001836/1.044, allocations: 164.5 kB / 473.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/1.044, allocations: 3.938 kB / 473.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.044, allocations: 5.281 kB / 473.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/1.044, allocations: 2.625 kB / 473.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.301e-05/1.044, allocations: 8.812 kB / 473.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/1.044, allocations: 5.281 kB / 473.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/1.045, allocations: 32.66 kB / 473.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/1.045, allocations: 8.781 kB / 473.4 MB, free: 15.96 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 7.383e-05/1.045, allocations: 126.4 kB / 473.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/1.045, allocations: 15.53 kB / 473.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/1.045, allocations: 428.7 kB / 474 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003205/1.045, allocations: 338 kB / 474.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/1.046, allocations: 1.5 kB / 474.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.046, allocations: 4 kB / 474.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000945/1.046, allocations: 1.027 MB / 475.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.046, allocations: 3.938 kB / 475.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/1.047, allocations: 54.41 kB / 475.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/1.047, allocations: 10.31 kB / 475.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/1.047, allocations: 6.156 kB / 475.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/1.047, allocations: 2.219 kB / 475.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/1.047, allocations: 0 / 475.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/1.047, allocations: 0.501 MB / 475.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/1.047, allocations: 108.4 kB / 476 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/1.047, allocations: 6.094 kB / 476 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/1.047, allocations: 55.12 kB / 476.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/1.047, allocations: 19.75 kB / 476.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/1.047, allocations: 6.594 kB / 476.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.236e-05/1.047, allocations: 82.75 kB / 476.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.047, allocations: 0 / 476.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000398/1.048, allocations: 101.5 kB / 476.3 MB, free: 14.16 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.0003222/1.048, allocations: 202 kB / 476.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003497/1.049, allocations: 300.5 kB / 476.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.049, allocations: 0 / 476.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/1.049, allocations: 172.1 kB / 476.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009352/1.05, allocations: 160.6 kB / 477.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007921/1.05, allocations: 0.8057 MB / 477.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/1.051, allocations: 0.8071 MB / 478.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001259/1.051, allocations: 29.52 kB / 478.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/1.051, allocations: 23.97 kB / 478.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/1.051, allocations: 0.875 kB / 478.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of Templates: time 0.01026/1.061, allocations: 5.817 MB / 484.6 MB, free: 11.95 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe 2>&1)