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.0008136/0.0008139, allocations: 98.11 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.005757/0.005757, allocations: 169.4 kB / 16.26 MB, free: 6.648 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.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1693/0.1693, allocations: 2.783 MB / 294.2 MB, free: 4.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004831, allocations: 12 kB / 356.2 MB, free: 3.977 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1644, allocations: 51.26 MB / 407.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.2522/0.4167, allocations: 18.48 MB / 426 MB, free: 34.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004241/0.4209, allocations: 5.971 MB / 431.9 MB, free: 34.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.4211, allocations: 0 / 431.9 MB, free: 34.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006082/0.4217, allocations: 242 kB / 432.2 MB, free: 34.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00315/0.4249, allocations: 1.109 MB / 433.3 MB, free: 33.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.4253, allocations: 83.7 kB / 433.4 MB, free: 33.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.4257, allocations: 299.2 kB / 433.7 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.558e-05/0.4257, allocations: 20.8 kB / 433.7 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.072e-05/0.4258, allocations: 97.69 kB / 433.8 MB, free: 33.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.426, allocations: 112.5 kB / 433.9 MB, free: 33.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.426, allocations: 8.75 kB / 433.9 MB, free: 33.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8038/1.23, allocations: 35.51 MB / 469.4 MB, free: 19.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.182e-05/1.23, allocations: 27.09 kB / 469.4 MB, free: 19.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000353/1.23, allocations: 157.9 kB / 469.6 MB, free: 19.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002558/1.233, allocations: 0.4891 MB / 470.1 MB, free: 19.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/1.233, allocations: 2 kB / 470.1 MB, free: 19.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/1.233, allocations: 0 / 470.1 MB, free: 19.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/1.233, allocations: 0 / 470.1 MB, free: 19.37 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.00065/1.234, allocations: 0.5264 MB / 470.6 MB, free: 18.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/1.234, allocations: 10.72 kB / 470.6 MB, free: 18.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008973/1.234, allocations: 201.1 kB / 470.8 MB, free: 18.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/1.235, allocations: 186.1 kB / 471 MB, free: 18.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/1.235, allocations: 18.16 kB / 471 MB, free: 18.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/1.235, allocations: 35.8 kB / 471 MB, free: 18.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/1.235, allocations: 338.8 kB / 471.4 MB, free: 18.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/1.235, allocations: 5.531 kB / 471.4 MB, free: 18.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/1.235, allocations: 8.906 kB / 471.4 MB, free: 18.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/1.235, allocations: 13.48 kB / 471.4 MB, free: 18.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/1.236, allocations: 259 kB / 471.6 MB, free: 18.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/1.237, allocations: 2.125 MB / 473.8 MB, free: 16.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/1.237, allocations: 136.2 kB / 473.9 MB, free: 16.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/1.237, allocations: 107.8 kB / 474 MB, free: 16.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005314/1.238, allocations: 0.6877 MB / 474.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/1.238, allocations: 36.53 kB / 474.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.933e-06/1.238, allocations: 0 / 474.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003286/1.238, allocations: 185.6 kB / 474.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/1.238, allocations: 81.17 kB / 475 MB, free: 15.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/1.238, allocations: 103.4 kB / 475.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/1.238, allocations: 25.7 kB / 475.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/1.238, allocations: 162.9 kB / 475.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/1.238, allocations: 105.1 kB / 475.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/1.238, allocations: 25.17 kB / 475.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.657e-05/1.238, allocations: 325.2 kB / 475.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.226e-05/1.238, allocations: 36.02 kB / 475.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.694e-05/1.239, allocations: 87.27 kB / 475.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/1.239, allocations: 140.9 kB / 476 MB, free: 15.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.239, allocations: 4 kB / 476 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002136/1.239, allocations: 159.5 kB / 476.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.239, allocations: 6.062 kB / 476.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/1.239, allocations: 1.281 kB / 476.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/1.239, allocations: 3.969 kB / 476.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.96e-05/1.239, allocations: 6.062 kB / 476.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/1.239, allocations: 9.844 kB / 476.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/1.239, allocations: 32.34 kB / 476.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/1.239, allocations: 3.969 kB / 476.2 MB, free: 14.93 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 9.667e-05/1.239, allocations: 136.7 kB / 476.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/1.239, allocations: 11.78 kB / 476.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/1.24, allocations: 426 kB / 476.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003524/1.24, allocations: 331.2 kB / 477.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.24, allocations: 1.344 kB / 477.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.24, allocations: 4.609 kB / 477.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/1.242, allocations: 1.044 MB / 478.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/1.242, allocations: 5.125 kB / 478.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/1.242, allocations: 46.97 kB / 478.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/1.242, allocations: 5.875 kB / 478.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/1.242, allocations: 13.03 kB / 478.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/1.242, allocations: 1.5 kB / 478.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.242, allocations: 0.7812 kB / 478.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/1.243, allocations: 0.496 MB / 478.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/1.243, allocations: 111.9 kB / 478.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/1.243, allocations: 6.031 kB / 478.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/1.243, allocations: 44.08 kB / 478.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/1.243, allocations: 23.64 kB / 478.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/1.243, allocations: 6.188 kB / 478.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.796e-05/1.243, allocations: 81.89 kB / 479 MB, free: 13.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.243, allocations: 1.094 kB / 479 MB, free: 13.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005463/1.244, allocations: 105.1 kB / 479.1 MB, free: 13.59 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.0003818/1.244, allocations: 195.6 kB / 479.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004238/1.245, allocations: 303.6 kB / 479.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.245, allocations: 1.219 kB / 479.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/1.245, allocations: 168.4 kB / 479.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/1.246, allocations: 166.5 kB / 479.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/1.247, allocations: 0.8338 MB / 480.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/1.247, allocations: 0.8037 MB / 481.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001787/1.248, allocations: 34.89 kB / 481.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/1.248, allocations: 23.59 kB / 481.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/1.248, allocations: 0 / 481.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Templates: time 0.01157/1.259, allocations: 5.746 MB / 487.3 MB, free: 11.39 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: