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.001079/0.001079, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1328/0.1328, allocations: 2.755 MB / 293.1 MB, free: 3.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002227, allocations: 67.89 kB / 354.4 MB, free: 4.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1359, allocations: 50.24 MB / 404.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.1956/0.3315, allocations: 19.11 MB / 423.7 MB, free: 35.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003612/0.3352, allocations: 6.078 MB / 429.8 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.3353, allocations: 2.969 kB / 429.8 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006104/0.336, allocations: 255.3 kB / 430.1 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.3386, allocations: 1.212 MB / 431.3 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.3389, allocations: 84.41 kB / 431.4 MB, free: 35.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.3392, allocations: 305.1 kB / 431.7 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.993e-05/0.3392, allocations: 27.66 kB / 431.7 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.514e-05/0.3393, allocations: 96.98 kB / 431.8 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.3394, allocations: 109.2 kB / 431.9 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.3394, allocations: 6.312 kB / 431.9 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4683/0.8077, allocations: 38.62 MB / 470.5 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.787e-05/0.8078, allocations: 35.47 kB / 470.5 MB, free: 18.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.8081, allocations: 131.4 kB / 470.7 MB, free: 18.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002213/0.8103, allocations: 0.5018 MB / 471.2 MB, free: 17.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.8103, allocations: 0 / 471.2 MB, free: 17.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.8103, allocations: 1.125 kB / 471.2 MB, free: 17.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.8104, allocations: 0 / 471.2 MB, free: 17.89 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.0006122/0.811, allocations: 0.5597 MB / 471.7 MB, free: 17.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.811, allocations: 12.44 kB / 471.8 MB, free: 17.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008404/0.8119, allocations: 205 kB / 472 MB, free: 17.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.969e-05/0.812, allocations: 185.8 kB / 472.1 MB, free: 17.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.812, allocations: 19.84 kB / 472.2 MB, free: 17.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.812, allocations: 22.28 kB / 472.2 MB, free: 17.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.8125, allocations: 343.5 kB / 472.5 MB, free: 17.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.8125, allocations: 0 / 472.5 MB, free: 17.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.8125, allocations: 10.56 kB / 472.5 MB, free: 17.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.8125, allocations: 10.22 kB / 472.5 MB, free: 17.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.8128, allocations: 263.9 kB / 472.8 MB, free: 16.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.8142, allocations: 2.136 MB / 474.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.8144, allocations: 138.7 kB / 475.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.8145, allocations: 112.7 kB / 475.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005224/0.815, allocations: 0.6772 MB / 475.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.815, allocations: 35.59 kB / 475.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.372e-06/0.815, allocations: 4 kB / 475.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.000344/0.8154, allocations: 188 kB / 476.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.8154, allocations: 77.11 kB / 476.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.277e-05/0.8155, allocations: 109.9 kB / 476.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.088e-06/0.8155, allocations: 25.7 kB / 476.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.8156, allocations: 158.1 kB / 476.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.947e-05/0.8157, allocations: 104.7 kB / 476.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.8157, allocations: 37.7 kB / 476.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.791e-05/0.8158, allocations: 330 kB / 476.9 MB, free: 13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.834e-05/0.8159, allocations: 33.88 kB / 476.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.028e-05/0.816, allocations: 81.09 kB / 477 MB, free: 12.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.8161, allocations: 144.2 kB / 477.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8161, allocations: 0 / 477.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002302/0.8164, allocations: 161.2 kB / 477.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.8164, allocations: 5.688 kB / 477.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.8164, allocations: 2.281 kB / 477.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.8164, allocations: 5.062 kB / 477.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.8165, allocations: 16.89 kB / 477.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.8165, allocations: 6.25 kB / 477.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.111e-05/0.8166, allocations: 11.38 kB / 477.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.8166, allocations: 4.438 kB / 477.4 MB, free: 12.69 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 8.656e-05/0.8167, allocations: 131.5 kB / 477.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.811e-05/0.8168, allocations: 11.47 kB / 477.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.8168, allocations: 17.95 kB / 477.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.8169, allocations: 1.094 kB / 477.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8169, allocations: 1.125 kB / 477.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8169, allocations: 0 / 477.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.8172, allocations: 283.2 kB / 477.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8172, allocations: 1.031 kB / 477.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/0.8172, allocations: 7.312 kB / 477.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.8172, allocations: 1.25 kB / 477.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.8172, allocations: 2.188 kB / 477.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8172, allocations: 0 / 477.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.8172, allocations: 1.125 kB / 477.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.8187, allocations: 325 kB / 478.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.8187, allocations: 93.23 kB / 478.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.8187, allocations: 4.656 kB / 478.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.8189, allocations: 0 / 478.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.8189, allocations: 11.44 kB / 478.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.8189, allocations: 2.469 kB / 478.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.11e-05/0.8189, allocations: 83.12 kB / 478.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8189, allocations: 0 / 478.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004684/0.8194, allocations: 94.67 kB / 478.4 MB, free: 11.79 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.0003363/0.8197, allocations: 185.6 kB / 478.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002852/0.82, allocations: 228.9 kB / 478.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.82, allocations: 0 / 478.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.8202, allocations: 202.9 kB / 479 MB, free: 11.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007129/0.8209, allocations: 88.11 kB / 479.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006951/0.8216, allocations: 0.5156 MB / 479.6 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.8219, allocations: 0.8005 MB / 480.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.822, allocations: 26.97 kB / 480.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.8221, allocations: 22.28 kB / 480.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.8221, allocations: 0 / 480.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Templates: time 0.009265/0.8313, allocations: 4.673 MB / 485.1 MB, free: 9.746 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)