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.0009102/0.0009102, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.000935/0.000935, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9369/0.9369, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.007707/0.007707, allocations: 1.992 MB / 263 MB, free: 10.89 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.262e-06/1.262e-06, allocations: 0 / 333.6 MB, free: 16.62 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.323e-05, allocations: 4.844 kB / 333.6 MB, free: 16.62 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.007011/0.007024, allocations: 11.82 MB / 345.4 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006949/0.01397, allocations: 12.04 MB / 357.5 MB, free: 8.664 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.01417, allocations: 0 / 357.5 MB, free: 8.664 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004142/0.01459, allocations: 218.4 kB / 357.7 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.01658, allocations: 1.249 MB / 358.9 MB, free: 7.191 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.Examples.CO2CoolPropTabular.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolPropTabular.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.01856, allocations: 1.161 MB / 360.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00073/0.01929, allocations: 0.9672 MB / 361.1 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.706e-05/0.01935, allocations: 25.91 kB / 361.1 MB, free: 5.023 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.6851/0.7044, allocations: 22.04 MB / 383.1 MB, free: 1.059 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/0.7048, allocations: 247.3 kB / 383.4 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.867e-05/0.7049, allocations: 36 kB / 383.4 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.7066, allocations: 0.6909 MB / 384.1 MB, free: 92 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.7067, allocations: 115.6 kB / 384.2 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.7069, allocations: 231.4 kB / 384.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.7083, allocations: 0.9306 MB / 385.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.7083, allocations: 0 / 385.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.7083, allocations: 0 / 385.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.7083, allocations: 0 / 385.4 MB, free: 14.82 MB / 314.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.0008414/0.7091, allocations: 0.9979 MB / 386.4 MB, free: 13.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.7092, allocations: 8.031 kB / 386.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.7105, allocations: 1.042 MB / 387.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.7108, allocations: 267.8 kB / 387.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.7108, allocations: 45.69 kB / 387.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/0.7109, allocations: 60.31 kB / 387.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006479/0.7115, allocations: 0.7237 MB / 388.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.7115, allocations: 4 kB / 388.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.7116, allocations: 24 kB / 388.5 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.7116, allocations: 31.97 kB / 388.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003386/0.7119, allocations: 294.8 kB / 388.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.7138, allocations: 3.189 MB / 392 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.7141, allocations: 206 kB / 392.2 MB, free: 7.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.313e-05/0.7142, allocations: 91.14 kB / 392.3 MB, free: 7.562 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006987/0.7149, allocations: 0.9156 MB / 393.2 MB, free: 6.625 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.7149, allocations: 41.39 kB / 393.3 MB, free: 6.574 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 1.333e-06/0.7149, allocations: 0 / 393.3 MB, free: 6.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.0006816/0.7156, allocations: 0.4959 MB / 393.8 MB, free: 6.074 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.7156, allocations: 81.05 kB / 393.9 MB, free: 5.977 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.7157, allocations: 254 kB / 394.1 MB, free: 5.711 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.7158, allocations: 29.7 kB / 394.1 MB, free: 5.676 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.7159, allocations: 335.1 kB / 394.5 MB, free: 5.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.716, allocations: 253.7 kB / 394.7 MB, free: 5.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-05/0.7161, allocations: 103.6 kB / 394.8 MB, free: 4.977 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.7162, allocations: 0.5195 MB / 395.3 MB, free: 4.445 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.7162, allocations: 49.3 kB / 395.4 MB, free: 4.398 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.7164, allocations: 306.6 kB / 395.7 MB, free: 3.996 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005156/0.7169, allocations: 415.5 kB / 396.1 MB, free: 3.484 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.7169, allocations: 4 kB / 396.1 MB, free: 3.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0003342/0.7172, allocations: 396.6 kB / 396.5 MB, free: 3.086 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.7173, allocations: 4 kB / 396.5 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.7173, allocations: 8 kB / 396.5 MB, free: 3.074 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.7173, allocations: 8 kB / 396.5 MB, free: 3.066 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.7174, allocations: 71.84 kB / 396.6 MB, free: 2.996 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.7174, allocations: 8 kB / 396.6 MB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.7175, allocations: 63.39 kB / 396.6 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.7175, allocations: 20.16 kB / 396.6 MB, free: 2.906 MB / 314.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,medium1.baseProperties.phaseOutput,medium1.baseProperties.phaseInput,medium2.baseProperties.phaseInput) * 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.0001178/0.7177, allocations: 192.6 kB / 396.8 MB, free: 2.707 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.7177, allocations: 27.81 kB / 396.9 MB, free: 2.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.7177, allocations: 30.66 kB / 396.9 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.7177, allocations: 0 / 396.9 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.7178, allocations: 4 kB / 396.9 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.7178, allocations: 7.922 kB / 396.9 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.718, allocations: 284.7 kB / 397.2 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.718, allocations: 0 / 397.2 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.7181, allocations: 31.92 kB / 397.2 MB, free: 2.301 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7181, allocations: 4 kB / 397.2 MB, free: 2.297 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.7181, allocations: 4 kB / 397.2 MB, free: 2.293 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.7181, allocations: 4 kB / 397.2 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7181, allocations: 3.984 kB / 397.2 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.7184, allocations: 0.5298 MB / 397.8 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.7184, allocations: 39.62 kB / 397.8 MB, free: 1.695 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.7184, allocations: 7.984 kB / 397.8 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/0.7185, allocations: 4 kB / 397.8 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.7185, allocations: 23.91 kB / 397.8 MB, free: 1.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.7186, allocations: 4 kB / 397.8 MB, free: 1.656 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.808e-05/0.7186, allocations: 155.1 kB / 398 MB, free: 1.504 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.7186, allocations: 0 / 398 MB, free: 1.504 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003484/0.7189, allocations: 191.5 kB / 398.2 MB, free: 1.316 MB / 314.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.00024/0.7192, allocations: 175 kB / 398.3 MB, free: 1.148 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003339/0.7195, allocations: 486.4 kB / 398.8 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.7195, allocations: 1.438 kB / 398.8 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.7197, allocations: 432.9 kB / 399.2 MB, free: 144 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000617/0.7204, allocations: 200.9 kB / 399.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.7214, allocations: 0.9775 MB / 400.4 MB, free: 14.92 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.7215, allocations: 167.7 kB / 400.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002821/0.7218, allocations: 213.9 kB / 400.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.722, allocations: 226.1 kB / 401 MB, free: 14.31 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.722, allocations: 0 / 401 MB, free: 14.31 MB / 330.7 MB Notification: Performance of Templates: time 0.0123/0.7343, allocations: 10.26 MB / 411.3 MB, free: 4.035 MB / 330.7 MB " [Timeout remaining time 659] 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: 4.377464692108333]