Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.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.001888/0.001888, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002085/0.002085, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.522/1.522, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.01838/0.01838, allocations: 1.997 MB / 261.6 MB, free: 11.11 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_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 331.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.571e-05, allocations: 7.375 kB / 331.7 MB, free: 17.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.007438/0.007464, allocations: 9.192 MB / 340.8 MB, free: 8.031 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005657/0.01312, allocations: 8.685 MB / 349.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.01324, allocations: 0 / 349.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005228/0.01377, allocations: 135 kB / 349.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.0141, allocations: 107.2 kB / 349.8 MB, free: 15.08 MB / 282.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.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.003949/0.01805, allocations: 1.497 MB / 351.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004052/0.01845, allocations: 278.6 kB / 351.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.401e-05/0.0185, allocations: 9.797 kB / 351.5 MB, free: 13.29 MB / 282.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 1.062/1.08, allocations: 21.77 MB / 373.3 MB, free: 9.578 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/1.081, allocations: 63.81 kB / 373.4 MB, free: 9.516 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/1.081, allocations: 8 kB / 373.4 MB, free: 9.508 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/1.082, allocations: 479.6 kB / 373.9 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/1.082, allocations: 31.89 kB / 373.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/1.082, allocations: 63.84 kB / 374 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/1.084, allocations: 0.5258 MB / 374.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.084, allocations: 0 / 374.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/1.084, allocations: 0 / 374.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/1.084, allocations: 0 / 374.5 MB, free: 8.418 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009623/1.084, allocations: 0.5885 MB / 375.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/1.085, allocations: 12.02 kB / 375.1 MB, free: 7.781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004085/1.085, allocations: 92.52 kB / 375.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/1.085, allocations: 160.3 kB / 375.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/1.085, allocations: 12.38 kB / 375.3 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/1.085, allocations: 12.38 kB / 375.3 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/1.086, allocations: 251.9 kB / 375.6 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/1.086, allocations: 3.984 kB / 375.6 MB, free: 7.207 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/1.086, allocations: 12 kB / 375.6 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/1.086, allocations: 8 kB / 375.6 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/1.086, allocations: 144.3 kB / 375.8 MB, free: 7.043 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/1.087, allocations: 0.7233 MB / 376.5 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005348/1.088, allocations: 162.9 kB / 376.6 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/1.088, allocations: 79.66 kB / 376.7 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/1.088, allocations: 99.92 kB / 376.8 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/1.088, allocations: 33.39 kB / 376.8 MB, free: 5.883 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.443e-06/1.088, allocations: 0 / 376.8 MB, free: 5.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.00269/1.091, allocations: 0.9906 MB / 377.8 MB, free: 4.852 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/1.091, allocations: 55.34 kB / 377.9 MB, free: 4.785 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/1.091, allocations: 201.8 kB / 378.1 MB, free: 4.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/1.091, allocations: 29.7 kB / 378.1 MB, free: 4.535 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/1.091, allocations: 155.7 kB / 378.3 MB, free: 4.379 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/1.091, allocations: 170.6 kB / 378.4 MB, free: 4.211 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/1.092, allocations: 75.36 kB / 378.5 MB, free: 4.129 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002953/1.092, allocations: 0.5118 MB / 379 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/1.092, allocations: 72.47 kB / 379.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/1.092, allocations: 176.7 kB / 379.3 MB, free: 3.328 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005152/1.093, allocations: 281.7 kB / 379.5 MB, free: 3.027 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/1.093, allocations: 0 / 379.5 MB, free: 3.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001122/1.094, allocations: 421.8 kB / 380 MB, free: 2.605 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.094, allocations: 12.03 kB / 380 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/1.094, allocations: 0 / 380 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007828/1.095, allocations: 147.5 kB / 380.1 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/1.095, allocations: 35.91 kB / 380.1 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009719/1.096, allocations: 0.917 MB / 381.1 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/1.096, allocations: 19.92 kB / 381.1 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/1.096, allocations: 12 kB / 381.1 MB, free: 1.43 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001754/1.096, allocations: 176.5 kB / 381.3 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/1.096, allocations: 27.86 kB / 381.3 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.533e-05/1.096, allocations: 22.27 kB / 381.3 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/1.096, allocations: 8 kB / 381.3 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.096, allocations: 0 / 381.3 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/1.096, allocations: 7.922 kB / 381.3 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/1.097, allocations: 205.3 kB / 381.5 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.097, allocations: 3.938 kB / 381.5 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/1.097, allocations: 39.97 kB / 381.6 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004308/1.097, allocations: 71.61 kB / 381.6 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/1.097, allocations: 7.984 kB / 381.7 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/1.099, allocations: 1.963 MB / 383.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.099, allocations: 4 kB / 383.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/1.101, allocations: 0.6087 MB / 384.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/1.101, allocations: 27.78 kB / 384.3 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/1.101, allocations: 7.969 kB / 384.3 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/1.101, allocations: 11.98 kB / 384.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/1.101, allocations: 19.97 kB / 384.3 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/1.101, allocations: 11.98 kB / 384.3 MB, free: 13.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001109/1.101, allocations: 139.2 kB / 384.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/1.101, allocations: 0 / 384.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003563/1.101, allocations: 64 kB / 384.5 MB, free: 13.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004776/1.102, allocations: 180.6 kB / 384.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007506/1.103, allocations: 272.1 kB / 384.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.103, allocations: 0 / 384.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006679/1.103, allocations: 331.8 kB / 385.3 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007353/1.104, allocations: 107.7 kB / 385.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/1.105, allocations: 0.532 MB / 385.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/1.105, allocations: 137.6 kB / 386 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004335/1.106, allocations: 113.2 kB / 386.2 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/1.106, allocations: 16.5 kB / 386.2 MB, free: 12.05 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/1.106, allocations: 0 / 386.2 MB, free: 12.05 MB / 314.7 MB Notification: Performance of Templates: time 0.01204/1.118, allocations: 5.468 MB / 391.6 MB, free: 6.586 MB / 314.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.853657111991197]