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] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009408/0.0009408, allocations: 77.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.002308, 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.0007499/0.0007499, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000965/0.001715, 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.8677/0.8677, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08756/0.9553, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.008771/0.008771, allocations: 2.092 MB / 246.2 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002272/0.01104, 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.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.233e-06/1.233e-06, allocations: 0 / 248.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.308e-06/1.054e-05, allocations: 2.312 kB / 248.8 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesImplicit): time 0.00838/0.008391, allocations: 12.37 MB / 261.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007267/0.01566, allocations: 12.16 MB / 273.4 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.01579, allocations: 11.94 kB / 273.4 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.01616, allocations: 218.4 kB / 273.6 MB, free: 1.199 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.09597/0.1121, allocations: 1.246 MB / 274.8 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003255/0.1154, allocations: 1.288 MB / 276.1 MB, free: 4.469 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008867/0.1163, allocations: 0.998 MB / 277.1 MB, free: 4.133 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.29e-05/0.1164, allocations: 34.7 kB / 277.2 MB, free: 4.117 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.7553/0.8717, allocations: 33.7 MB / 310.9 MB, free: 216 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000555/0.8722, allocations: 246.2 kB / 311.1 MB, free: 176 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.598e-05/0.8723, allocations: 40 kB / 311.1 MB, free: 136 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003711/0.876, allocations: 0.9253 MB / 312.1 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.0001254/0.8761, allocations: 91.97 kB / 312.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.8763, allocations: 199.6 kB / 312.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.8778, allocations: 0.9013 MB / 313.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.74e-05/0.8778, allocations: 3.812 kB / 313.3 MB, free: 15.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.8778, allocations: 0 / 313.3 MB, free: 15.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.8778, allocations: 0 / 313.3 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.0009839/0.8788, allocations: 1.097 MB / 314.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.8788, allocations: 12.03 kB / 314.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.8802, allocations: 1.048 MB / 315.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.8805, allocations: 213.5 kB / 315.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.8805, allocations: 47.06 kB / 315.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.8806, allocations: 54.12 kB / 315.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006242/0.8812, allocations: 0.6983 MB / 316.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.8812, allocations: 0 / 316.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.8812, allocations: 31.19 kB / 316.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.8812, allocations: 31.78 kB / 316.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.8816, allocations: 301.5 kB / 316.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.8831, allocations: 2.272 MB / 319 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.8834, allocations: 169.1 kB / 319.2 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.07e-05/0.8834, allocations: 68.83 kB / 319.3 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005155/0.8839, allocations: 0.679 MB / 320 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.884, allocations: 30.56 kB / 320 MB, free: 9.625 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 1.833e-06/0.884, allocations: 0 / 320 MB, free: 9.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=71): time 0.000609/0.8846, allocations: 434.7 kB / 320.4 MB, free: 9.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.8846, allocations: 81.11 kB / 320.5 MB, free: 9.129 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.8847, allocations: 195.9 kB / 320.7 MB, free: 8.949 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.8847, allocations: 33.33 kB / 320.7 MB, free: 8.914 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.8848, allocations: 290.5 kB / 321 MB, free: 8.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.8849, allocations: 245.3 kB / 321.2 MB, free: 8.438 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.885, allocations: 90.38 kB / 321.3 MB, free: 8.371 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.017e-05/0.8851, allocations: 359.5 kB / 321.7 MB, free: 8.031 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.295e-05/0.8851, allocations: 37.31 kB / 321.7 MB, free: 7.996 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.8853, allocations: 234.4 kB / 321.9 MB, free: 7.715 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.8855, allocations: 352.5 kB / 322.3 MB, free: 7.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.8855, allocations: 4 kB / 322.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00027/0.8857, allocations: 320 kB / 322.6 MB, free: 7.062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.8858, allocations: 4 kB / 322.6 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.8858, allocations: 8 kB / 322.6 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.8858, allocations: 8 kB / 322.6 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.886, allocations: 85.98 kB / 322.7 MB, free: 6.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003729/0.8864, allocations: 1.169 MB / 323.9 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.8865, allocations: 62.92 kB / 323.9 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.8865, allocations: 15.88 kB / 324 MB, free: 5.699 MB / 298.7 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.0001075/0.8866, allocations: 143 kB / 324.1 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.8867, allocations: 19.86 kB / 324.1 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006135/0.8873, allocations: 0.808 MB / 324.9 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003685/0.8876, allocations: 0.5667 MB / 325.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.8876, allocations: 4 kB / 325.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.8876, allocations: 3.984 kB / 325.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.8888, allocations: 1.551 MB / 327 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.8888, allocations: 0 / 327 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.889, allocations: 130.3 kB / 327.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.8891, allocations: 59.41 kB / 327.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001595/0.8892, allocations: 204 kB / 327.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.8892, allocations: 11.56 kB / 327.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000397/0.8896, allocations: 1.146 MB / 328.6 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8896, allocations: 0 / 328.6 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.8901, allocations: 0.8153 MB / 329.4 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.8901, allocations: 10.44 kB / 329.4 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.8903, allocations: 20.11 kB / 329.4 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.8903, allocations: 50.45 kB / 329.5 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.8903, allocations: 7.625 kB / 329.5 MB, free: 476 kB / 298.7 MB Notification: Performance of sorting global known variables: time 3.144e-05/0.8903, allocations: 54.36 kB / 329.5 MB, free: 424 kB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.8903, allocations: 0 / 329.5 MB, free: 424 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003589/0.8907, allocations: 212.3 kB / 329.7 MB, free: 228 kB / 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: 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.0003416/0.891, allocations: 209.2 kB / 330 MB, free: 40 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005403/0.8916, allocations: 0.5387 MB / 330.5 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/0.8916, allocations: 4 kB / 330.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.8919, allocations: 287.2 kB / 330.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008369/0.8927, allocations: 493.3 kB / 331.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006211/0.8989, allocations: 1.239 MB / 332.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.899, allocations: 177.6 kB / 332.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002648/0.8993, allocations: 112.7 kB / 332.8 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/0.8996, allocations: 247.8 kB / 333 MB, free: 13.12 MB / 314.7 MB Notification: Performance of SimCode: time 1.213e-06/0.8996, allocations: 4 kB / 333 MB, free: 13.11 MB / 314.7 MB Notification: Performance of Templates: time 0.01473/0.9144, allocations: 14.19 MB / 347.2 MB, free: 15.25 MB / 330.7 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 > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.441474204882979]