Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical.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.0007078/0.0007078, allocations: 77.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009109/0.001619, 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.0006641/0.0006641, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008883/0.001552, 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.923/0.923, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07828/1.001, 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.01331/0.01331, allocations: 2.087 MB / 246.2 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003485/0.01679, allocations: 1.266 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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 248.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.449e-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.TestBasePropertiesTranscritical): time 0.013/0.01302, allocations: 12.32 MB / 261.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.02482, allocations: 12.16 MB / 273.3 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000377/0.02519, allocations: 4 kB / 273.3 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006232/0.02582, allocations: 238.3 kB / 273.6 MB, free: 1.246 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1094/0.1352, allocations: 1.238 MB / 274.8 MB, free: 4.609 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003323/0.1385, allocations: 1.276 MB / 276.1 MB, free: 4.602 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.1395, allocations: 0.9926 MB / 277.1 MB, free: 4.273 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1396, allocations: 35.31 kB / 277.1 MB, free: 4.258 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.7357/0.8753, allocations: 33.7 MB / 310.8 MB, free: 364 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004148/0.8758, allocations: 237.7 kB / 311 MB, free: 336 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.8758, allocations: 44.97 kB / 311.1 MB, free: 308 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.8786, allocations: 0.8299 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.0001207/0.8787, allocations: 95.02 kB / 312 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.8789, allocations: 198.3 kB / 312.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.8806, allocations: 0.892 MB / 313.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-05/0.8806, allocations: 0 / 313.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.8806, allocations: 0 / 313.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.8806, allocations: 0 / 313.1 MB, free: 15.13 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.001023/0.8816, allocations: 1.094 MB / 314.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.8817, allocations: 8.031 kB / 314.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.883, allocations: 1.059 MB / 315.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.8833, allocations: 206.5 kB / 315.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.8834, allocations: 48.38 kB / 315.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.8834, allocations: 59.5 kB / 315.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.884, allocations: 0.6975 MB / 316.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.8841, allocations: 0 / 316.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.8841, allocations: 31.31 kB / 316.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.8841, allocations: 36.03 kB / 316.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003399/0.8844, allocations: 293.4 kB / 316.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.886, allocations: 2.249 MB / 318.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.8862, allocations: 182.2 kB / 319 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.283e-05/0.8863, allocations: 74.59 kB / 319.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005298/0.8868, allocations: 0.6737 MB / 319.8 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.8869, allocations: 34.56 kB / 319.8 MB, free: 9.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 1.703e-06/0.8869, allocations: 3.938 kB / 319.8 MB, free: 9.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.0006324/0.8875, allocations: 459.9 kB / 320.3 MB, free: 9.484 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.8875, allocations: 77.11 kB / 320.3 MB, free: 9.391 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.261e-05/0.8876, allocations: 186.5 kB / 320.5 MB, free: 9.215 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.8876, allocations: 27.27 kB / 320.6 MB, free: 9.184 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.8878, allocations: 284.8 kB / 320.8 MB, free: 8.922 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.688e-05/0.8879, allocations: 252.3 kB / 321.1 MB, free: 8.707 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.41e-05/0.8879, allocations: 94.95 kB / 321.2 MB, free: 8.637 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.943e-05/0.888, allocations: 352.2 kB / 321.5 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.61e-05/0.8881, allocations: 44.62 kB / 321.6 MB, free: 8.262 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.8882, allocations: 209.9 kB / 321.8 MB, free: 8.016 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.8884, allocations: 334.8 kB / 322.1 MB, free: 7.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.8884, allocations: 0 / 322.1 MB, free: 7.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002638/0.8886, allocations: 306.5 kB / 322.4 MB, free: 7.395 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.8887, allocations: 8 kB / 322.4 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.8887, allocations: 4 kB / 322.4 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.8887, allocations: 8 kB / 322.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.8888, allocations: 77.38 kB / 322.5 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.8888, allocations: 7.094 kB / 322.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.8889, allocations: 62.58 kB / 322.5 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.889, allocations: 19.23 kB / 322.6 MB, free: 7.234 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.0001043/0.8891, allocations: 143.2 kB / 322.7 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.8891, allocations: 18.48 kB / 322.7 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004945/0.8896, allocations: 0.7194 MB / 323.4 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002994/0.8899, allocations: 479.6 kB / 323.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.8899, allocations: 4 kB / 323.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.8899, allocations: 3.984 kB / 323.9 MB, free: 5.922 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.8911, allocations: 1.47 MB / 325.4 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.8911, allocations: 0 / 325.4 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.8913, allocations: 140.9 kB / 325.5 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.8913, allocations: 63.36 kB / 325.6 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.8913, allocations: 4 kB / 325.6 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.8914, allocations: 15.69 kB / 325.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.8914, allocations: 0 / 325.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.8914, allocations: 4 kB / 325.6 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.8917, allocations: 0.6858 MB / 326.3 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.8918, allocations: 19.56 kB / 326.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.8919, allocations: 19.36 kB / 326.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.8919, allocations: 51.59 kB / 326.4 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.8919, allocations: 15.86 kB / 326.4 MB, free: 3.715 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.808e-05/0.892, allocations: 28.59 kB / 326.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.892, allocations: 0 / 326.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000372/0.8923, allocations: 222.5 kB / 326.6 MB, free: 3.484 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: 6 (medium1.completeState.state.phase,$cse4.phase,medium1.baseProperties.phaseOutput,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 (78): * Single equations (assignments): 74 * 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.0003648/0.8927, allocations: 210 kB / 326.9 MB, free: 3.305 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004576/0.8932, allocations: 0.5101 MB / 327.4 MB, free: 2.824 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/0.8932, allocations: 8 kB / 327.4 MB, free: 2.816 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.8934, allocations: 290.5 kB / 327.7 MB, free: 2.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008596/0.8943, allocations: 480.8 kB / 328.1 MB, free: 2.137 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005988/0.9003, allocations: 1.212 MB / 329.3 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.9004, allocations: 174.6 kB / 329.5 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003162/0.9007, allocations: 119.4 kB / 329.6 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/0.9011, allocations: 266.3 kB / 329.9 MB, free: 448 kB / 298.7 MB Notification: Performance of SimCode: time 1.182e-06/0.9011, allocations: 0 / 329.9 MB, free: 448 kB / 298.7 MB Notification: Performance of Templates: time 0.01495/0.916, allocations: 14.26 MB / 344.1 MB, free: 2.492 MB / 314.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2483629286289215]