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.001103/0.001103, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001079/0.001079, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1282/0.1282, allocations: 2.784 MB / 293.9 MB, free: 4.355 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.0003082, allocations: 8 kB / 355.6 MB, free: 4.328 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1145, allocations: 51.25 MB / 406.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.2408/0.3553, allocations: 17.5 MB / 424.4 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004428/0.3598, allocations: 5.6 MB / 430 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.36, allocations: 0 / 430 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005034/0.3605, allocations: 224.3 kB / 430.2 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002354/0.3628, allocations: 1.055 MB / 431.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.3631, allocations: 80.33 kB / 431.3 MB, free: 34.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.3633, allocations: 285.7 kB / 431.6 MB, free: 34.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.083e-05/0.3634, allocations: 26.17 kB / 431.6 MB, free: 34.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.842e-05/0.3635, allocations: 85.7 kB / 431.7 MB, free: 34.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.3636, allocations: 111.3 kB / 431.8 MB, free: 34.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.3637, allocations: 5.5 kB / 431.8 MB, free: 34.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3045/0.6682, allocations: 32.85 MB / 464.7 MB, free: 31.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.59e-05/0.6683, allocations: 28.55 kB / 464.7 MB, free: 31.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.6686, allocations: 75.39 kB / 464.8 MB, free: 31.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009263/0.6695, allocations: 352.9 kB / 465.1 MB, free: 31.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.6695, allocations: 0 / 465.1 MB, free: 31.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.6695, allocations: 0 / 465.1 MB, free: 31.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.6695, allocations: 3.938 kB / 465.1 MB, free: 31.81 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.0005924/0.6701, allocations: 0.5325 MB / 465.7 MB, free: 31.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.6702, allocations: 9.781 kB / 465.7 MB, free: 31.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007857/0.671, allocations: 203.5 kB / 465.9 MB, free: 31.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.576e-05/0.6711, allocations: 182.1 kB / 466 MB, free: 31.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.6711, allocations: 18.95 kB / 466.1 MB, free: 31.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.6711, allocations: 23.81 kB / 466.1 MB, free: 31.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.6715, allocations: 331.1 kB / 466.4 MB, free: 31.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.6716, allocations: 0 / 466.4 MB, free: 31.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.6716, allocations: 14.88 kB / 466.4 MB, free: 31.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.6716, allocations: 13.27 kB / 466.4 MB, free: 31.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.6719, allocations: 264.5 kB / 466.7 MB, free: 31.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.6731, allocations: 2.127 MB / 468.8 MB, free: 29.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.6732, allocations: 127.1 kB / 468.9 MB, free: 29.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.6734, allocations: 119.6 kB / 469.1 MB, free: 29.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004776/0.6738, allocations: 0.6889 MB / 469.8 MB, free: 28.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.6739, allocations: 38.03 kB / 469.8 MB, free: 28.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.373e-06/0.6739, allocations: 2.531 kB / 469.8 MB, free: 28.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003378/0.6742, allocations: 183.5 kB / 470 MB, free: 28.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.6743, allocations: 77.11 kB / 470 MB, free: 28.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.6744, allocations: 106.4 kB / 470.1 MB, free: 28.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.6744, allocations: 25.7 kB / 470.2 MB, free: 28.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.6744, allocations: 159.2 kB / 470.3 MB, free: 27.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/0.6745, allocations: 99.06 kB / 470.4 MB, free: 27.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.6745, allocations: 0 / 470.4 MB, free: 27.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.6746, allocations: 323.1 kB / 470.7 MB, free: 27.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.982e-05/0.6747, allocations: 34.55 kB / 470.8 MB, free: 27.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.077e-05/0.6747, allocations: 93.28 kB / 470.9 MB, free: 27.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.234e-05/0.6748, allocations: 49.05 kB / 470.9 MB, free: 27.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6748, allocations: 3.953 kB / 470.9 MB, free: 27.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001963/0.675, allocations: 156.1 kB / 471.1 MB, free: 27.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.6751, allocations: 9.625 kB / 471.1 MB, free: 27.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.6751, allocations: 2.906 kB / 471.1 MB, free: 27.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.6751, allocations: 1.781 kB / 471.1 MB, free: 27.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.522e-05/0.6752, allocations: 9.375 kB / 471.1 MB, free: 27.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.6752, allocations: 3.938 kB / 471.1 MB, free: 27.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.6753, allocations: 40.61 kB / 471.1 MB, free: 27.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.6753, allocations: 2.656 kB / 471.1 MB, free: 27.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.174e-05/0.6754, allocations: 128.3 kB / 471.3 MB, free: 27.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.6755, allocations: 19.5 kB / 471.3 MB, free: 27.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004823/0.676, allocations: 425.1 kB / 471.7 MB, free: 27.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003171/0.6763, allocations: 331.4 kB / 472 MB, free: 27.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.6763, allocations: 5.562 kB / 472 MB, free: 27.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.6763, allocations: 0 / 472 MB, free: 27.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009576/0.6773, allocations: 1.031 MB / 473.1 MB, free: 26.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.6773, allocations: 0 / 473.1 MB, free: 26.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.6774, allocations: 55.95 kB / 473.1 MB, free: 26.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.6774, allocations: 0 / 473.1 MB, free: 26.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.6775, allocations: 7.344 kB / 473.1 MB, free: 26.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6775, allocations: 0 / 473.1 MB, free: 26.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6775, allocations: 2.938 kB / 473.1 MB, free: 26.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.6778, allocations: 0.4972 MB / 473.6 MB, free: 26.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.6779, allocations: 104.7 kB / 473.7 MB, free: 26.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.6779, allocations: 4 kB / 473.7 MB, free: 26.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.6781, allocations: 50.39 kB / 473.8 MB, free: 25.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.6782, allocations: 22.8 kB / 473.8 MB, free: 25.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.6782, allocations: 4 kB / 473.8 MB, free: 25.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.165e-05/0.6782, allocations: 83.28 kB / 473.9 MB, free: 25.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.6782, allocations: 4 kB / 473.9 MB, free: 25.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004/0.6786, allocations: 111.6 kB / 474 MB, free: 25.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003263/0.6789, allocations: 195.1 kB / 474.2 MB, free: 25.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.6793, allocations: 301.7 kB / 474.5 MB, free: 25.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6793, allocations: 0 / 474.5 MB, free: 25.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.6794, allocations: 169.2 kB / 474.6 MB, free: 25.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000873/0.6803, allocations: 161.2 kB / 474.8 MB, free: 25.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000769/0.6811, allocations: 0.8121 MB / 475.6 MB, free: 24.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.6813, allocations: 0.8072 MB / 476.4 MB, free: 23.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.6815, allocations: 29.03 kB / 476.5 MB, free: 23.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.6815, allocations: 31.38 kB / 476.5 MB, free: 23.46 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.6815, allocations: 0 / 476.5 MB, free: 23.46 MB / 350.1 MB Notification: Performance of Templates: time 0.01029/0.6918, allocations: 5.544 MB / 482 MB, free: 20.34 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1) Environment - environmentSimulation: