Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.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.0007182/0.0007182, allocations: 77.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000918/0.001636, 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.0006772/0.0006772, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008805/0.001558, 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.9046/0.9046, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08767/0.9922, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.0136/0.0136, allocations: 2.095 MB / 246.2 MB, free: 12.67 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003565/0.01717, allocations: 1.27 MB / 247.5 MB, free: 11.39 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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 248.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.286e-05, allocations: 6.312 kB / 248.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit): time 0.009455/0.009478, allocations: 12.32 MB / 261.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007279/0.01676, allocations: 12.16 MB / 273.3 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.01698, allocations: 4 kB / 273.3 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004167/0.0174, allocations: 222.4 kB / 273.5 MB, free: 1.258 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001974/0.01938, allocations: 1.248 MB / 274.8 MB, free: 0 / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003074/0.02245, allocations: 1.278 MB / 276.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007807/0.02323, allocations: 0.9881 MB / 277.1 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.048e-05/0.0233, allocations: 41.72 kB / 277.1 MB, free: 4.32 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.7666/0.7899, allocations: 33.69 MB / 310.8 MB, free: 424 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003751/0.7903, allocations: 241.8 kB / 311 MB, free: 388 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.828e-05/0.7903, allocations: 43.94 kB / 311.1 MB, free: 344 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.793, allocations: 0.8186 MB / 311.9 MB, free: 0 / 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.000181/0.7932, allocations: 95.38 kB / 312 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.7933, allocations: 203.5 kB / 312.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.7944, allocations: 0.8986 MB / 313.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.334e-05/0.7944, allocations: 0 / 313.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.7944, allocations: 6.906 kB / 313.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.7944, allocations: 0 / 313.1 MB, free: 15.15 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.0009228/0.7953, allocations: 1.088 MB / 314.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.7954, allocations: 12.03 kB / 314.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.7967, allocations: 1.051 MB / 315.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.7969, allocations: 207.2 kB / 315.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.797, allocations: 43.56 kB / 315.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.797, allocations: 64.75 kB / 315.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000602/0.7976, allocations: 0.6938 MB / 316.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.7976, allocations: 3.984 kB / 316.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.7976, allocations: 30.5 kB / 316.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.7977, allocations: 32.19 kB / 316.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003354/0.798, allocations: 299.2 kB / 316.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.7994, allocations: 2.269 MB / 318.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.7997, allocations: 175.4 kB / 319 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.85e-05/0.7997, allocations: 64.53 kB / 319.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000485/0.8002, allocations: 0.6647 MB / 319.8 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.8002, allocations: 34.56 kB / 319.8 MB, free: 9.938 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 1.162e-06/0.8002, allocations: 0 / 319.8 MB, free: 9.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=71): time 0.0005963/0.8008, allocations: 453.4 kB / 320.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.8009, allocations: 81.11 kB / 320.3 MB, free: 9.426 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/0.801, allocations: 187.5 kB / 320.5 MB, free: 9.254 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.801, allocations: 29.58 kB / 320.5 MB, free: 9.223 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.8011, allocations: 289.1 kB / 320.8 MB, free: 8.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.8012, allocations: 241.2 kB / 321.1 MB, free: 8.746 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.944e-05/0.8012, allocations: 93.27 kB / 321.1 MB, free: 8.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.529e-05/0.8013, allocations: 357.4 kB / 321.5 MB, free: 8.344 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.768e-05/0.8014, allocations: 41.31 kB / 321.5 MB, free: 8.305 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.8015, allocations: 229.1 kB / 321.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.8017, allocations: 355.2 kB / 322.1 MB, free: 7.648 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.8017, allocations: 4 kB / 322.1 MB, free: 7.645 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002615/0.8019, allocations: 317 kB / 322.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.8019, allocations: 8 kB / 322.4 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.802, allocations: 8.031 kB / 322.4 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.802, allocations: 8 kB / 322.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.8021, allocations: 78 kB / 322.5 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-06/0.8021, allocations: 11.19 kB / 322.5 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.8022, allocations: 59.28 kB / 322.6 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.8022, allocations: 19.8 kB / 322.6 MB, free: 7.207 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.baseProperties.phaseInput,medium2.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.121e-05/0.8023, allocations: 146.5 kB / 322.7 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.8024, allocations: 15.98 kB / 322.8 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004738/0.8028, allocations: 0.7115 MB / 323.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002894/0.8031, allocations: 481 kB / 323.9 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.8031, allocations: 0 / 323.9 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.8031, allocations: 3.984 kB / 323.9 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.8041, allocations: 1.444 MB / 325.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.8041, allocations: 0 / 325.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.8043, allocations: 130 kB / 325.5 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.8044, allocations: 69.61 kB / 325.6 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.8044, allocations: 7.938 kB / 325.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.8044, allocations: 7.812 kB / 325.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.8044, allocations: 4 kB / 325.6 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8044, allocations: 0 / 325.6 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.8047, allocations: 0.6776 MB / 326.3 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.8047, allocations: 14 kB / 326.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.812e-05/0.8048, allocations: 15.5 kB / 326.3 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.8049, allocations: 52.66 kB / 326.4 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.8049, allocations: 15.81 kB / 326.4 MB, free: 3.742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.836e-05/0.8049, allocations: 42.38 kB / 326.4 MB, free: 3.703 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.8049, allocations: 0 / 326.4 MB, free: 3.703 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003201/0.8053, allocations: 209.9 kB / 326.6 MB, free: 3.512 MB / 298.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: 5 (medium1.completeState.state.phase,$cse4.phase,medium2.completeState.state.phase,$cse2.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002957/0.8055, allocations: 198.7 kB / 326.8 MB, free: 3.336 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000419/0.806, allocations: 0.522 MB / 327.3 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/0.806, allocations: 8 kB / 327.3 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.8062, allocations: 265.9 kB / 327.6 MB, free: 2.613 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008043/0.807, allocations: 467.6 kB / 328.1 MB, free: 2.191 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005958/0.813, allocations: 1.226 MB / 329.3 MB, free: 1.035 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.8131, allocations: 173.6 kB / 329.5 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002487/0.8134, allocations: 121.1 kB / 329.6 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.8137, allocations: 252 kB / 329.8 MB, free: 496 kB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.8137, allocations: 0 / 329.8 MB, free: 496 kB / 298.7 MB Notification: Performance of Templates: time 0.01416/0.8278, allocations: 13.7 MB / 343.5 MB, free: 3.098 MB / 314.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.186042949557304]