Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.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.001383/0.001383, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001622/0.001622, allocations: 216.6 kB / 22.99 MB, free: 4.945 MB / 14.72 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: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01342/0.01342, allocations: 2.818 MB / 316 MB, free: 168 kB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 75.88 kB / 439.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1061, allocations: 54.18 MB / 494.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.3039/0.41, allocations: 45.37 MB / 0.5268 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02966/0.4397, allocations: 25.14 MB / 0.5514 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008121/0.4405, allocations: 2.906 kB / 0.5514 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.4423, allocations: 0.5015 MB / 0.5519 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007924/0.4502, allocations: 2.182 MB / 0.554 GB, free: 10.72 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.01192/0.4622, allocations: 2.894 MB / 0.5568 GB, free: 8.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001505/0.4637, allocations: 0.9346 MB / 0.5577 GB, free: 7.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.4638, allocations: 25.78 kB / 0.5578 GB, free: 7.816 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.7517/1.215, allocations: 52 MB / 0.6085 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008644/1.216, allocations: 282.6 kB / 0.6088 GB, free: 5.074 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/1.216, allocations: 40 kB / 0.6088 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2308/1.447, allocations: 27.39 MB / 0.6356 GB, free: 9.469 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004252/1.448, allocations: 111.4 kB / 0.6357 GB, free: 9.363 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008901/1.449, allocations: 274.8 kB / 0.636 GB, free: 9.094 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01491/1.463, allocations: 1.866 MB / 0.6378 GB, free: 7.223 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/1.463, allocations: 0 / 0.6378 GB, free: 7.223 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.595e-06/1.463, allocations: 0 / 0.6378 GB, free: 7.223 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.009e-05/1.464, allocations: 0 / 0.6378 GB, free: 7.223 MB / 478.1 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.002255/1.466, allocations: 1.053 MB / 0.6388 GB, free: 6.137 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/1.466, allocations: 8.031 kB / 0.6388 GB, free: 6.129 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/1.468, allocations: 0.5 MB / 0.6393 GB, free: 5.629 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006338/1.474, allocations: 273.7 kB / 0.6396 GB, free: 5.336 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/1.474, allocations: 50.06 kB / 0.6396 GB, free: 5.289 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/1.475, allocations: 56 kB / 0.6397 GB, free: 5.234 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/1.477, allocations: 0.9808 MB / 0.6406 GB, free: 4.176 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/1.477, allocations: 4 kB / 0.6406 GB, free: 4.172 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-05/1.477, allocations: 24 kB / 0.6407 GB, free: 4.148 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.845e-05/1.477, allocations: 31.98 kB / 0.6407 GB, free: 4.117 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/1.479, allocations: 0.7162 MB / 0.6414 GB, free: 3.406 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004413/1.483, allocations: 2.683 MB / 0.644 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007715/1.484, allocations: 265 kB / 0.6443 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/1.484, allocations: 157.7 kB / 0.6444 GB, free: 208 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002192/1.486, allocations: 0.8727 MB / 0.6453 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/1.486, allocations: 38.55 kB / 0.6453 GB, free: 15.26 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 2.384e-06/1.486, allocations: 0 / 0.6453 GB, free: 15.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.001825/1.488, allocations: 0.5973 MB / 0.6459 GB, free: 14.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/1.488, allocations: 77.11 kB / 0.646 GB, free: 14.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/1.489, allocations: 206.4 kB / 0.6461 GB, free: 14.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/1.489, allocations: 25.7 kB / 0.6462 GB, free: 14.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/1.489, allocations: 296.4 kB / 0.6465 GB, free: 14.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002558/1.489, allocations: 241.8 kB / 0.6467 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/1.489, allocations: 97.95 kB / 0.6468 GB, free: 13.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/1.49, allocations: 338.8 kB / 0.6471 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/1.49, allocations: 121.3 kB / 0.6472 GB, free: 13.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/1.49, allocations: 311.9 kB / 0.6475 GB, free: 12.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008479/1.491, allocations: 472.9 kB / 0.648 GB, free: 12.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/1.491, allocations: 0 / 0.648 GB, free: 12.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001034/1.492, allocations: 488.9 kB / 0.6484 GB, free: 11.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/1.492, allocations: 11.98 kB / 0.6484 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/1.492, allocations: 8 kB / 0.6485 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/1.492, allocations: 11.94 kB / 0.6485 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/1.493, allocations: 71.84 kB / 0.6485 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/1.493, allocations: 8 kB / 0.6485 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/1.493, allocations: 63.44 kB / 0.6486 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/1.493, allocations: 24 kB / 0.6486 GB, free: 11.63 MB / 494.1 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,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003509/1.493, allocations: 193.6 kB / 0.6488 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.967e-05/1.493, allocations: 28.06 kB / 0.6488 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.346e-05/1.493, allocations: 34.64 kB / 0.6489 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/1.493, allocations: 7.875 kB / 0.6489 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/1.493, allocations: 4 kB / 0.6489 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.493, allocations: 0 / 0.6489 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000674/1.494, allocations: 348.6 kB / 0.6492 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.494, allocations: 0 / 0.6492 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/1.494, allocations: 23.98 kB / 0.6492 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/1.494, allocations: 0 / 0.6492 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/1.494, allocations: 8 kB / 0.6492 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/1.494, allocations: 7.938 kB / 0.6492 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/1.494, allocations: 7.938 kB / 0.6493 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008791/1.495, allocations: 0.5023 MB / 0.6497 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/1.495, allocations: 39.62 kB / 0.6498 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/1.495, allocations: 4 kB / 0.6498 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/1.496, allocations: 4 kB / 0.6498 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/1.496, allocations: 23.91 kB / 0.6498 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/1.496, allocations: 8 kB / 0.6498 GB, free: 10.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001327/1.496, allocations: 119.2 kB / 0.6499 GB, free: 10.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/1.496, allocations: 4 kB / 0.6499 GB, free: 10.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008762/1.497, allocations: 199.4 kB / 0.6501 GB, free: 10.02 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008089/1.497, allocations: 301 kB / 0.6504 GB, free: 9.719 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/1.499, allocations: 0.5529 MB / 0.651 GB, free: 9.141 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.499, allocations: 0 / 0.651 GB, free: 9.141 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006039/1.499, allocations: 459.7 kB / 0.6514 GB, free: 8.617 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/1.5, allocations: 202 kB / 0.6516 GB, free: 8.422 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/1.503, allocations: 1.12 MB / 0.6527 GB, free: 7.262 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/1.503, allocations: 352.6 kB / 0.653 GB, free: 6.891 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/1.504, allocations: 55.42 kB / 0.6531 GB, free: 6.836 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/1.504, allocations: 0 / 0.6531 GB, free: 6.836 MB / 494.1 MB Notification: Performance of Templates: time 0.02271/1.526, allocations: 9.241 MB / 0.6621 GB, free: 13.62 MB / 0.4981 GB " [Timeout remaining time 658] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.932367972098291] Failed to read output from testmodel.py, exit status != 0: 1.5350818643346429 1.554966013 0.08756729999999995 Calling exit ...