Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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.0007846/0.0007846, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001813, 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.0007027/0.0007027, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001708, 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.9049/0.9049, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0789/0.9838, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.00734/0.00734, allocations: 1.997 MB / 246.1 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002119/0.009459, allocations: 1.227 MB / 247.4 MB, free: 11.54 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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 248.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.945e-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.TestBasePropertiesExplicit): time 0.01236/0.01239, allocations: 11.93 MB / 260.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007598/0.01998, allocations: 12.17 MB / 272.8 MB, free: 2.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.02013, allocations: 4 kB / 272.8 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004/0.02053, allocations: 218.4 kB / 273 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.02209, allocations: 1.253 MB / 274.2 MB, free: 0.5273 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.1008/0.1229, allocations: 1.198 MB / 275.4 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008929/0.1238, allocations: 0.99 MB / 276.4 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.076e-05/0.1239, allocations: 32.81 kB / 276.5 MB, free: 5.406 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.661/0.7849, allocations: 22.11 MB / 298.6 MB, free: 9.312 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.7853, allocations: 247 kB / 298.8 MB, free: 9.277 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.935e-05/0.7854, allocations: 37.31 kB / 298.9 MB, free: 9.277 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.787, allocations: 0.7056 MB / 299.6 MB, free: 9.277 MB / 282.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 0.0001046/0.7871, allocations: 86.66 kB / 299.6 MB, free: 9.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.7872, allocations: 201.7 kB / 299.8 MB, free: 9.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.7883, allocations: 0.8977 MB / 300.7 MB, free: 9.133 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/0.7883, allocations: 0 / 300.7 MB, free: 9.133 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.7883, allocations: 0 / 300.7 MB, free: 9.133 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.527e-06/0.7883, allocations: 0 / 300.7 MB, free: 9.133 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.0008581/0.7892, allocations: 1.093 MB / 301.8 MB, free: 8.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.651e-05/0.7892, allocations: 10.72 kB / 301.8 MB, free: 8.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.7905, allocations: 1.051 MB / 302.9 MB, free: 8.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.7907, allocations: 206.1 kB / 303.1 MB, free: 8.324 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.7908, allocations: 45.38 kB / 303.1 MB, free: 8.324 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.7908, allocations: 56.72 kB / 303.2 MB, free: 8.324 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/0.7914, allocations: 0.7045 MB / 303.9 MB, free: 8.012 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.7914, allocations: 6.938 kB / 303.9 MB, free: 8.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.7914, allocations: 31.75 kB / 303.9 MB, free: 8.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.7914, allocations: 31.03 kB / 304 MB, free: 8.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.7917, allocations: 292.8 kB / 304.3 MB, free: 7.992 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.793, allocations: 2.263 MB / 306.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.7933, allocations: 181.5 kB / 306.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.061e-05/0.7933, allocations: 69.84 kB / 306.8 MB, free: 6.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004942/0.7938, allocations: 0.6616 MB / 307.4 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.7939, allocations: 41.59 kB / 307.5 MB, free: 5.902 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 1.172e-06/0.7939, allocations: 3.938 kB / 307.5 MB, free: 5.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.0005952/0.7945, allocations: 436.4 kB / 307.9 MB, free: 5.559 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.7945, allocations: 81.11 kB / 308 MB, free: 5.461 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.811e-05/0.7946, allocations: 190.6 kB / 308.2 MB, free: 5.301 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.7946, allocations: 33.52 kB / 308.2 MB, free: 5.266 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.7947, allocations: 290.8 kB / 308.5 MB, free: 5.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.7e-05/0.7948, allocations: 240.6 kB / 308.7 MB, free: 4.836 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-05/0.7948, allocations: 93.52 kB / 308.8 MB, free: 4.777 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.795, allocations: 350 kB / 309.1 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.836e-05/0.795, allocations: 43.7 kB / 309.2 MB, free: 4.418 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.7951, allocations: 218 kB / 309.4 MB, free: 4.164 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.7953, allocations: 357 kB / 309.8 MB, free: 3.812 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.7953, allocations: 0 / 309.8 MB, free: 3.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002465/0.7955, allocations: 320.5 kB / 310.1 MB, free: 3.574 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.7956, allocations: 10.62 kB / 310.1 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.7956, allocations: 4 kB / 310.1 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.7956, allocations: 8.719 kB / 310.1 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.7957, allocations: 76.53 kB / 310.2 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.7957, allocations: 12.97 kB / 310.2 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.7958, allocations: 68.45 kB / 310.2 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.7958, allocations: 18.56 kB / 310.3 MB, free: 3.414 MB / 282.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.12e-05/0.7959, allocations: 136 kB / 310.4 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.796, allocations: 22.86 kB / 310.4 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.796, allocations: 24.97 kB / 310.4 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.796, allocations: 0 / 310.4 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.796, allocations: 0 / 310.4 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.796, allocations: 5.312 kB / 310.4 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.7962, allocations: 237.7 kB / 310.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7962, allocations: 6.344 kB / 310.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.7963, allocations: 24.19 kB / 310.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.7963, allocations: 36.86 kB / 310.7 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.7963, allocations: 0 / 310.7 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.7963, allocations: 8.453 kB / 310.7 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.7963, allocations: 4 kB / 310.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7963, allocations: 0.9844 kB / 310.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.7966, allocations: 385.6 kB / 311.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.7966, allocations: 4.812 kB / 311.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.7967, allocations: 5.812 kB / 311.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.7968, allocations: 17.16 kB / 311.2 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.7968, allocations: 5.938 kB / 311.2 MB, free: 2.641 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.876e-05/0.7968, allocations: 42.09 kB / 311.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.7968, allocations: 0 / 311.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003022/0.7971, allocations: 185.8 kB / 311.4 MB, free: 2.438 MB / 282.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: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * 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.0002944/0.7974, allocations: 195.4 kB / 311.6 MB, free: 2.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002843/0.7977, allocations: 457.2 kB / 312 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/0.7977, allocations: 4 kB / 312 MB, free: 1.887 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.7979, allocations: 427.8 kB / 312.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.7984, allocations: 304.8 kB / 312.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005892/0.8043, allocations: 1.025 MB / 313.8 MB, free: 292 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.939e-05/0.8044, allocations: 166.3 kB / 313.9 MB, free: 140 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002504/0.8047, allocations: 207.4 kB / 314.1 MB, free: 8 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.8049, allocations: 194.4 kB / 314.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.8049, allocations: 0 / 314.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of Templates: time 0.01161/0.8165, allocations: 10.35 MB / 324.7 MB, free: 5.934 MB / 298.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.9505440331995487]