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] "Error: Unknown debug flag newInst. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007494/0.0007494, allocations: 77.38 kB / 5.957 MB, free: 1.863 MB / 7.832 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001849, allocations: 448.2 kB / 6.394 MB, free: 1.422 MB / 7.832 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.0007246/0.0007246, allocations: 145.9 kB / 7.29 MB, free: 0.5273 MB / 7.832 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001158/0.001882, allocations: 471.7 kB / 7.75 MB, free: 68 kB / 7.832 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.009/1.009, allocations: 177.2 MB / 185.7 MB, free: 9.184 MB / 186.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08541/1.094, allocations: 53.67 MB / 239.4 MB, free: 3.449 MB / 234.8 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.007978/0.007978, allocations: 2.091 MB / 242.2 MB, free: 0.6172 MB / 234.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00245/0.01043, allocations: 1.258 MB / 243.5 MB, free: 15.36 MB / 250.8 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 1.363e-06/1.363e-06, allocations: 0 / 244.8 MB, free: 14.05 MB / 250.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.573e-05, allocations: 2.312 kB / 244.8 MB, free: 14.05 MB / 250.8 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit): time 0.008327/0.008342, allocations: 12.32 MB / 257.1 MB, free: 1.68 MB / 250.8 MB Notification: Performance of NFInst.instExpressions: time 0.007601/0.01594, allocations: 12.16 MB / 269.3 MB, free: 5.473 MB / 266.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.01621, allocations: 4 kB / 269.3 MB, free: 5.469 MB / 266.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0004573/0.01666, allocations: 218.4 kB / 269.5 MB, free: 5.254 MB / 266.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002252/0.01891, allocations: 1.252 MB / 270.7 MB, free: 3.992 MB / 266.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003216/0.02213, allocations: 1.294 MB / 272 MB, free: 2.691 MB / 266.8 MB Notification: Performance of NFFlatten.flatten: time 0.0009695/0.0231, allocations: 0.9867 MB / 273 MB, free: 1.699 MB / 266.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.02319, allocations: 33.94 kB / 273 MB, free: 1.664 MB / 266.8 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.8487/0.8719, allocations: 33.7 MB / 306.7 MB, free: 5.68 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003693/0.8723, allocations: 239.3 kB / 307 MB, free: 5.68 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 7.576e-05/0.8724, allocations: 38.69 kB / 307 MB, free: 5.68 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.874, allocations: 0.7113 MB / 307.7 MB, free: 5.68 MB / 282.8 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 9.599e-05/0.8741, allocations: 83.84 kB / 307.8 MB, free: 5.68 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.8743, allocations: 198.4 kB / 308 MB, free: 5.68 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.8756, allocations: 0.895 MB / 308.9 MB, free: 5.641 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-05/0.8756, allocations: 4.516 kB / 308.9 MB, free: 5.637 MB / 282.8 MB Notification: Performance of FrontEnd: time 2.234e-06/0.8756, allocations: 3.938 kB / 308.9 MB, free: 5.637 MB / 282.8 MB Notification: Performance of Transformations before backend: time 1.889e-05/0.8756, allocations: 3.281 kB / 308.9 MB, free: 5.637 MB / 282.8 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.001022/0.8766, allocations: 1.091 MB / 310 MB, free: 5.09 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.8766, allocations: 14.27 kB / 310 MB, free: 5.086 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.8779, allocations: 1.052 MB / 311.1 MB, free: 4.992 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.8782, allocations: 209.7 kB / 311.3 MB, free: 4.836 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.8783, allocations: 47.19 kB / 311.3 MB, free: 4.824 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.8783, allocations: 59 kB / 311.4 MB, free: 4.785 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006486/0.879, allocations: 0.7059 MB / 312.1 MB, free: 4.23 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.879, allocations: 0 / 312.1 MB, free: 4.23 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.879, allocations: 27.75 kB / 312.1 MB, free: 4.219 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.879, allocations: 34.81 kB / 312.1 MB, free: 4.203 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.8794, allocations: 300.7 kB / 312.4 MB, free: 3.984 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.881, allocations: 2.264 MB / 314.7 MB, free: 2.133 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.8813, allocations: 178.4 kB / 314.9 MB, free: 1.984 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.072e-05/0.8814, allocations: 64.12 kB / 314.9 MB, free: 1.922 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005394/0.8819, allocations: 0.6615 MB / 315.6 MB, free: 1.391 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.8819, allocations: 34.5 kB / 315.6 MB, free: 1.352 MB / 282.8 MB Notification: Performance of pre-optimization done (n=71): time 2.094e-06/0.8819, allocations: 8 kB / 315.6 MB, free: 1.344 MB / 282.8 MB Notification: Performance of matching and sorting (n=71): time 0.0006341/0.8826, allocations: 438.1 kB / 316.1 MB, free: 1.008 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.8826, allocations: 77.11 kB / 316.1 MB, free: 0.9141 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.8827, allocations: 193.3 kB / 316.3 MB, free: 0.75 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.8827, allocations: 29.39 kB / 316.3 MB, free: 0.7188 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.8828, allocations: 291.6 kB / 316.6 MB, free: 484 kB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.377e-05/0.8829, allocations: 236.8 kB / 316.9 MB, free: 296 kB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-05/0.883, allocations: 98.16 kB / 317 MB, free: 236 kB / 282.8 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.8831, allocations: 350.5 kB / 317.3 MB, free: 15.91 MB / 298.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.755e-05/0.8832, allocations: 37.88 kB / 317.3 MB, free: 15.88 MB / 298.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.8833, allocations: 233.9 kB / 317.6 MB, free: 15.61 MB / 298.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.8835, allocations: 363.4 kB / 317.9 MB, free: 15.25 MB / 298.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.8835, allocations: 0 / 317.9 MB, free: 15.25 MB / 298.8 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002835/0.8838, allocations: 319.4 kB / 318.2 MB, free: 15.01 MB / 298.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.8838, allocations: 8.125 kB / 318.2 MB, free: 15 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.8838, allocations: 8 kB / 318.3 MB, free: 14.99 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8839, allocations: 8 kB / 318.3 MB, free: 14.98 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.884, allocations: 75.17 kB / 318.3 MB, free: 14.93 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.884, allocations: 11.75 kB / 318.3 MB, free: 14.92 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.8841, allocations: 66.89 kB / 318.4 MB, free: 14.87 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.8842, allocations: 15.56 kB / 318.4 MB, free: 14.86 MB / 298.8 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.0001036/0.8843, allocations: 144.8 kB / 318.6 MB, free: 14.72 MB / 298.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.8843, allocations: 20.64 kB / 318.6 MB, free: 14.71 MB / 298.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005146/0.8848, allocations: 0.7039 MB / 319.3 MB, free: 14.07 MB / 298.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003172/0.8851, allocations: 483.2 kB / 319.8 MB, free: 13.66 MB / 298.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.8851, allocations: 0 / 319.8 MB, free: 13.66 MB / 298.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.8851, allocations: 7.609 kB / 319.8 MB, free: 13.65 MB / 298.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.8864, allocations: 1.45 MB / 321.2 MB, free: 12.5 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.8864, allocations: 0 / 321.2 MB, free: 12.5 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.8866, allocations: 132.7 kB / 321.3 MB, free: 12.4 MB / 298.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-05/0.8867, allocations: 59.42 kB / 321.4 MB, free: 12.34 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.8867, allocations: 4.516 kB / 321.4 MB, free: 12.34 MB / 298.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.8867, allocations: 10.75 kB / 321.4 MB, free: 12.33 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.8867, allocations: 6.5 kB / 321.4 MB, free: 12.33 MB / 298.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8867, allocations: 0 / 321.4 MB, free: 12.33 MB / 298.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.8871, allocations: 0.6734 MB / 322.1 MB, free: 11.73 MB / 298.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.8871, allocations: 12.66 kB / 322.1 MB, free: 11.73 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.8872, allocations: 22.62 kB / 322.1 MB, free: 11.71 MB / 298.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.8873, allocations: 38.95 kB / 322.2 MB, free: 11.7 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.8873, allocations: 11.75 kB / 322.2 MB, free: 11.7 MB / 298.8 MB Notification: Performance of sorting global known variables: time 3.776e-05/0.8874, allocations: 47.62 kB / 322.2 MB, free: 11.66 MB / 298.8 MB Notification: Performance of sort global known variables: time 5e-08/0.8874, allocations: 0 / 322.2 MB, free: 11.66 MB / 298.8 MB Notification: Performance of remove unused functions: time 0.0003856/0.8877, allocations: 218.4 kB / 322.4 MB, free: 11.46 MB / 298.8 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.0004079/0.8881, allocations: 211.7 kB / 322.7 MB, free: 11.29 MB / 298.8 MB Notification: Performance of simCode: created initialization part: time 0.0005074/0.8887, allocations: 0.5125 MB / 323.2 MB, free: 10.84 MB / 298.8 MB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/0.8887, allocations: 4 kB / 323.2 MB, free: 10.84 MB / 298.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.889, allocations: 275.1 kB / 323.4 MB, free: 10.64 MB / 298.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009515/0.8899, allocations: 481.4 kB / 323.9 MB, free: 10.29 MB / 298.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006376/0.8963, allocations: 1.218 MB / 325.1 MB, free: 9.184 MB / 298.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.8964, allocations: 177.4 kB / 325.3 MB, free: 8.988 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 0.000308/0.8967, allocations: 110.2 kB / 325.4 MB, free: 8.883 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00035/0.8971, allocations: 256.7 kB / 325.7 MB, free: 8.637 MB / 298.8 MB Notification: Performance of SimCode: time 2.204e-06/0.8971, allocations: 0 / 325.7 MB, free: 8.637 MB / 298.8 MB Notification: Performance of Templates: time 0.0153/0.9124, allocations: 13.69 MB / 339.3 MB, free: 11.26 MB / 314.8 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.455974956974387]