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.0007418/0.0007418, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007647/0.0007647, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8627/0.8627, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.008055/0.008055, allocations: 1.984 MB / 261.9 MB, free: 11.27 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.092e-06/1.092e-06, allocations: 0 / 385.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276e-05/1.386e-05, allocations: 6.281 kB / 385.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.006056/0.00607, allocations: 8.327 MB / 394.3 MB, free: 3.031 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004066/0.01014, allocations: 7.419 MB / 401.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.152e-05/0.0102, allocations: 0 / 401.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.01055, allocations: 143 kB / 401.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.0108, allocations: 103.2 kB / 401.9 MB, free: 11.34 MB / 330.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.00222/0.01302, allocations: 1.493 MB / 403.4 MB, free: 9.84 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.01326, allocations: 286.5 kB / 403.7 MB, free: 9.559 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.0133, allocations: 5.812 kB / 403.7 MB, free: 9.555 MB / 330.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.7879/0.8012, allocations: 13.11 MB / 416.8 MB, free: 26.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.8014, allocations: 69.3 kB / 416.9 MB, free: 26.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.8014, allocations: 7.875 kB / 416.9 MB, free: 26.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.8026, allocations: 477.7 kB / 417.3 MB, free: 26.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.8026, allocations: 32.84 kB / 417.4 MB, free: 26.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.919e-05/0.8027, allocations: 61.14 kB / 417.4 MB, free: 26.36 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008418/0.8035, allocations: 0.5305 MB / 418 MB, free: 26.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.8036, allocations: 0.6094 kB / 418 MB, free: 26.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.8036, allocations: 1.062 kB / 418 MB, free: 26.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.8036, allocations: 0 / 418 MB, free: 26.36 MB / 330.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.0006221/0.8042, allocations: 492.4 kB / 418.5 MB, free: 26.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.8042, allocations: 9.562 kB / 418.5 MB, free: 26.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.8044, allocations: 54.59 kB / 418.5 MB, free: 26.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.8046, allocations: 152.1 kB / 418.7 MB, free: 25.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.8046, allocations: 8.469 kB / 418.7 MB, free: 25.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.8046, allocations: 11.81 kB / 418.7 MB, free: 25.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.805, allocations: 299.1 kB / 419 MB, free: 25.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.805, allocations: 0 / 419 MB, free: 25.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.805, allocations: 9.172 kB / 419 MB, free: 25.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.805, allocations: 13.81 kB / 419 MB, free: 25.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.8053, allocations: 205.3 kB / 419.2 MB, free: 25.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.8058, allocations: 0.6107 MB / 419.8 MB, free: 25.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.8061, allocations: 203.6 kB / 420 MB, free: 25.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.8063, allocations: 138.3 kB / 420.1 MB, free: 25.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.8064, allocations: 97.23 kB / 420.2 MB, free: 25.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.8064, allocations: 37.22 kB / 420.3 MB, free: 25.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 1.232e-06/0.8064, allocations: 0 / 420.3 MB, free: 25.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.001656/0.8081, allocations: 1.176 MB / 421.5 MB, free: 25.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.8081, allocations: 53.5 kB / 421.5 MB, free: 24.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.249e-05/0.8081, allocations: 137.2 kB / 421.6 MB, free: 24.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.8082, allocations: 30.55 kB / 421.7 MB, free: 24.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.8082, allocations: 107.6 kB / 421.8 MB, free: 24.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.8082, allocations: 161.6 kB / 421.9 MB, free: 24.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.8083, allocations: 59.62 kB / 422 MB, free: 24.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.719e-05/0.8083, allocations: 334.5 kB / 422.3 MB, free: 24.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.8085, allocations: 125.7 kB / 422.4 MB, free: 24.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.8086, allocations: 197.2 kB / 422.6 MB, free: 24.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.8089, allocations: 339 kB / 423 MB, free: 24.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8089, allocations: 8.844 kB / 423 MB, free: 24.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005844/0.8095, allocations: 490.2 kB / 423.5 MB, free: 24.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.8095, allocations: 6.625 kB / 423.5 MB, free: 24.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.8095, allocations: 2.094 kB / 423.5 MB, free: 24.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003729/0.8099, allocations: 148.6 kB / 423.6 MB, free: 24.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.822e-05/0.81, allocations: 34.27 kB / 423.6 MB, free: 24.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003213/0.8103, allocations: 0.6434 MB / 424.3 MB, free: 23.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.013e-05/0.8104, allocations: 12.7 kB / 424.3 MB, free: 23.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.8104, allocations: 20 kB / 424.3 MB, free: 23.57 MB / 330.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.36e-05/0.8105, allocations: 132.1 kB / 424.4 MB, free: 23.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.8105, allocations: 19.48 kB / 424.5 MB, free: 23.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.8105, allocations: 23.34 kB / 424.5 MB, free: 23.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.8106, allocations: 13.22 kB / 424.5 MB, free: 23.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.8106, allocations: 1.031 kB / 424.5 MB, free: 23.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.8106, allocations: 2.484 kB / 424.5 MB, free: 23.44 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.8107, allocations: 217.2 kB / 424.7 MB, free: 23.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8107, allocations: 0 / 424.7 MB, free: 23.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.423e-05/0.8108, allocations: 35.36 kB / 424.7 MB, free: 23.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001777/0.811, allocations: 66.88 kB / 424.8 MB, free: 23.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.811, allocations: 7.797 kB / 424.8 MB, free: 23.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006247/0.8116, allocations: 1.425 MB / 426.2 MB, free: 22.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8116, allocations: 1.984 kB / 426.2 MB, free: 22.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006222/0.8123, allocations: 0.7101 MB / 427 MB, free: 21.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.8123, allocations: 25.94 kB / 427 MB, free: 21.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.8123, allocations: 2.078 kB / 427 MB, free: 21.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-05/0.8124, allocations: 11.62 kB / 427 MB, free: 21.81 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.8124, allocations: 25.66 kB / 427 MB, free: 21.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.8124, allocations: 9.547 kB / 427 MB, free: 21.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.892e-05/0.8125, allocations: 98.81 kB / 427.1 MB, free: 21.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.8125, allocations: 3.156 kB / 427.1 MB, free: 21.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002428/0.8127, allocations: 63.95 kB / 427.2 MB, free: 21.72 MB / 330.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.0002629/0.813, allocations: 186.4 kB / 427.4 MB, free: 21.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004674/0.8135, allocations: 339.8 kB / 427.7 MB, free: 21.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8135, allocations: 1.375 kB / 427.7 MB, free: 21.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.8138, allocations: 290.5 kB / 428 MB, free: 21.49 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.8142, allocations: 101.6 kB / 428.1 MB, free: 21.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006543/0.8148, allocations: 0.6038 MB / 428.7 MB, free: 21.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.571e-05/0.8149, allocations: 134 kB / 428.8 MB, free: 21.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.815, allocations: 24.88 kB / 428.8 MB, free: 21.06 MB / 330.7 MB Notification: Performance of SimCode: time 7.51e-07/0.815, allocations: 0 / 428.8 MB, free: 21.06 MB / 330.7 MB Notification: Performance of Templates: time 0.004067/0.819, allocations: 3.678 MB / 432.5 MB, free: 20.75 MB / 330.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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.091759679839015] Failed to read output from testmodel.py, exit status != 0: 0.8240211009979248 0.82975158 0.024891245000000003 Calling exit ...