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.000743/0.000743, allocations: 77.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001789, 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.0007447/0.0007447, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009383/0.001683, 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 1.013/1.013, allocations: 177.2 MB / 189.7 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09569/1.108, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.008089/0.008089, allocations: 2.089 MB / 246.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003736/0.01183, allocations: 1.262 MB / 247.5 MB, free: 11.41 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 2.134e-06/2.134e-06, allocations: 0 / 248.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.546e-05, allocations: 6.25 kB / 248.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit): time 0.03102/0.03104, allocations: 12.32 MB / 261.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01709/0.04813, allocations: 12.17 MB / 273.3 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005141/0.04865, allocations: 4 kB / 273.3 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00081/0.04946, allocations: 226.4 kB / 273.5 MB, free: 1.281 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004009/0.05346, allocations: 1.244 MB / 274.8 MB, free: 28 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.144/0.1974, allocations: 1.282 MB / 276.1 MB, free: 4.621 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.1986, allocations: 0.9923 MB / 277.1 MB, free: 4.297 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1987, allocations: 33.42 kB / 277.1 MB, free: 4.281 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.8351/1.034, allocations: 33.7 MB / 310.8 MB, free: 384 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005881/1.034, allocations: 244.8 kB / 311 MB, free: 352 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.379e-05/1.034, allocations: 38.94 kB / 311.1 MB, free: 332 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003461/1.038, allocations: 0.8241 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.0002567/1.038, allocations: 93.2 kB / 312 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003081/1.038, allocations: 199.6 kB / 312.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002915/1.041, allocations: 0.9024 MB / 313.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-05/1.041, allocations: 0 / 313.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.041, allocations: 3.938 kB / 313.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.624e-05/1.041, allocations: 0 / 313.1 MB, free: 15.14 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.001438/1.043, allocations: 1.09 MB / 314.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.043, allocations: 8.031 kB / 314.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/1.045, allocations: 1.057 MB / 315.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/1.045, allocations: 203.6 kB / 315.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.532e-05/1.045, allocations: 51.5 kB / 315.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/1.045, allocations: 59.25 kB / 315.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007645/1.046, allocations: 0.6948 MB / 316.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/1.046, allocations: 7 kB / 316.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/1.046, allocations: 23.06 kB / 316.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/1.046, allocations: 40.94 kB / 316.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/1.046, allocations: 297.3 kB / 316.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/1.048, allocations: 2.262 MB / 318.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/1.049, allocations: 176 kB / 319 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.749e-05/1.049, allocations: 69.39 kB / 319.1 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000654/1.049, allocations: 0.6612 MB / 319.8 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/1.049, allocations: 34.56 kB / 319.8 MB, free: 9.938 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 2.785e-06/1.049, allocations: 0 / 319.8 MB, free: 9.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=71): time 0.0007025/1.05, allocations: 444.7 kB / 320.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/1.05, allocations: 79.11 kB / 320.3 MB, free: 9.434 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/1.05, allocations: 186.8 kB / 320.5 MB, free: 9.262 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/1.05, allocations: 31.64 kB / 320.5 MB, free: 9.227 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/1.05, allocations: 295.2 kB / 320.8 MB, free: 8.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/1.05, allocations: 245.8 kB / 321 MB, free: 8.746 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.094e-05/1.051, allocations: 89.69 kB / 321.1 MB, free: 8.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/1.051, allocations: 350.3 kB / 321.5 MB, free: 8.344 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/1.051, allocations: 45.78 kB / 321.5 MB, free: 8.305 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/1.051, allocations: 235 kB / 321.8 MB, free: 8.023 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/1.051, allocations: 341.8 kB / 322.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.051, allocations: 8 kB / 322.1 MB, free: 7.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00034/1.051, allocations: 322 kB / 322.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.052, allocations: 8 kB / 322.4 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/1.052, allocations: 8 kB / 322.4 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.052, allocations: 8 kB / 322.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/1.052, allocations: 74.09 kB / 322.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/1.052, allocations: 15.17 kB / 322.5 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/1.052, allocations: 61.03 kB / 322.6 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/1.052, allocations: 15.25 kB / 322.6 MB, free: 7.211 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 0.0001224/1.052, allocations: 146.4 kB / 322.7 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/1.052, allocations: 16.11 kB / 322.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005854/1.053, allocations: 0.7173 MB / 323.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003367/1.053, allocations: 477.1 kB / 323.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/1.053, allocations: 0 / 323.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.053, allocations: 3.984 kB / 323.9 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/1.054, allocations: 1.45 MB / 325.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/1.054, allocations: 4 kB / 325.4 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/1.055, allocations: 126.5 kB / 325.5 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.523e-05/1.055, allocations: 67.34 kB / 325.6 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/1.055, allocations: 4 kB / 325.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/1.055, allocations: 15.38 kB / 325.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/1.055, allocations: 0 / 325.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.055, allocations: 4 kB / 325.6 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/1.055, allocations: 0.6724 MB / 326.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/1.055, allocations: 11.56 kB / 326.3 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/1.055, allocations: 15.5 kB / 326.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/1.055, allocations: 51.31 kB / 326.4 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/1.055, allocations: 11.75 kB / 326.4 MB, free: 3.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.202e-05/1.055, allocations: 44.67 kB / 326.4 MB, free: 3.711 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/1.055, allocations: 0 / 326.4 MB, free: 3.711 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005049/1.056, allocations: 214.9 kB / 326.6 MB, free: 3.516 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.0004001/1.056, allocations: 212.2 kB / 326.8 MB, free: 3.328 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004197/1.057, allocations: 0.5166 MB / 327.3 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.538e-05/1.057, allocations: 15.91 kB / 327.4 MB, free: 2.824 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/1.057, allocations: 257.2 kB / 327.6 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008249/1.058, allocations: 390.9 kB / 328 MB, free: 2.258 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006381/1.064, allocations: 1.252 MB / 329.2 MB, free: 1.062 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/1.064, allocations: 370.5 kB / 329.6 MB, free: 0.668 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/1.065, allocations: 247 kB / 329.8 MB, free: 444 kB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/1.065, allocations: 0 / 329.8 MB, free: 444 kB / 298.7 MB Notification: Performance of Templates: time 0.00939/1.074, allocations: 7.832 MB / 337.7 MB, free: 8.629 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 > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.186879763379693]