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.0008285/0.0008285, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0008818/0.0008818, allocations: 173 kB / 23.36 MB, free: 1.133 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 0.9094/0.9094, allocations: 177.1 MB / 203.8 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.007724/0.007724, allocations: 1.989 MB / 262.2 MB, free: 10.96 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.313e-06/1.313e-06, allocations: 0 / 279.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.913e-05, allocations: 2.312 kB / 279.6 MB, free: 9.633 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.009934/0.009953, allocations: 9.176 MB / 288.7 MB, free: 428 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1056/0.1155, allocations: 8.579 MB / 297.3 MB, free: 17.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.1156, allocations: 0.9688 kB / 297.3 MB, free: 17.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.116, allocations: 142.4 kB / 297.5 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.1163, allocations: 114.2 kB / 297.6 MB, free: 17.22 MB / 266.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.Examples.CO2CoolPropTabular.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolPropTabular.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.1189, allocations: 1.514 MB / 299.1 MB, free: 16.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.1192, allocations: 283.4 kB / 299.4 MB, free: 16.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.1193, allocations: 10.36 kB / 299.4 MB, free: 16.31 MB / 266.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 0.6581/0.7773, allocations: 21.78 MB / 321.1 MB, free: 2.867 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.7775, allocations: 70.12 kB / 321.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.7775, allocations: 8 kB / 321.2 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.7788, allocations: 473.6 kB / 321.7 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.7788, allocations: 34.34 kB / 321.7 MB, free: 2.355 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.7789, allocations: 60.52 kB / 321.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006018/0.7795, allocations: 489.4 kB / 322.3 MB, free: 1.836 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.7795, allocations: 0 / 322.3 MB, free: 1.836 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.7795, allocations: 0 / 322.3 MB, free: 1.836 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.7795, allocations: 0 / 322.3 MB, free: 1.836 MB / 266.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.0003985/0.7799, allocations: 472.9 kB / 322.7 MB, free: 1.352 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.565e-05/0.7799, allocations: 8.031 kB / 322.7 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.7801, allocations: 88.56 kB / 322.8 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.7802, allocations: 141.6 kB / 323 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.7802, allocations: 8.375 kB / 323 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.7802, allocations: 12.31 kB / 323 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.7805, allocations: 243.3 kB / 323.2 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.7805, allocations: 0 / 323.2 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.7805, allocations: 11.94 kB / 323.2 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.7805, allocations: 11.98 kB / 323.2 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.7806, allocations: 88.2 kB / 323.3 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.7809, allocations: 494.9 kB / 323.8 MB, free: 192 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.7811, allocations: 174.3 kB / 324 MB, free: 8 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.41e-05/0.7812, allocations: 40.91 kB / 324 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.856e-05/0.7813, allocations: 103.9 kB / 324.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.7813, allocations: 34.7 kB / 324.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=43): time 1.413e-06/0.7813, allocations: 4 kB / 324.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=47): time 0.001171/0.7825, allocations: 0.8162 MB / 325 MB, free: 14.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.7825, allocations: 59.34 kB / 325 MB, free: 14.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.039e-05/0.7825, allocations: 130.6 kB / 325.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.7826, allocations: 33.7 kB / 325.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.7826, allocations: 108.9 kB / 325.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.337e-05/0.7827, allocations: 158.6 kB / 325.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.7827, allocations: 57.66 kB / 325.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.867e-05/0.7828, allocations: 334.8 kB / 325.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.592e-05/0.7828, allocations: 43.31 kB / 325.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.7829, allocations: 105 kB / 326 MB, free: 13.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.783, allocations: 187.4 kB / 326.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.783, allocations: 4 kB / 326.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003545/0.7834, allocations: 280 kB / 326.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.7834, allocations: 11.98 kB / 326.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.7834, allocations: 3.938 kB / 326.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002949/0.7837, allocations: 124.8 kB / 326.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.407e-05/0.7838, allocations: 31.92 kB / 326.6 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000296/0.7841, allocations: 0.6025 MB / 327.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.777e-05/0.7841, allocations: 11.94 kB / 327.2 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.7841, allocations: 8 kB / 327.2 MB, free: 12.57 MB / 282.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 7.19e-05/0.7842, allocations: 128.5 kB / 327.4 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.7842, allocations: 15.98 kB / 327.4 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.7843, allocations: 26.27 kB / 327.4 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.7843, allocations: 4 kB / 327.4 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.7843, allocations: 4 kB / 327.4 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.259e-06/0.7843, allocations: 7.984 kB / 327.4 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.7844, allocations: 138.3 kB / 327.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7844, allocations: 0 / 327.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/0.7845, allocations: 39.86 kB / 327.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002077/0.7847, allocations: 84.75 kB / 327.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.7847, allocations: 11.98 kB / 327.7 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001768/0.7849, allocations: 0.5211 MB / 328.2 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.7849, allocations: 0 / 328.2 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.7852, allocations: 421.1 kB / 328.6 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.7852, allocations: 23.88 kB / 328.6 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.7853, allocations: 8 kB / 328.6 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.422e-05/0.7853, allocations: 4 kB / 328.6 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.7853, allocations: 23.89 kB / 328.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.7854, allocations: 12 kB / 328.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.833e-05/0.7854, allocations: 25.47 kB / 328.7 MB, free: 11.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.7854, allocations: 0 / 328.7 MB, free: 11.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001774/0.7856, allocations: 64 kB / 328.8 MB, free: 10.95 MB / 282.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000249/0.7858, allocations: 168.8 kB / 328.9 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.7861, allocations: 189.7 kB / 329.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7861, allocations: 0 / 329.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.7862, allocations: 126.7 kB / 329.2 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.7865, allocations: 107.4 kB / 329.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007533/0.7873, allocations: 0.5161 MB / 329.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.642e-05/0.7873, allocations: 85.31 kB / 329.9 MB, free: 9.719 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.7874, allocations: 97.34 kB / 330 MB, free: 9.625 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.7876, allocations: 121.2 kB / 330.2 MB, free: 9.508 MB / 282.7 MB Notification: Performance of SimCode: time 3.4e-07/0.7876, allocations: 3.938 kB / 330.2 MB, free: 9.504 MB / 282.7 MB Notification: Performance of Templates: time 0.006404/0.794, allocations: 5.988 MB / 336.2 MB, free: 3.508 MB / 282.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: 4.0445955651812255]