Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.0006516/0.0006516, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008893/0.001541, 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.0006902/0.0006902, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008824/0.001573, 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.8804/0.8804, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08038/0.9607, allocations: 53.67 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.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.006797/0.006797, allocations: 1.98 MB / 246.1 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001485/0.008282, allocations: 1.238 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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 248.7 MB, free: 10.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.125e-06/9.608e-06, allocations: 2.312 kB / 248.7 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.01141/0.01142, allocations: 11.94 MB / 260.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008218/0.01963, allocations: 12.16 MB / 272.8 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.01977, allocations: 4 kB / 272.8 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.02011, allocations: 218.3 kB / 273 MB, free: 1.797 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.02187, allocations: 1.249 MB / 274.2 MB, free: 0.5391 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.CO2CoolProp.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.1032/0.1251, allocations: 1.2 MB / 275.4 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009812/0.126, allocations: 0.9949 MB / 276.4 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.307e-05/0.1261, allocations: 32.03 kB / 276.5 MB, free: 5.492 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.5261/0.6522, allocations: 21.82 MB / 298.3 MB, free: 9.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000456/0.6527, allocations: 243.8 kB / 298.5 MB, free: 9.555 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.937e-05/0.6527, allocations: 38.59 kB / 298.6 MB, free: 9.555 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.6545, allocations: 0.7025 MB / 299.3 MB, free: 9.555 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.CO2CoolProp.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.CO2CoolProp.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.0001115/0.6546, allocations: 90.98 kB / 299.4 MB, free: 9.531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.6547, allocations: 201.5 kB / 299.6 MB, free: 9.504 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.656, allocations: 0.8993 MB / 300.5 MB, free: 9.406 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.354e-05/0.656, allocations: 0 / 300.5 MB, free: 9.406 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.656, allocations: 0.8438 kB / 300.5 MB, free: 9.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.656, allocations: 0 / 300.5 MB, free: 9.406 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.0009555/0.657, allocations: 1.092 MB / 301.6 MB, free: 8.848 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.657, allocations: 9.453 kB / 301.6 MB, free: 8.848 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/0.6584, allocations: 1.056 MB / 302.6 MB, free: 8.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.6586, allocations: 204.1 kB / 302.8 MB, free: 8.598 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.6587, allocations: 48.31 kB / 302.9 MB, free: 8.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.6587, allocations: 61.39 kB / 302.9 MB, free: 8.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005907/0.6593, allocations: 0.6979 MB / 303.6 MB, free: 8.289 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.6593, allocations: 3.188 kB / 303.6 MB, free: 8.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.6593, allocations: 28.56 kB / 303.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.6593, allocations: 31.12 kB / 303.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003046/0.6596, allocations: 296.9 kB / 304 MB, free: 8.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.6611, allocations: 2.249 MB / 306.2 MB, free: 6.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.6613, allocations: 183.8 kB / 306.4 MB, free: 6.801 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.726e-05/0.6614, allocations: 74.8 kB / 306.5 MB, free: 6.781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005065/0.6619, allocations: 0.6738 MB / 307.2 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.6619, allocations: 35.78 kB / 307.2 MB, free: 6.262 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 2.134e-06/0.6619, allocations: 0 / 307.2 MB, free: 6.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=74): time 0.0006214/0.6626, allocations: 458 kB / 307.6 MB, free: 5.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.6626, allocations: 83.03 kB / 307.7 MB, free: 5.812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.155e-05/0.6627, allocations: 178.3 kB / 307.9 MB, free: 5.656 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.6627, allocations: 29.64 kB / 307.9 MB, free: 5.625 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.6628, allocations: 285.2 kB / 308.2 MB, free: 5.387 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.929e-05/0.6629, allocations: 253.6 kB / 308.4 MB, free: 5.188 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.952e-05/0.663, allocations: 96.38 kB / 308.5 MB, free: 5.129 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.695e-05/0.663, allocations: 348.5 kB / 308.9 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.326e-05/0.6631, allocations: 43.28 kB / 308.9 MB, free: 4.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.6632, allocations: 205.7 kB / 309.1 MB, free: 4.539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.6634, allocations: 338.5 kB / 309.5 MB, free: 4.207 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6634, allocations: 0 / 309.5 MB, free: 4.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002609/0.6637, allocations: 307 kB / 309.8 MB, free: 3.977 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.6637, allocations: 8.75 kB / 309.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.6637, allocations: 4 kB / 309.8 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.6637, allocations: 8 kB / 309.8 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.6639, allocations: 78.75 kB / 309.8 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.6639, allocations: 7.188 kB / 309.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.664, allocations: 55.14 kB / 309.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.664, allocations: 14.75 kB / 309.9 MB, free: 3.832 MB / 282.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.0001051/0.6641, allocations: 152.8 kB / 310.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.6641, allocations: 22.31 kB / 310.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.6642, allocations: 28.98 kB / 310.1 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.6642, allocations: 4 kB / 310.1 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.6642, allocations: 3.938 kB / 310.1 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.6642, allocations: 0 / 310.1 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.6644, allocations: 239 kB / 310.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.6644, allocations: 0 / 310.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.808e-05/0.6645, allocations: 31.12 kB / 310.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.6645, allocations: 43 kB / 310.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.6645, allocations: 0 / 310.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.6645, allocations: 11.69 kB / 310.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.6646, allocations: 0 / 310.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6646, allocations: 0 / 310.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.6648, allocations: 407 kB / 310.8 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.6648, allocations: 4 kB / 310.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.602e-05/0.6649, allocations: 3.875 kB / 310.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.665, allocations: 22.41 kB / 310.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.665, allocations: 10.78 kB / 310.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.944e-05/0.665, allocations: 33.16 kB / 310.9 MB, free: 3 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.665, allocations: 0 / 310.9 MB, free: 3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003441/0.6653, allocations: 190 kB / 311.1 MB, free: 2.824 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: 4 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * 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.0003405/0.6657, allocations: 192.6 kB / 311.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003217/0.666, allocations: 457.1 kB / 311.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/0.666, allocations: 4 kB / 311.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.6662, allocations: 426.3 kB / 312.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005896/0.6668, allocations: 323.4 kB / 312.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006115/0.6729, allocations: 1.027 MB / 313.5 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.6731, allocations: 172 kB / 313.7 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003277/0.6734, allocations: 211.9 kB / 313.9 MB, free: 388 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.6737, allocations: 207.5 kB / 314.1 MB, free: 212 kB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6737, allocations: 0 / 314.1 MB, free: 212 kB / 282.7 MB Notification: Performance of Templates: time 0.01431/0.688, allocations: 10.9 MB / 325 MB, free: 5.727 MB / 298.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.395940857939422]