Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.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.00108/0.00108, allocations: 77.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00148/0.00256, allocations: 451.9 kB / 10.44 MB, free: 252 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.001072/0.001072, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001441/0.002513, allocations: 475.5 kB / 11.81 MB, free: 2.359 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.9853/0.9853, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1331/1.118, 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.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo): time 0.01112/0.01112, allocations: 2.095 MB / 246.2 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002169/0.01329, allocations: 1.269 MB / 247.5 MB, free: 11.38 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/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_SVDSBTL.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 248.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119e-05/1.272e-05, allocations: 2.312 kB / 248.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic): time 0.01068/0.01069, allocations: 9.645 MB / 258.5 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007461/0.01815, allocations: 8.579 MB / 267.1 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.01826, allocations: 0 / 267.1 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004529/0.01871, allocations: 139.1 kB / 267.2 MB, free: 7.629 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.01899, allocations: 111.2 kB / 267.3 MB, free: 7.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004143/0.02314, allocations: 1.63 MB / 268.9 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.02343, allocations: 286.5 kB / 269.2 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.02348, allocations: 10.45 kB / 269.2 MB, free: 5.59 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/Common/CheckCoolPropOptions.mo:2:1-108: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.9137/0.9372, allocations: 33.35 MB / 302.6 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.9374, allocations: 67.73 kB / 302.6 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.9374, allocations: 7.5 kB / 302.6 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.9389, allocations: 488.2 kB / 303.1 MB, free: 11.63 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/Media/BaseClasses/ExternalTwoPhaseMedium.mo:59:13-75:27:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropSVDSBTL.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.2/Media/BaseClasses/ExternalTwoPhaseMedium.mo:36:25-57:25:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropSVDSBTL.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 0.0001054/0.939, allocations: 23.61 kB / 303.1 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.475e-05/0.9391, allocations: 52.28 kB / 303.2 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009739/0.94, allocations: 466 kB / 303.7 MB, free: 11.63 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.12e-05/0.9401, allocations: 0 / 303.7 MB, free: 11.63 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.9401, allocations: 4 kB / 303.7 MB, free: 11.63 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.9401, allocations: 0 / 303.7 MB, free: 11.63 MB / 282.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.0008588/0.9409, allocations: 0.5977 MB / 304.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.941, allocations: 11.95 kB / 304.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002768/0.9413, allocations: 90.12 kB / 304.4 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.9415, allocations: 143.9 kB / 304.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.9415, allocations: 7.719 kB / 304.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.9415, allocations: 17.41 kB / 304.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.9418, allocations: 242.2 kB / 304.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.9419, allocations: 0 / 304.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.9419, allocations: 10.38 kB / 304.8 MB, free: 10.92 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.9419, allocations: 10.19 kB / 304.8 MB, free: 10.92 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.942, allocations: 92.52 kB / 304.9 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/0.9426, allocations: 489.4 kB / 305.3 MB, free: 10.58 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.9428, allocations: 173.1 kB / 305.5 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.9429, allocations: 45.91 kB / 305.6 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.943, allocations: 102 kB / 305.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.943, allocations: 35.39 kB / 305.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=43): time 1.923e-06/0.943, allocations: 0 / 305.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=47): time 0.001498/0.9445, allocations: 0.8349 MB / 306.5 MB, free: 10.24 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.9446, allocations: 59.52 kB / 306.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.069e-05/0.9446, allocations: 136.8 kB / 306.7 MB, free: 10.06 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.9447, allocations: 29.58 kB / 306.7 MB, free: 10.03 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.795e-05/0.9447, allocations: 105.1 kB / 306.8 MB, free: 9.934 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.963e-05/0.9448, allocations: 166.2 kB / 307 MB, free: 9.824 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.9448, allocations: 61.31 kB / 307.1 MB, free: 9.805 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.9449, allocations: 336.5 kB / 307.4 MB, free: 9.492 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.753e-05/0.945, allocations: 44.2 kB / 307.4 MB, free: 9.488 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.83e-05/0.945, allocations: 100.9 kB / 307.5 MB, free: 9.434 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.9452, allocations: 186.8 kB / 307.7 MB, free: 9.359 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9452, allocations: 4 kB / 307.7 MB, free: 9.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004201/0.9456, allocations: 285.9 kB / 308 MB, free: 9.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.9456, allocations: 11.83 kB / 308 MB, free: 9.297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.9456, allocations: 7.531 kB / 308 MB, free: 9.293 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/0.946, allocations: 122.1 kB / 308.1 MB, free: 9.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.086e-05/0.946, allocations: 37.67 kB / 308.2 MB, free: 9.281 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003614/0.9464, allocations: 0.5973 MB / 308.8 MB, free: 8.758 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.225e-05/0.9465, allocations: 9.75 kB / 308.8 MB, free: 8.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.9465, allocations: 7.188 kB / 308.8 MB, free: 8.758 MB / 282.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 9.515e-05/0.9466, allocations: 132 kB / 308.9 MB, free: 8.633 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.9466, allocations: 16.22 kB / 308.9 MB, free: 8.625 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003705/0.947, allocations: 330.6 kB / 309.3 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.947, allocations: 10.55 kB / 309.3 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.947, allocations: 0 / 309.3 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.947, allocations: 0 / 309.3 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.9472, allocations: 180.5 kB / 309.5 MB, free: 8.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.9472, allocations: 3.562 kB / 309.5 MB, free: 8.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.9473, allocations: 38.66 kB / 309.5 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.997e-05/0.9473, allocations: 15.86 kB / 309.5 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001253/0.9475, allocations: 46.55 kB / 309.6 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.9475, allocations: 7.484 kB / 309.6 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006177/0.9481, allocations: 1.175 MB / 310.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9481, allocations: 3.656 kB / 310.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.9484, allocations: 470.3 kB / 311.2 MB, free: 6.508 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.9485, allocations: 3.938 kB / 311.2 MB, free: 6.504 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-05/0.9485, allocations: 10.83 kB / 311.2 MB, free: 6.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.9486, allocations: 20.16 kB / 311.2 MB, free: 6.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.9486, allocations: 2.625 kB / 311.2 MB, free: 6.492 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.653e-05/0.9486, allocations: 30.05 kB / 311.3 MB, free: 6.473 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.9486, allocations: 2.625 kB / 311.3 MB, free: 6.473 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002027/0.9488, allocations: 67.81 kB / 311.3 MB, free: 6.41 MB / 282.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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003472/0.9492, allocations: 189.1 kB / 311.5 MB, free: 6.254 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003062/0.9495, allocations: 193.5 kB / 311.7 MB, free: 6.105 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.9495, allocations: 4 kB / 311.7 MB, free: 6.102 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.9497, allocations: 225.2 kB / 311.9 MB, free: 5.895 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.9501, allocations: 118.1 kB / 312 MB, free: 5.816 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.9531, allocations: 0.5347 MB / 312.6 MB, free: 5.344 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.201e-05/0.9531, allocations: 129.1 kB / 312.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.9533, allocations: 118.4 kB / 312.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.9533, allocations: 0 / 312.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of Templates: time 0.003936/0.9573, allocations: 3.501 MB / 316.3 MB, free: 2.312 MB / 282.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.425587177276611]