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.001249/0.001249, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.008943/0.008943, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.141/0.141, allocations: 2.777 MB / 294.2 MB, free: 4.332 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003546, allocations: 4 kB / 356.2 MB, free: 3.949 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1068, allocations: 51.25 MB / 407.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.2136/0.3205, allocations: 18.49 MB / 426 MB, free: 34.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0042/0.3247, allocations: 5.966 MB / 431.9 MB, free: 34.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.3248, allocations: 3.531 kB / 431.9 MB, free: 34.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005956/0.3254, allocations: 242.4 kB / 432.2 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002821/0.3283, allocations: 1.105 MB / 433.3 MB, free: 33.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.3286, allocations: 83.08 kB / 433.4 MB, free: 33.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.3289, allocations: 299.5 kB / 433.7 MB, free: 33.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.967e-05/0.329, allocations: 23.61 kB / 433.7 MB, free: 33.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.7e-05/0.329, allocations: 97.17 kB / 433.8 MB, free: 33.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.3292, allocations: 115.7 kB / 433.9 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3292, allocations: 5.969 kB / 433.9 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.7877/1.117, allocations: 35.5 MB / 469.4 MB, free: 19.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.859e-05/1.117, allocations: 28.27 kB / 469.4 MB, free: 19.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000291/1.117, allocations: 158.3 kB / 469.6 MB, free: 19.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002713/1.12, allocations: 498.7 kB / 470.1 MB, free: 19.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.12, allocations: 4 kB / 470.1 MB, free: 19.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/1.12, allocations: 0 / 470.1 MB, free: 19.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/1.12, allocations: 3.938 kB / 470.1 MB, free: 19.48 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.0005504/1.121, allocations: 0.531 MB / 470.6 MB, free: 19.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/1.121, allocations: 9.656 kB / 470.6 MB, free: 19.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008457/1.122, allocations: 198.7 kB / 470.8 MB, free: 19.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/1.122, allocations: 189.8 kB / 471 MB, free: 18.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/1.122, allocations: 21.81 kB / 471 MB, free: 18.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/1.122, allocations: 23.44 kB / 471 MB, free: 18.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/1.122, allocations: 348 kB / 471.4 MB, free: 18.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.122, allocations: 1.344 kB / 471.4 MB, free: 18.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/1.122, allocations: 9.031 kB / 471.4 MB, free: 18.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/1.122, allocations: 15.03 kB / 471.4 MB, free: 18.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/1.123, allocations: 258.4 kB / 471.6 MB, free: 18.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/1.124, allocations: 2.129 MB / 473.8 MB, free: 16.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/1.124, allocations: 139.9 kB / 473.9 MB, free: 16.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/1.124, allocations: 104.2 kB / 474 MB, free: 16.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005049/1.125, allocations: 0.6837 MB / 474.7 MB, free: 16.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/1.125, allocations: 35.91 kB / 474.7 MB, free: 16.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.512e-06/1.125, allocations: 4 kB / 474.7 MB, free: 16.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003697/1.125, allocations: 180.1 kB / 474.9 MB, free: 16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/1.125, allocations: 82.14 kB / 475 MB, free: 15.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.319e-05/1.125, allocations: 104.5 kB / 475.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/1.125, allocations: 30.86 kB / 475.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/1.125, allocations: 155.6 kB / 475.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/1.125, allocations: 105.7 kB / 475.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/1.125, allocations: 24.53 kB / 475.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.019e-05/1.126, allocations: 329.8 kB / 475.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.998e-05/1.126, allocations: 35.67 kB / 475.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.33e-05/1.126, allocations: 82.94 kB / 475.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/1.126, allocations: 143.1 kB / 476 MB, free: 15.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.126, allocations: 1.281 kB / 476 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002041/1.126, allocations: 159.1 kB / 476.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/1.126, allocations: 3.594 kB / 476.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/1.126, allocations: 7.438 kB / 476.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/1.126, allocations: 0 / 476.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.345e-05/1.127, allocations: 11.06 kB / 476.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/1.127, allocations: 4.078 kB / 476.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/1.127, allocations: 33.44 kB / 476.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/1.127, allocations: 6.766 kB / 476.2 MB, free: 15.04 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.0001011/1.127, allocations: 134.9 kB / 476.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/1.127, allocations: 14.83 kB / 476.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004804/1.127, allocations: 421.8 kB / 476.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003879/1.128, allocations: 335.6 kB / 477.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.128, allocations: 7.938 kB / 477.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/1.128, allocations: 4.594 kB / 477.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/1.129, allocations: 1.041 MB / 478.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.129, allocations: 7.938 kB / 478.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/1.129, allocations: 54.84 kB / 478.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.129, allocations: 2.406 kB / 478.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/1.129, allocations: 4.781 kB / 478.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.129, allocations: 2.031 kB / 478.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.129, allocations: 1.062 kB / 478.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/1.13, allocations: 0.4946 MB / 478.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/1.13, allocations: 108.6 kB / 478.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/1.13, allocations: 10.34 kB / 478.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/1.13, allocations: 47.11 kB / 478.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/1.13, allocations: 16.8 kB / 478.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/1.13, allocations: 9.906 kB / 478.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.516e-05/1.13, allocations: 82 kB / 479 MB, free: 13.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.13, allocations: 1.25 kB / 479 MB, free: 13.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000466/1.131, allocations: 108.9 kB / 479.1 MB, free: 13.68 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.0003567/1.131, allocations: 196.6 kB / 479.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003808/1.131, allocations: 307.7 kB / 479.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.131, allocations: 5.031 kB / 479.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/1.132, allocations: 156.2 kB / 479.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/1.133, allocations: 166.2 kB / 479.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009695/1.134, allocations: 0.8412 MB / 480.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/1.134, allocations: 0.802 MB / 481.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001558/1.134, allocations: 34.66 kB / 481.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/1.134, allocations: 24.72 kB / 481.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/1.134, allocations: 0 / 481.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of Templates: time 0.01133/1.145, allocations: 5.738 MB / 487.3 MB, free: 11.48 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: