Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesImplicit.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.0006833/0.0006833, allocations: 77.38 kB / 5.957 MB, free: 1.863 MB / 7.832 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009388/0.001622, 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.000696/0.000696, allocations: 145.9 kB / 7.29 MB, free: 0.5273 MB / 7.832 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001149/0.001845, 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 0.986/0.986, allocations: 177.2 MB / 185.7 MB, free: 9.188 MB / 186.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07684/1.063, allocations: 53.66 MB / 239.4 MB, free: 3.461 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.01379/0.01379, allocations: 2.092 MB / 242.2 MB, free: 0.625 MB / 234.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003234/0.01702, allocations: 1.26 MB / 243.5 MB, free: 15.37 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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesImplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 244.8 MB, free: 14.05 MB / 250.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.714e-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.TestBasePropertiesImplicit): time 0.01235/0.01237, allocations: 12.36 MB / 257.1 MB, free: 1.637 MB / 250.8 MB Notification: Performance of NFInst.instExpressions: time 0.007472/0.01984, allocations: 12.16 MB / 269.3 MB, free: 5.43 MB / 266.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.02, allocations: 0 / 269.3 MB, free: 5.43 MB / 266.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.02041, allocations: 222.4 kB / 269.5 MB, free: 5.211 MB / 266.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.0222, allocations: 1.256 MB / 270.8 MB, free: 3.945 MB / 266.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.02485, allocations: 1.291 MB / 272.1 MB, free: 2.648 MB / 266.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006868/0.02554, allocations: 0.9983 MB / 273.1 MB, free: 1.645 MB / 266.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.153e-05/0.02561, allocations: 37.88 kB / 273.1 MB, free: 1.605 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.9008/0.9264, allocations: 33.7 MB / 306.8 MB, free: 5.66 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003378/0.9268, allocations: 244.3 kB / 307 MB, free: 5.66 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 4.762e-05/0.9268, allocations: 40.75 kB / 307.1 MB, free: 5.66 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/0.9288, allocations: 0.7074 MB / 307.8 MB, free: 5.66 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 0.000106/0.9289, allocations: 81.42 kB / 307.9 MB, free: 5.66 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.9291, allocations: 198.8 kB / 308.1 MB, free: 5.66 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.9306, allocations: 0.9065 MB / 309 MB, free: 5.617 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.866e-05/0.9306, allocations: 0 / 309 MB, free: 5.617 MB / 282.8 MB Notification: Performance of FrontEnd: time 2.785e-06/0.9306, allocations: 0.6094 kB / 309 MB, free: 5.617 MB / 282.8 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.9306, allocations: 0 / 309 MB, free: 5.617 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.001332/0.932, allocations: 1.098 MB / 310.1 MB, free: 5.066 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.932, allocations: 12.58 kB / 310.1 MB, free: 5.062 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.9335, allocations: 1.051 MB / 311.1 MB, free: 4.973 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.9338, allocations: 210.5 kB / 311.3 MB, free: 4.781 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.9338, allocations: 43.94 kB / 311.4 MB, free: 4.758 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.9339, allocations: 61.19 kB / 311.4 MB, free: 4.719 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006515/0.9345, allocations: 0.704 MB / 312.1 MB, free: 4.172 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.9346, allocations: 2.297 kB / 312.1 MB, free: 4.172 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.9346, allocations: 28.88 kB / 312.2 MB, free: 4.16 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.9346, allocations: 30.22 kB / 312.2 MB, free: 4.145 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.9351, allocations: 304.6 kB / 312.5 MB, free: 3.922 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.9371, allocations: 2.267 MB / 314.8 MB, free: 2.066 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.9374, allocations: 174.5 kB / 314.9 MB, free: 1.922 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.9375, allocations: 70.12 kB / 315 MB, free: 1.855 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005379/0.938, allocations: 0.6702 MB / 315.7 MB, free: 1.32 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.9381, allocations: 38.5 kB / 315.7 MB, free: 1.277 MB / 282.8 MB Notification: Performance of pre-optimization done (n=71): time 1.312e-06/0.9381, allocations: 3.281 kB / 315.7 MB, free: 1.277 MB / 282.8 MB Notification: Performance of matching and sorting (n=71): time 0.0006219/0.9387, allocations: 432.4 kB / 316.1 MB, free: 0.9414 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.9387, allocations: 85.05 kB / 316.2 MB, free: 0.8438 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.9388, allocations: 182.6 kB / 316.4 MB, free: 0.6875 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.9388, allocations: 33.58 kB / 316.4 MB, free: 0.6523 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.9389, allocations: 293 kB / 316.7 MB, free: 416 kB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.721e-05/0.939, allocations: 244.8 kB / 317 MB, free: 220 kB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.453e-05/0.9391, allocations: 98.17 kB / 317.1 MB, free: 160 kB / 282.8 MB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.9392, allocations: 345.9 kB / 317.4 MB, free: 15.83 MB / 298.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.573e-05/0.9393, allocations: 47.5 kB / 317.4 MB, free: 15.8 MB / 298.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.9394, allocations: 235.7 kB / 317.7 MB, free: 15.52 MB / 298.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.9396, allocations: 355.4 kB / 318 MB, free: 15.18 MB / 298.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.9396, allocations: 8 kB / 318 MB, free: 15.17 MB / 298.8 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002712/0.9399, allocations: 317.2 kB / 318.3 MB, free: 14.93 MB / 298.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.9399, allocations: 8 kB / 318.3 MB, free: 14.92 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.9399, allocations: 4 kB / 318.3 MB, free: 14.92 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.9399, allocations: 8 kB / 318.4 MB, free: 14.91 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.9401, allocations: 86.69 kB / 318.4 MB, free: 14.85 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003893/0.9405, allocations: 1.169 MB / 319.6 MB, free: 13.65 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.9407, allocations: 61.55 kB / 319.7 MB, free: 13.6 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.9407, allocations: 15 kB / 319.7 MB, free: 13.59 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): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.9408, allocations: 151 kB / 319.8 MB, free: 13.45 MB / 298.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.9408, allocations: 20.41 kB / 319.9 MB, free: 13.43 MB / 298.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006404/0.9415, allocations: 0.8042 MB / 320.7 MB, free: 12.72 MB / 298.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003711/0.9418, allocations: 0.5625 MB / 321.2 MB, free: 12.23 MB / 298.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.9418, allocations: 0 / 321.2 MB, free: 12.23 MB / 298.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.9418, allocations: 3.891 kB / 321.2 MB, free: 12.23 MB / 298.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.9431, allocations: 1.557 MB / 322.8 MB, free: 10.99 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.9431, allocations: 4 kB / 322.8 MB, free: 10.98 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.9433, allocations: 123.6 kB / 322.9 MB, free: 10.89 MB / 298.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.499e-05/0.9434, allocations: 63.36 kB / 323 MB, free: 10.82 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/0.9435, allocations: 202.1 kB / 323.2 MB, free: 10.66 MB / 298.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.9435, allocations: 14.06 kB / 323.2 MB, free: 10.65 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004477/0.944, allocations: 1.137 MB / 324.3 MB, free: 9.5 MB / 298.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.944, allocations: 4.125 kB / 324.3 MB, free: 9.496 MB / 298.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004931/0.9445, allocations: 0.8127 MB / 325.1 MB, free: 8.766 MB / 298.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.9445, allocations: 17 kB / 325.1 MB, free: 8.762 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.9446, allocations: 14.3 kB / 325.2 MB, free: 8.758 MB / 298.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.9447, allocations: 43.3 kB / 325.2 MB, free: 8.742 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.9447, allocations: 12.88 kB / 325.2 MB, free: 8.734 MB / 298.8 MB Notification: Performance of sorting global known variables: time 4.148e-05/0.9447, allocations: 48.5 kB / 325.3 MB, free: 8.699 MB / 298.8 MB Notification: Performance of sort global known variables: time 7e-08/0.9447, allocations: 0 / 325.3 MB, free: 8.699 MB / 298.8 MB Notification: Performance of remove unused functions: time 0.0003818/0.9451, allocations: 221.1 kB / 325.5 MB, free: 8.5 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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003941/0.9455, allocations: 204 kB / 325.7 MB, free: 8.328 MB / 298.8 MB Notification: Performance of simCode: created initialization part: time 0.0006932/0.9462, allocations: 0.536 MB / 326.2 MB, free: 7.863 MB / 298.8 MB Notification: Performance of simCode: created event and clocks part: time 2.045e-05/0.9462, allocations: 4.375 kB / 326.2 MB, free: 7.859 MB / 298.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.9466, allocations: 297 kB / 326.5 MB, free: 7.625 MB / 298.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009443/0.9475, allocations: 492.5 kB / 327 MB, free: 7.172 MB / 298.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008516/0.956, allocations: 1.25 MB / 328.2 MB, free: 5.992 MB / 298.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.9562, allocations: 173.6 kB / 328.4 MB, free: 5.801 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 0.0003138/0.9565, allocations: 112.6 kB / 328.5 MB, free: 5.695 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/0.9569, allocations: 248.9 kB / 328.8 MB, free: 5.457 MB / 298.8 MB Notification: Performance of SimCode: time 6.61e-07/0.9569, allocations: 0 / 328.8 MB, free: 5.457 MB / 298.8 MB Notification: Performance of Templates: time 0.0195/0.9764, allocations: 14.17 MB / 342.9 MB, free: 7.609 MB / 314.8 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesImplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.88630373775959]