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.002557/0.002557, 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.003162/0.003162, 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.596/1.596, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.01338/0.01338, allocations: 1.989 MB / 261.6 MB, free: 11.09 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.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: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 331.6 MB, free: 17.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.813e-05, allocations: 4.281 kB / 331.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.07403/0.07405, allocations: 52.14 MB / 383.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1695/0.2436, allocations: 29.58 MB / 413.3 MB, free: 16.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005036/0.2441, allocations: 3.75 kB / 413.3 MB, free: 16.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.2455, allocations: 0.5117 MB / 413.9 MB, free: 16.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005103/0.2506, allocations: 2.273 MB / 416.1 MB, free: 15.94 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.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.1.1/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.006759/0.2573, allocations: 2.992 MB / 419.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009065/0.2582, allocations: 0.9672 MB / 420.1 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.088e-05/0.2583, allocations: 25.2 kB / 420.1 MB, free: 14.89 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 1.562/1.82, allocations: 86.73 MB / 0.495 GB, free: 216 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000683/1.821, allocations: 241.3 kB / 0.4952 GB, free: 28 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/1.821, allocations: 40.05 kB / 0.4952 GB, free: 15.98 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3276/2.148, allocations: 44.67 MB / 0.5389 GB, free: 5.363 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002415/2.149, allocations: 112.1 kB / 0.539 GB, free: 5.305 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005812/2.149, allocations: 230.4 kB / 0.5392 GB, free: 5.133 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006863/2.156, allocations: 1.901 MB / 0.541 GB, free: 3.793 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/2.156, allocations: 0 / 0.541 GB, free: 3.793 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/2.156, allocations: 2.719 kB / 0.541 GB, free: 3.793 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/2.156, allocations: 4 kB / 0.5411 GB, free: 3.789 MB / 426.7 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.001893/2.158, allocations: 1.194 MB / 0.5422 GB, free: 2.719 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/2.158, allocations: 8.031 kB / 0.5422 GB, free: 2.711 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002502/2.16, allocations: 1.026 MB / 0.5432 GB, free: 2.031 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/2.161, allocations: 293.2 kB / 0.5435 GB, free: 1.801 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.111e-05/2.161, allocations: 44.88 kB / 0.5436 GB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.793e-05/2.161, allocations: 61.94 kB / 0.5436 GB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/2.163, allocations: 0.8954 MB / 0.5445 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/2.163, allocations: 4 kB / 0.5445 GB, free: 0.957 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/2.163, allocations: 23.12 kB / 0.5445 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.673e-05/2.163, allocations: 35.66 kB / 0.5445 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/2.164, allocations: 498.9 kB / 0.545 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004201/2.168, allocations: 3.661 MB / 0.5486 GB, free: 13.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006974/2.169, allocations: 285.1 kB / 0.5489 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/2.169, allocations: 150.6 kB / 0.549 GB, free: 13.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/2.17, allocations: 1.069 MB / 0.5501 GB, free: 12.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/2.17, allocations: 41.2 kB / 0.5501 GB, free: 12.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=71): time 1.643e-06/2.17, allocations: 0 / 0.5501 GB, free: 12.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.001816/2.172, allocations: 0.6189 MB / 0.5507 GB, free: 11.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/2.172, allocations: 77.11 kB / 0.5508 GB, free: 11.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/2.172, allocations: 291.6 kB / 0.5511 GB, free: 11.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/2.173, allocations: 37.2 kB / 0.5511 GB, free: 11.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/2.173, allocations: 346.6 kB / 0.5514 GB, free: 10.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/2.173, allocations: 258.8 kB / 0.5517 GB, free: 10.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/2.173, allocations: 131.6 kB / 0.5518 GB, free: 10.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003258/2.174, allocations: 0.5352 MB / 0.5523 GB, free: 9.961 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/2.174, allocations: 105.3 kB / 0.5524 GB, free: 9.859 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/2.174, allocations: 382 kB / 0.5528 GB, free: 9.383 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007565/2.175, allocations: 0.5323 MB / 0.5533 GB, free: 8.766 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/2.175, allocations: 4 kB / 0.5533 GB, free: 8.762 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008369/2.176, allocations: 0.496 MB / 0.5538 GB, free: 8.297 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/2.176, allocations: 8.719 kB / 0.5538 GB, free: 8.289 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/2.176, allocations: 4 kB / 0.5538 GB, free: 8.285 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/2.176, allocations: 12 kB / 0.5538 GB, free: 8.273 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/2.176, allocations: 65.78 kB / 0.5539 GB, free: 8.215 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/2.176, allocations: 11.09 kB / 0.5539 GB, free: 8.207 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/2.176, allocations: 67.39 kB / 0.5539 GB, free: 8.141 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/2.176, allocations: 16 kB / 0.554 GB, free: 8.125 MB / 442.7 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.0003082/2.177, allocations: 246.9 kB / 0.5542 GB, free: 7.879 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.442e-05/2.177, allocations: 31.81 kB / 0.5542 GB, free: 7.848 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.548e-05/2.177, allocations: 26.66 kB / 0.5543 GB, free: 7.824 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/2.177, allocations: 4 kB / 0.5543 GB, free: 7.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/2.177, allocations: 4 kB / 0.5543 GB, free: 7.816 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/2.177, allocations: 3.938 kB / 0.5543 GB, free: 7.812 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006715/2.178, allocations: 449.2 kB / 0.5547 GB, free: 7.344 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/2.178, allocations: 0 / 0.5547 GB, free: 7.344 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/2.178, allocations: 31.97 kB / 0.5547 GB, free: 7.312 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/2.178, allocations: 0 / 0.5547 GB, free: 7.312 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/2.178, allocations: 6.625 kB / 0.5547 GB, free: 7.309 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/2.178, allocations: 0 / 0.5547 GB, free: 7.309 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/2.178, allocations: 4 kB / 0.5547 GB, free: 7.305 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009148/2.179, allocations: 0.6267 MB / 0.5553 GB, free: 6.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/2.179, allocations: 47.62 kB / 0.5554 GB, free: 6.613 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/2.179, allocations: 0 / 0.5554 GB, free: 6.613 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/2.179, allocations: 11.98 kB / 0.5554 GB, free: 6.602 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/2.179, allocations: 11.98 kB / 0.5554 GB, free: 6.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/2.179, allocations: 11.98 kB / 0.5554 GB, free: 6.578 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001555/2.179, allocations: 175.1 kB / 0.5556 GB, free: 6.406 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/2.179, allocations: 0 / 0.5556 GB, free: 6.406 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007122/2.18, allocations: 199.4 kB / 0.5558 GB, free: 6.211 MB / 442.7 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.0008274/2.181, allocations: 297.2 kB / 0.5561 GB, free: 5.941 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000921/2.182, allocations: 0.5893 MB / 0.5566 GB, free: 5.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/2.182, allocations: 0 / 0.5566 GB, free: 5.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005749/2.182, allocations: 496.2 kB / 0.5571 GB, free: 4.781 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/2.183, allocations: 193 kB / 0.5573 GB, free: 4.594 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/2.185, allocations: 1.03 MB / 0.5583 GB, free: 3.539 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/2.186, allocations: 356.7 kB / 0.5586 GB, free: 3.164 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005367/2.186, allocations: 256.9 kB / 0.5589 GB, free: 2.914 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/2.186, allocations: 48.5 kB / 0.5589 GB, free: 2.867 MB / 442.7 MB Notification: Performance of SimCode: time 1.182e-06/2.186, allocations: 0 / 0.5589 GB, free: 2.867 MB / 442.7 MB Notification: Performance of Templates: time 0.1361/2.322, allocations: 10.74 MB / 0.5694 GB, free: 197.5 MB / 442.7 MB " [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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 8.018630503909662]