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.0009626/0.0009626, allocations: 93.06 kB / 19.65 MB, free: 280 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.00113/0.00113, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.9784/0.9784, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.008649/0.008649, allocations: 1.996 MB / 261.9 MB, free: 11.05 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.613e-06/1.613e-06, allocations: 0 / 332.4 MB, free: 16.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.188e-05, allocations: 2.312 kB / 332.4 MB, free: 16.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.008671/0.008693, allocations: 11.95 MB / 344.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007553/0.01625, allocations: 12.18 MB / 356.5 MB, free: 8.688 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002895/0.01653, allocations: 0 / 356.5 MB, free: 8.688 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.01711, allocations: 218.4 kB / 356.7 MB, free: 8.473 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002568/0.01968, allocations: 1.249 MB / 357.9 MB, free: 7.215 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.002398/0.02208, allocations: 1.169 MB / 359.1 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008872/0.02296, allocations: 0.971 MB / 360.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.236e-05/0.02305, allocations: 29.89 kB / 360.1 MB, free: 5.031 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.6871/0.7101, allocations: 22.04 MB / 382.2 MB, free: 1.062 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003711/0.7105, allocations: 239.3 kB / 382.4 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.7105, allocations: 44 kB / 382.4 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.7122, allocations: 0.6909 MB / 383.1 MB, free: 96 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.7124, allocations: 111.6 kB / 383.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.7126, allocations: 227.4 kB / 383.5 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.714, allocations: 0.9345 MB / 384.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.714, allocations: 0 / 384.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.714, allocations: 0 / 384.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.714, allocations: 0 / 384.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.0009346/0.715, allocations: 0.9902 MB / 385.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.715, allocations: 12.03 kB / 385.4 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/0.7164, allocations: 1.026 MB / 386.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.7168, allocations: 283.7 kB / 386.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.7168, allocations: 45.69 kB / 386.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.7169, allocations: 56.38 kB / 386.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008317/0.7177, allocations: 0.7628 MB / 387.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.7177, allocations: 4 kB / 387.6 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.7177, allocations: 24 kB / 387.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.467e-05/0.7178, allocations: 39.95 kB / 387.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00047/0.7182, allocations: 356.8 kB / 388 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.7203, allocations: 3.24 MB / 391.2 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.7207, allocations: 226 kB / 391.4 MB, free: 7.492 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.7208, allocations: 115.1 kB / 391.5 MB, free: 7.371 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000637/0.7214, allocations: 0.9118 MB / 392.5 MB, free: 6.438 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.7214, allocations: 37.39 kB / 392.5 MB, free: 6.391 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 2.185e-06/0.7214, allocations: 0 / 392.5 MB, free: 6.391 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.000912/0.7224, allocations: 0.5311 MB / 393 MB, free: 5.855 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.7224, allocations: 85.05 kB / 393.1 MB, free: 5.754 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.7225, allocations: 242.2 kB / 393.3 MB, free: 5.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.7225, allocations: 25.7 kB / 393.4 MB, free: 5.469 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.7227, allocations: 347.1 kB / 393.7 MB, free: 5.121 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.7228, allocations: 241.8 kB / 393.9 MB, free: 4.883 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.193e-05/0.7229, allocations: 107.6 kB / 394 MB, free: 4.766 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.723, allocations: 0.5118 MB / 394.6 MB, free: 4.242 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-05/0.7231, allocations: 69.23 kB / 394.6 MB, free: 4.176 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.7232, allocations: 314.8 kB / 394.9 MB, free: 3.766 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.7236, allocations: 439.5 kB / 395.4 MB, free: 3.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7236, allocations: 0 / 395.4 MB, free: 3.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004132/0.724, allocations: 432.5 kB / 395.8 MB, free: 2.801 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.724, allocations: 4 kB / 395.8 MB, free: 2.797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.724, allocations: 8 kB / 395.8 MB, free: 2.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.724, allocations: 8 kB / 395.8 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.7242, allocations: 63.91 kB / 395.9 MB, free: 2.719 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.7242, allocations: 19.86 kB / 395.9 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.7243, allocations: 59.52 kB / 395.9 MB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.7243, allocations: 24.33 kB / 396 MB, free: 2.617 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,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.0001142/0.7244, allocations: 184.4 kB / 396.1 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.7245, allocations: 35.81 kB / 396.2 MB, free: 2.391 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.7245, allocations: 26.64 kB / 396.2 MB, free: 2.363 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.7245, allocations: 4 kB / 396.2 MB, free: 2.359 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.7245, allocations: 3.938 kB / 396.2 MB, free: 2.355 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.7245, allocations: 0 / 396.2 MB, free: 2.355 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.7248, allocations: 360.1 kB / 396.6 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.7248, allocations: 0 / 396.6 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.7249, allocations: 27.98 kB / 396.6 MB, free: 1.941 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.7249, allocations: 0 / 396.6 MB, free: 1.941 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.7249, allocations: 12 kB / 396.6 MB, free: 1.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.7249, allocations: 0 / 396.6 MB, free: 1.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7249, allocations: 0 / 396.6 MB, free: 1.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.7253, allocations: 0.5571 MB / 397.2 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.7253, allocations: 35.62 kB / 397.2 MB, free: 1.316 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.7253, allocations: 4 kB / 397.2 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.162e-05/0.7254, allocations: 7.984 kB / 397.2 MB, free: 1.305 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.7254, allocations: 15.92 kB / 397.2 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.7255, allocations: 12 kB / 397.2 MB, free: 1.277 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.126e-05/0.7255, allocations: 155.2 kB / 397.4 MB, free: 1.125 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.7255, allocations: 0 / 397.4 MB, free: 1.125 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003725/0.7259, allocations: 191.5 kB / 397.6 MB, free: 0.9375 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.0003134/0.7262, allocations: 179.2 kB / 397.8 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004061/0.7266, allocations: 0.4921 MB / 398.2 MB, free: 248 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.7266, allocations: 0 / 398.2 MB, free: 248 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.7268, allocations: 436.9 kB / 398.7 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006405/0.7275, allocations: 208.9 kB / 398.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.7288, allocations: 0.993 MB / 399.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.7289, allocations: 167.7 kB / 400 MB, free: 14.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002956/0.7292, allocations: 213.8 kB / 400.2 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.7293, allocations: 48.5 kB / 400.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.7293, allocations: 0 / 400.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of Templates: time 0.01061/0.7399, allocations: 8.638 MB / 408.9 MB, free: 5.406 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.478971648961306]