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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009843/0.0009843, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002349, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001378/0.002436, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9265/0.9265, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07787/1.004, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.01046/0.01046, allocations: 1.994 MB / 246.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001935/0.0124, allocations: 1.219 MB / 247.4 MB, free: 11.55 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 248.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.137e-06/1.056e-05, allocations: 6.25 kB / 248.7 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.006731/0.006741, allocations: 9.672 MB / 258.4 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.008981, allocations: 3.188 MB / 261.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.258e-05/0.009043, allocations: 0 / 261.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.009231, allocations: 103.2 kB / 261.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009791/0.01021, allocations: 0.6903 MB / 262.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.01051, allocations: 103.2 kB / 262.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.01078, allocations: 337.5 kB / 262.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.244e-05/0.01083, allocations: 26.84 kB / 262.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.01095, allocations: 143.5 kB / 262.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.01106, allocations: 83.77 kB / 263 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.01108, allocations: 8 kB / 263 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8185/0.8296, allocations: 21.84 MB / 284.9 MB, free: 12.17 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:36:25-57:25:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropTabular.ThermodynamicState is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.8297, allocations: 22.03 kB / 284.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.8298, allocations: 79.02 kB / 285 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008574/0.8307, allocations: 318.9 kB / 285.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-05/0.8307, allocations: 4.422 kB / 285.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.8307, allocations: 1.281 kB / 285.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.8307, allocations: 0 / 285.3 MB, free: 12.17 MB / 266.7 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.0004735/0.8312, allocations: 0.5016 MB / 285.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.8312, allocations: 14 kB / 285.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000723/0.8319, allocations: 0.4991 MB / 286.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.047e-05/0.832, allocations: 130.2 kB / 286.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.832, allocations: 19.22 kB / 286.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.8321, allocations: 25.86 kB / 286.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.8324, allocations: 219.8 kB / 286.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.8324, allocations: 1.562 kB / 286.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.8324, allocations: 13.06 kB / 286.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.8324, allocations: 14.25 kB / 286.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.8325, allocations: 95.42 kB / 286.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007348/0.8333, allocations: 0.6598 MB / 287.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.594e-05/0.8333, allocations: 63.34 kB / 287.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.8334, allocations: 44.12 kB / 287.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000277/0.8337, allocations: 457.1 kB / 288 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.8337, allocations: 41.77 kB / 288 MB, free: 10.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.042e-06/0.8337, allocations: 1.125 kB / 288 MB, free: 10.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0001961/0.8339, allocations: 123.7 kB / 288.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.8339, allocations: 80.23 kB / 288.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.462e-05/0.834, allocations: 114.7 kB / 288.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.834, allocations: 26.77 kB / 288.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.834, allocations: 159.9 kB / 288.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.8341, allocations: 111 kB / 288.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.8341, allocations: 41.14 kB / 288.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.023e-05/0.8341, allocations: 324.8 kB / 289 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.8342, allocations: 20.94 kB / 289 MB, free: 9.922 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.265e-05/0.8342, allocations: 64.12 kB / 289.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.19e-05/0.8343, allocations: 103.4 kB / 289.2 MB, free: 9.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8343, allocations: 1.906 kB / 289.2 MB, free: 9.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001139/0.8344, allocations: 124.7 kB / 289.3 MB, free: 9.781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.8344, allocations: 9.312 kB / 289.3 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.8344, allocations: 1.312 kB / 289.3 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.8345, allocations: 2.641 kB / 289.3 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.025e-05/0.8345, allocations: 15.47 kB / 289.3 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.8345, allocations: 2.203 kB / 289.3 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/0.8346, allocations: 12.11 kB / 289.4 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.8346, allocations: 10.84 kB / 289.4 MB, free: 9.766 MB / 266.7 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 6.097e-05/0.8346, allocations: 109.7 kB / 289.5 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.8347, allocations: 14.16 kB / 289.5 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.8347, allocations: 10.25 kB / 289.5 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.8347, allocations: 1.188 kB / 289.5 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.8347, allocations: 0.7812 kB / 289.5 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.8347, allocations: 3.922 kB / 289.5 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.8349, allocations: 128.3 kB / 289.6 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.8349, allocations: 0 / 289.6 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.672e-05/0.8349, allocations: 8.156 kB / 289.6 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.8349, allocations: 16.91 kB / 289.7 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.8349, allocations: 1.125 kB / 289.7 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.8349, allocations: 5.797 kB / 289.7 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.8349, allocations: 5.125 kB / 289.7 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8349, allocations: 0 / 289.7 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.8351, allocations: 273.5 kB / 289.9 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.8351, allocations: 2.297 kB / 289.9 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.569e-05/0.8351, allocations: 5.688 kB / 289.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.8352, allocations: 6.281 kB / 289.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.8352, allocations: 1.828 kB / 289.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.461e-05/0.8352, allocations: 12.27 kB / 290 MB, free: 9.316 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.8352, allocations: 0 / 290 MB, free: 9.316 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000239/0.8354, allocations: 86.91 kB / 290 MB, free: 9.301 MB / 266.7 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.0003262/0.8358, allocations: 178 kB / 290.2 MB, free: 9.191 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.8359, allocations: 189.3 kB / 290.4 MB, free: 9.094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.8359, allocations: 1.438 kB / 290.4 MB, free: 9.094 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.213e-05/0.836, allocations: 178.8 kB / 290.6 MB, free: 8.977 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.8364, allocations: 107 kB / 290.7 MB, free: 8.953 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.8394, allocations: 0.5093 MB / 291.2 MB, free: 8.656 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.048e-05/0.8395, allocations: 103.9 kB / 291.3 MB, free: 8.586 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.35e-05/0.8396, allocations: 29.48 kB / 291.3 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.8397, allocations: 112.2 kB / 291.4 MB, free: 8.531 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.8397, allocations: 0 / 291.4 MB, free: 8.531 MB / 266.7 MB Notification: Performance of Templates: time 0.006351/0.846, allocations: 4.88 MB / 296.3 MB, free: 7.449 MB / 266.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.makefile [Timeout 660] (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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8256104411557317]