Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.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.0006713/0.0006713, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009116/0.001583, allocations: 440 kB / 10.41 MB, free: 280 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.0006859/0.0006859, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001715, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.9217/0.9217, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07371/0.9954, allocations: 53.67 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.007224/0.007224, allocations: 1.989 MB / 246.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001791/0.009014, allocations: 1.227 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.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 248.7 MB, free: 10.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.667e-05, allocations: 2.312 kB / 248.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.008395/0.008412, allocations: 9.251 MB / 257.9 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005138/0.01355, allocations: 8.583 MB / 266.5 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.498e-05/0.01361, allocations: 0 / 266.5 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.01394, allocations: 143.1 kB / 266.7 MB, free: 8.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.01416, allocations: 111.2 kB / 266.8 MB, free: 8.051 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Examples.CO2CoolPropTabular.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolPropTabular.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.003058/0.01722, allocations: 1.548 MB / 268.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000258/0.01748, allocations: 282.6 kB / 268.6 MB, free: 6.219 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.01752, allocations: 22.38 kB / 268.6 MB, free: 6.199 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.7802/0.7978, allocations: 21.74 MB / 290.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.7979, allocations: 70.11 kB / 290.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.7979, allocations: 7.281 kB / 290.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.7991, allocations: 485.2 kB / 290.9 MB, free: 4.27 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:59:13-75:27:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropTabular.SaturationProperties 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. [/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 7.635e-05/0.7992, allocations: 24.72 kB / 290.9 MB, free: 4.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.764e-05/0.7992, allocations: 52.2 kB / 291 MB, free: 4.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007139/0.7999, allocations: 459.3 kB / 291.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/0.8, allocations: 0 / 291.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.8, allocations: 1.375 kB / 291.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.8, allocations: 0.6562 kB / 291.4 MB, free: 4.27 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005715/0.8005, allocations: 0.6027 MB / 292 MB, free: 3.867 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.8006, allocations: 9.625 kB / 292 MB, free: 3.867 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.8008, allocations: 95.34 kB / 292.1 MB, free: 3.844 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.8009, allocations: 139.1 kB / 292.3 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.8009, allocations: 13.73 kB / 292.3 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.801, allocations: 17.11 kB / 292.3 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.8012, allocations: 241.5 kB / 292.5 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.8012, allocations: 4 kB / 292.5 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.8012, allocations: 9.125 kB / 292.5 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.8013, allocations: 11.17 kB / 292.6 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.8014, allocations: 92.69 kB / 292.6 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.8018, allocations: 489.5 kB / 293.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.802, allocations: 170.2 kB / 293.3 MB, free: 3.148 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.701e-05/0.8021, allocations: 45.88 kB / 293.3 MB, free: 3.141 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.8022, allocations: 98.62 kB / 293.4 MB, free: 3.141 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.8022, allocations: 40.86 kB / 293.5 MB, free: 3.094 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.273e-06/0.8022, allocations: 0.6562 kB / 293.5 MB, free: 3.094 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001363/0.8036, allocations: 0.8169 MB / 294.3 MB, free: 2.875 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.585e-05/0.8036, allocations: 59.16 kB / 294.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.84e-05/0.8036, allocations: 135.4 kB / 294.5 MB, free: 2.695 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.8036, allocations: 31.8 kB / 294.5 MB, free: 2.664 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.8037, allocations: 103.3 kB / 294.6 MB, free: 2.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.731e-05/0.8037, allocations: 165.7 kB / 294.8 MB, free: 2.461 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.8038, allocations: 66.72 kB / 294.8 MB, free: 2.441 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.739e-05/0.8038, allocations: 332.5 kB / 295.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.8039, allocations: 46.84 kB / 295.2 MB, free: 2.121 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.491e-05/0.8039, allocations: 101.7 kB / 295.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.8041, allocations: 187.5 kB / 295.5 MB, free: 1.992 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8041, allocations: 0.6562 kB / 295.5 MB, free: 1.992 MB / 266.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003544/0.8044, allocations: 289.7 kB / 295.8 MB, free: 1.934 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.8044, allocations: 6.781 kB / 295.8 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-06/0.8044, allocations: 4.594 kB / 295.8 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002909/0.8047, allocations: 125.8 kB / 295.9 MB, free: 1.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/0.8048, allocations: 31.2 kB / 295.9 MB, free: 1.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002285/0.805, allocations: 0.6068 MB / 296.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.239e-05/0.8051, allocations: 8.266 kB / 296.6 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.8051, allocations: 4.172 kB / 296.6 MB, free: 1.391 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 5.737e-05/0.8051, allocations: 130 kB / 296.7 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.8052, allocations: 14.09 kB / 296.7 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.8052, allocations: 25.86 kB / 296.7 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.8052, allocations: 10.47 kB / 296.7 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.8052, allocations: 4.875 kB / 296.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.8052, allocations: 1.172 kB / 296.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.8054, allocations: 137.6 kB / 296.9 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8054, allocations: 0 / 296.9 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.8055, allocations: 46.91 kB / 296.9 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.8055, allocations: 15.3 kB / 296.9 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002104/0.8057, allocations: 94.66 kB / 297 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.8057, allocations: 4.75 kB / 297 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001123/0.8058, allocations: 0.5242 MB / 297.6 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8058, allocations: 0 / 297.6 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.8061, allocations: 425.6 kB / 298 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.8061, allocations: 7.219 kB / 298 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.8062, allocations: 4.125 kB / 298 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.8062, allocations: 27.62 kB / 298 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.8063, allocations: 13.44 kB / 298 MB, free: 444 kB / 266.7 MB Notification: Performance of sorting global known variables: time 2.158e-05/0.8063, allocations: 24.73 kB / 298 MB, free: 432 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.8063, allocations: 0 / 298 MB, free: 432 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.8065, allocations: 67.36 kB / 298.1 MB, free: 428 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002735/0.8067, allocations: 180.1 kB / 298.3 MB, free: 320 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.807, allocations: 185 kB / 298.5 MB, free: 296 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.807, allocations: 3.406 kB / 298.5 MB, free: 296 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.8071, allocations: 133.9 kB / 298.6 MB, free: 280 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.8075, allocations: 213.3 kB / 298.8 MB, free: 160 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.8103, allocations: 0.4972 MB / 299.3 MB, free: 15.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.436e-05/0.8103, allocations: 84.34 kB / 299.4 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.8104, allocations: 97.67 kB / 299.5 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.8106, allocations: 122.9 kB / 299.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.8106, allocations: 0 / 299.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of Templates: time 0.006764/0.8174, allocations: 6.268 MB / 305.9 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.152471654117107]