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.001242/0.001242, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001575/0.001575, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9281/0.9281, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.007964/0.007964, allocations: 1.985 MB / 262.3 MB, free: 11.14 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.142e-06/1.142e-06, allocations: 0 / 332.4 MB, free: 17.22 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.543e-05, allocations: 2.312 kB / 332.4 MB, free: 17.22 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.005839/0.005854, allocations: 9.236 MB / 341.6 MB, free: 7.941 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004099/0.009953, allocations: 8.678 MB / 350.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.292e-05/0.01004, allocations: 0 / 350.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003872/0.01042, allocations: 139 kB / 350.4 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.01069, allocations: 115.1 kB / 350.6 MB, free: 14.98 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.002351/0.01304, allocations: 1.482 MB / 352 MB, free: 13.49 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.01333, allocations: 282.5 kB / 352.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.798e-05/0.01339, allocations: 13.8 kB / 352.3 MB, free: 13.2 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 0.6929/0.7062, allocations: 21.77 MB / 374.1 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.7065, allocations: 79.73 kB / 374.2 MB, free: 9.426 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.7065, allocations: 8 kB / 374.2 MB, free: 9.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.7078, allocations: 467.6 kB / 374.6 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.089e-05/0.7079, allocations: 35.89 kB / 374.7 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.791e-05/0.708, allocations: 59.84 kB / 374.7 MB, free: 8.867 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.7091, allocations: 494.6 kB / 375.2 MB, free: 8.383 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7091, allocations: 0 / 375.2 MB, free: 8.383 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.7091, allocations: 0 / 375.2 MB, free: 8.383 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.7091, allocations: 0 / 375.2 MB, free: 8.383 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.0007275/0.7098, allocations: 0.5888 MB / 375.8 MB, free: 7.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.7099, allocations: 8.031 kB / 375.8 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003137/0.7102, allocations: 92.5 kB / 375.9 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.7104, allocations: 148.4 kB / 376 MB, free: 7.488 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.7104, allocations: 12.38 kB / 376.1 MB, free: 7.477 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.7104, allocations: 12.38 kB / 376.1 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.7108, allocations: 260.5 kB / 376.3 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.7108, allocations: 3.984 kB / 376.3 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.7108, allocations: 8 kB / 376.3 MB, free: 7.168 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.7109, allocations: 8 kB / 376.3 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.7111, allocations: 108.8 kB / 376.5 MB, free: 7.051 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007251/0.7118, allocations: 0.695 MB / 377.1 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.7121, allocations: 139 kB / 377.3 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.799e-05/0.7121, allocations: 71.59 kB / 377.4 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.7123, allocations: 99.92 kB / 377.4 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.7123, allocations: 37.39 kB / 377.5 MB, free: 5.945 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.363e-06/0.7123, allocations: 4 kB / 377.5 MB, free: 5.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001534/0.7138, allocations: 0.8968 MB / 378.4 MB, free: 5.004 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.7139, allocations: 55.41 kB / 378.4 MB, free: 4.938 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.714, allocations: 193.9 kB / 378.6 MB, free: 4.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.714, allocations: 33.7 kB / 378.7 MB, free: 4.691 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.714, allocations: 159.7 kB / 378.8 MB, free: 4.531 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.353e-05/0.7141, allocations: 158.6 kB / 379 MB, free: 4.375 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.7142, allocations: 71.34 kB / 379 MB, free: 4.297 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.7143, allocations: 0.4962 MB / 379.5 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.7144, allocations: 60.47 kB / 379.6 MB, free: 3.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.7145, allocations: 136.8 kB / 379.7 MB, free: 3.562 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.7149, allocations: 229.7 kB / 380 MB, free: 3.312 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7149, allocations: 0 / 380 MB, free: 3.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000488/0.7154, allocations: 365.8 kB / 380.3 MB, free: 2.941 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.7154, allocations: 8 kB / 380.3 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.7154, allocations: 0 / 380.3 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003793/0.7158, allocations: 139.7 kB / 380.5 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.136e-05/0.7158, allocations: 27.98 kB / 380.5 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004265/0.7163, allocations: 0.8819 MB / 381.4 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.865e-05/0.7163, allocations: 15.92 kB / 381.4 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.7163, allocations: 12 kB / 381.4 MB, free: 1.824 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 9.24e-05/0.7164, allocations: 172.5 kB / 381.6 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.7165, allocations: 23.86 kB / 381.6 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.7165, allocations: 30.28 kB / 381.6 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.7165, allocations: 7.984 kB / 381.6 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.7165, allocations: 0 / 381.6 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.7165, allocations: 3.984 kB / 381.6 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.7167, allocations: 205.2 kB / 381.8 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.7167, allocations: 0 / 381.8 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.919e-05/0.7168, allocations: 39.91 kB / 381.9 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002012/0.717, allocations: 71.61 kB / 381.9 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.717, allocations: 11.98 kB / 381.9 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.7181, allocations: 1.877 MB / 383.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7181, allocations: 4 kB / 383.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.7186, allocations: 0.5422 MB / 384.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.7186, allocations: 27.83 kB / 384.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.7186, allocations: 4 kB / 384.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.7187, allocations: 7.984 kB / 384.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.7188, allocations: 19.97 kB / 384.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.7188, allocations: 11.98 kB / 384.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.455e-05/0.7188, allocations: 139.2 kB / 384.6 MB, free: 14.42 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.7188, allocations: 0 / 384.6 MB, free: 14.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000223/0.7191, allocations: 63.94 kB / 384.6 MB, free: 14.36 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.0003152/0.7194, allocations: 180 kB / 384.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003584/0.7197, allocations: 228.4 kB / 385 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.7197, allocations: 0 / 385 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.72, allocations: 307.8 kB / 385.3 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.7204, allocations: 104.1 kB / 385.4 MB, free: 13.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009532/0.7214, allocations: 0.5472 MB / 386 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.027e-05/0.7214, allocations: 85.31 kB / 386.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.7216, allocations: 116.9 kB / 386.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.7216, allocations: 20.48 kB / 386.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.7216, allocations: 0 / 386.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of Templates: time 0.007145/0.7288, allocations: 5.464 MB / 391.7 MB, free: 7.254 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: 4.222784216981381]