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.0007878/0.0007878, allocations: 77.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001887, 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.0007366/0.0007366, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001738, 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.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1032/1.116, 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.008151/0.008151, allocations: 2.092 MB / 246.2 MB, free: 12.69 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002607/0.01076, allocations: 1.273 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.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 4.488e-06/4.488e-06, allocations: 4 kB / 248.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.493e-05, allocations: 2.312 kB / 248.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical): time 0.01096/0.01098, allocations: 12.32 MB / 261.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008188/0.01917, allocations: 12.17 MB / 273.3 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.01938, allocations: 4 kB / 273.3 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005111/0.0199, allocations: 218.4 kB / 273.5 MB, free: 1.285 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002659/0.02255, allocations: 1.244 MB / 274.8 MB, free: 32 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1451/0.1677, allocations: 1.281 MB / 276.1 MB, free: 4.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.1688, allocations: 0.989 MB / 277.1 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1689, allocations: 34.55 kB / 277.1 MB, free: 4.316 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.7796/0.9484, allocations: 33.7 MB / 310.8 MB, free: 440 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00052/0.949, allocations: 248.2 kB / 311 MB, free: 404 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.208e-05/0.949, allocations: 38.16 kB / 311.1 MB, free: 380 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002854/0.9519, allocations: 0.8041 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.0001909/0.9521, allocations: 97.73 kB / 312 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.9523, allocations: 195.6 kB / 312.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.9536, allocations: 0.8936 MB / 313 MB, free: 15.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-05/0.9536, allocations: 0 / 313 MB, free: 15.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.9536, allocations: 0 / 313 MB, free: 15.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.9537, allocations: 0 / 313 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.001035/0.9547, allocations: 1.104 MB / 314.1 MB, free: 14.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.9547, allocations: 8.031 kB / 314.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.9561, allocations: 1.052 MB / 315.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.9564, allocations: 201.3 kB / 315.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.9564, allocations: 49.17 kB / 315.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.9565, allocations: 59.62 kB / 315.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006206/0.9571, allocations: 0.6949 MB / 316.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.9571, allocations: 4 kB / 316.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.9571, allocations: 29.75 kB / 316.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.9572, allocations: 33.67 kB / 316.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003434/0.9575, allocations: 295.7 kB / 316.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.959, allocations: 2.254 MB / 318.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.9593, allocations: 182.5 kB / 319 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.948e-05/0.9594, allocations: 73.08 kB / 319.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005306/0.9599, allocations: 0.6756 MB / 319.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.9599, allocations: 41.81 kB / 319.8 MB, free: 9.984 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 2.184e-06/0.9599, allocations: 0 / 319.8 MB, free: 9.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.0006158/0.9605, allocations: 449 kB / 320.2 MB, free: 9.594 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.9606, allocations: 81.11 kB / 320.3 MB, free: 9.496 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.732e-05/0.9607, allocations: 184.4 kB / 320.5 MB, free: 9.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.9607, allocations: 29.33 kB / 320.5 MB, free: 9.289 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.9608, allocations: 287.3 kB / 320.8 MB, free: 9.027 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.9609, allocations: 254.4 kB / 321 MB, free: 8.809 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-05/0.961, allocations: 94.11 kB / 321.1 MB, free: 8.742 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.537e-05/0.9611, allocations: 346.6 kB / 321.5 MB, free: 8.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.447e-05/0.9611, allocations: 44.5 kB / 321.5 MB, free: 8.371 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.9612, allocations: 210 kB / 321.7 MB, free: 8.121 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.9614, allocations: 340.4 kB / 322 MB, free: 7.766 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9614, allocations: 0 / 322 MB, free: 7.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002669/0.9617, allocations: 307.1 kB / 322.3 MB, free: 7.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.9617, allocations: 8 kB / 322.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.9617, allocations: 4 kB / 322.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.9618, allocations: 8 kB / 322.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.9619, allocations: 78.56 kB / 322.4 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.9619, allocations: 8 kB / 322.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.962, allocations: 55.45 kB / 322.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.962, allocations: 15.86 kB / 322.5 MB, free: 7.344 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.0001073/0.9621, allocations: 151 kB / 322.7 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.9622, allocations: 15.98 kB / 322.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005162/0.9627, allocations: 0.7163 MB / 323.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003008/0.963, allocations: 486.8 kB / 323.9 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.963, allocations: 0 / 323.9 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.963, allocations: 3.984 kB / 323.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.9642, allocations: 1.472 MB / 325.4 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.9642, allocations: 4 kB / 325.4 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.9644, allocations: 133.1 kB / 325.5 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.9644, allocations: 67.36 kB / 325.6 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.9644, allocations: 0 / 325.6 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.9644, allocations: 15.44 kB / 325.6 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.9644, allocations: 7.938 kB / 325.6 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.9644, allocations: 3.844 kB / 325.6 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.9648, allocations: 0.6838 MB / 326.3 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.9648, allocations: 10.88 kB / 326.3 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.965, allocations: 19.55 kB / 326.3 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.965, allocations: 51.72 kB / 326.3 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.965, allocations: 17.55 kB / 326.4 MB, free: 3.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.984e-05/0.9651, allocations: 33.14 kB / 326.4 MB, free: 3.789 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.9651, allocations: 0 / 326.4 MB, free: 3.789 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003546/0.9654, allocations: 218.1 kB / 326.6 MB, free: 3.59 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.0003619/0.9658, allocations: 209.8 kB / 326.8 MB, free: 3.414 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004009/0.9662, allocations: 0.5235 MB / 327.3 MB, free: 2.918 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-05/0.9662, allocations: 4 kB / 327.3 MB, free: 2.914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.9664, allocations: 280.9 kB / 327.6 MB, free: 2.672 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008157/0.9672, allocations: 406 kB / 328 MB, free: 2.316 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006325/0.9735, allocations: 1.255 MB / 329.3 MB, free: 1.117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.9738, allocations: 371.4 kB / 329.6 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004234/0.9742, allocations: 264.8 kB / 329.9 MB, free: 492 kB / 298.7 MB Notification: Performance of SimCode: time 1.333e-06/0.9742, allocations: 0 / 329.9 MB, free: 492 kB / 298.7 MB Notification: Performance of Templates: time 0.008003/0.9822, allocations: 8.015 MB / 337.9 MB, free: 8.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 > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.252038944512606]