Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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_Tabular.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 102.1 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.001858/0.001858, allocations: 193.9 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01211/0.01211, allocations: 2.777 MB / 293.9 MB, free: 11.97 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001257, allocations: 63.91 kB / 355.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2176, allocations: 50.23 MB / 406.1 MB, free: 32.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.01654/0.2342, allocations: 19.13 MB / 425.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003681/0.2379, allocations: 6.076 MB / 431.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002583/0.2382, allocations: 0 / 431.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005861/0.2389, allocations: 250.5 kB / 431.5 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002967/0.2419, allocations: 1.21 MB / 432.7 MB, free: 6.043 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.2421, allocations: 87.36 kB / 432.8 MB, free: 5.957 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.2425, allocations: 305.8 kB / 433.1 MB, free: 5.656 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.028e-05/0.2426, allocations: 16.75 kB / 433.1 MB, free: 5.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.062e-05/0.2427, allocations: 91.55 kB / 433.2 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.2428, allocations: 115.4 kB / 433.3 MB, free: 5.434 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.2428, allocations: 8 kB / 433.3 MB, free: 5.426 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4704/0.7132, allocations: 38.94 MB / 472.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.941e-05/0.7133, allocations: 35.72 kB / 472.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003138/0.7136, allocations: 131.3 kB / 472.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002405/0.716, allocations: 0.5064 MB / 473 MB, free: 14.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.716, allocations: 0 / 473 MB, free: 14.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.716, allocations: 0 / 473 MB, free: 14.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.716, allocations: 0 / 473 MB, free: 14.86 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.0006758/0.7167, allocations: 0.5578 MB / 473.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.7168, allocations: 12.03 kB / 473.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008182/0.7176, allocations: 204.4 kB / 473.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.7177, allocations: 192.1 kB / 473.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.7178, allocations: 20.88 kB / 473.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.7178, allocations: 31.94 kB / 474 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.7183, allocations: 337.6 kB / 474.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.7183, allocations: 3.984 kB / 474.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.7184, allocations: 12 kB / 474.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.7184, allocations: 8 kB / 474.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/0.7187, allocations: 259.9 kB / 474.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.721, allocations: 2.13 MB / 476.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.7212, allocations: 133.1 kB / 476.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.7213, allocations: 113.7 kB / 476.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006983/0.722, allocations: 0.6822 MB / 477.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.7221, allocations: 38.56 kB / 477.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.884e-06/0.7221, allocations: 0 / 477.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003921/0.7225, allocations: 185.8 kB / 477.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.7225, allocations: 77.11 kB / 477.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.549e-05/0.7226, allocations: 105.8 kB / 478 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.7226, allocations: 29.7 kB / 478.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.206e-05/0.7227, allocations: 156.1 kB / 478.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.091e-05/0.7228, allocations: 106.4 kB / 478.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.7229, allocations: 37.7 kB / 478.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.723, allocations: 326.8 kB / 478.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-05/0.7231, allocations: 35.98 kB / 478.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.088e-05/0.7232, allocations: 81 kB / 478.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.7234, allocations: 153.7 kB / 478.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.7234, allocations: 0 / 478.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002505/0.7236, allocations: 161.3 kB / 479.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.7237, allocations: 4 kB / 479.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.7237, allocations: 11.88 kB / 479.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.7237, allocations: 4 kB / 479.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.336e-05/0.7238, allocations: 16.17 kB / 479.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.7238, allocations: 4 kB / 479.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.935e-05/0.7239, allocations: 11.84 kB / 479.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.7239, allocations: 7.938 kB / 479.1 MB, free: 8.02 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.0001151/0.724, allocations: 129.8 kB / 479.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.7241, allocations: 11.81 kB / 479.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.7241, allocations: 12.44 kB / 479.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7241, allocations: 0 / 479.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.7242, allocations: 0 / 479.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.7242, allocations: 7.984 kB / 479.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.7245, allocations: 277.1 kB / 479.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.7245, allocations: 3.984 kB / 479.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.538e-05/0.7245, allocations: 4 kB / 479.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.7246, allocations: 0 / 479.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.7246, allocations: 8 kB / 479.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.7246, allocations: 0 / 479.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.7246, allocations: 0 / 479.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.7262, allocations: 319.1 kB / 479.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.7263, allocations: 96.8 kB / 480 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.7263, allocations: 0 / 480 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.7264, allocations: 7.984 kB / 480 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.7264, allocations: 4 kB / 480 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.7265, allocations: 7.938 kB / 480 MB, free: 7.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.089e-05/0.7265, allocations: 79.28 kB / 480.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7265, allocations: 0 / 480.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004098/0.7269, allocations: 83.69 kB / 480.2 MB, free: 6.891 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.0003838/0.7273, allocations: 193.3 kB / 480.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.7277, allocations: 232 kB / 480.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7277, allocations: 0 / 480.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.7278, allocations: 209.8 kB / 480.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.7285, allocations: 79.92 kB / 480.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007395/0.7293, allocations: 0.5076 MB / 481.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.7296, allocations: 0.7956 MB / 482.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.7298, allocations: 37.17 kB / 482.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.7298, allocations: 19.44 kB / 482.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.7298, allocations: 8 kB / 482.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of Templates: time 0.009688/0.7395, allocations: 4.658 MB / 486.9 MB, free: 116 kB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1)