Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.001501/0.001501, allocations: 92.22 kB / 19.65 MB, free: 276 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.001621/0.001621, allocations: 169 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 1.003/1.003, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.01527/0.01527, allocations: 1.992 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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 332.4 MB, free: 16.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.844e-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.TestBasePropertiesImplicit): time 0.009771/0.009789, allocations: 11.97 MB / 344.3 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008613/0.0184, allocations: 12.18 MB / 356.5 MB, free: 8.656 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.01863, allocations: 7.938 kB / 356.5 MB, free: 8.648 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005197/0.01915, allocations: 214.5 kB / 356.7 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002238/0.02138, allocations: 1.257 MB / 358 MB, free: 7.172 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.002001/0.02339, allocations: 1.165 MB / 359.2 MB, free: 6 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008532/0.02424, allocations: 0.9788 MB / 360.1 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.807e-05/0.02432, allocations: 29.91 kB / 360.2 MB, free: 4.984 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.6965/0.7208, allocations: 22.04 MB / 382.2 MB, free: 1.016 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004616/0.7213, allocations: 243.4 kB / 382.4 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.925e-05/0.7214, allocations: 40 kB / 382.5 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.7236, allocations: 0.6909 MB / 383.2 MB, free: 48 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.7238, allocations: 115.4 kB / 383.3 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.724, allocations: 231.5 kB / 383.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.7258, allocations: 0.9345 MB / 384.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7258, allocations: 0 / 384.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.7258, allocations: 0 / 384.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.7258, allocations: 0 / 384.4 MB, free: 14.77 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.001065/0.7269, allocations: 1.01 MB / 385.5 MB, free: 13.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.7269, allocations: 8.031 kB / 385.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.7284, allocations: 1.022 MB / 386.5 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.7288, allocations: 279.7 kB / 386.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.7288, allocations: 45.69 kB / 386.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.887e-05/0.7289, allocations: 64.31 kB / 386.9 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008859/0.7298, allocations: 0.7629 MB / 387.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.7298, allocations: 8 kB / 387.6 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.7298, allocations: 20 kB / 387.7 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/0.7299, allocations: 31.98 kB / 387.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005535/0.7304, allocations: 356.8 kB / 388 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/0.733, allocations: 3.236 MB / 391.3 MB, free: 7.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.7334, allocations: 238 kB / 391.5 MB, free: 7.422 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.7335, allocations: 107.1 kB / 391.6 MB, free: 7.309 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007534/0.7343, allocations: 0.9234 MB / 392.5 MB, free: 6.363 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.7343, allocations: 37.39 kB / 392.6 MB, free: 6.316 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 1.453e-06/0.7343, allocations: 0 / 392.6 MB, free: 6.316 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.0007634/0.735, allocations: 0.5272 MB / 393.1 MB, free: 5.785 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.7351, allocations: 88.98 kB / 393.2 MB, free: 5.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.7352, allocations: 254.1 kB / 393.4 MB, free: 5.414 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.7352, allocations: 29.7 kB / 393.5 MB, free: 5.379 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.7353, allocations: 343.2 kB / 393.8 MB, free: 5.035 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.7354, allocations: 237.8 kB / 394 MB, free: 4.801 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-05/0.7355, allocations: 111.6 kB / 394.1 MB, free: 4.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.7356, allocations: 0.5079 MB / 394.6 MB, free: 4.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.7357, allocations: 65.28 kB / 394.7 MB, free: 4.098 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.7359, allocations: 326.7 kB / 395 MB, free: 3.676 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005451/0.7365, allocations: 435.5 kB / 395.5 MB, free: 3.145 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.7365, allocations: 0 / 395.5 MB, free: 3.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004033/0.7369, allocations: 424.3 kB / 395.9 MB, free: 2.723 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.7369, allocations: 8 kB / 395.9 MB, free: 2.715 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.7369, allocations: 12.14 kB / 395.9 MB, free: 2.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.7369, allocations: 8 kB / 395.9 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.7371, allocations: 80.47 kB / 396 MB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005144/0.7376, allocations: 1.806 MB / 397.8 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.7378, allocations: 55.52 kB / 397.8 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.7378, allocations: 24 kB / 397.9 MB, free: 0.6758 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): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.7379, allocations: 188.3 kB / 398 MB, free: 492 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.738, allocations: 31.81 kB / 398.1 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/0.738, allocations: 30.64 kB / 398.1 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.738, allocations: 4 kB / 398.1 MB, free: 424 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.738, allocations: 4.125 kB / 398.1 MB, free: 420 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.738, allocations: 0 / 398.1 MB, free: 420 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.7383, allocations: 364 kB / 398.5 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.7383, allocations: 4 kB / 398.5 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.7384, allocations: 31.97 kB / 398.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.7384, allocations: 4 kB / 398.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.7384, allocations: 8 kB / 398.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004297/0.7389, allocations: 1.79 MB / 400.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7389, allocations: 4.125 kB / 400.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.7392, allocations: 0.5455 MB / 400.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.7392, allocations: 43.56 kB / 400.9 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.7393, allocations: 3.984 kB / 400.9 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.7394, allocations: 8 kB / 400.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.7394, allocations: 19.97 kB / 400.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.088e-06/0.7394, allocations: 4 kB / 400.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.945e-05/0.7395, allocations: 155.2 kB / 401.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.7395, allocations: 0 / 401.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003554/0.7398, allocations: 183.5 kB / 401.3 MB, free: 13.14 MB / 330.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): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003138/0.7401, allocations: 194.9 kB / 401.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004889/0.7406, allocations: 0.5116 MB / 402 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.7406, allocations: 0 / 402 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.7409, allocations: 456.8 kB / 402.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009004/0.7418, allocations: 204.8 kB / 402.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.743, allocations: 1.001 MB / 403.6 MB, free: 10.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.7431, allocations: 163.8 kB / 403.8 MB, free: 10.47 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002421/0.7433, allocations: 184 kB / 403.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.7434, allocations: 48.5 kB / 404 MB, free: 10.25 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.7434, allocations: 4 kB / 404 MB, free: 10.24 MB / 330.7 MB Notification: Performance of Templates: time 0.01138/0.7548, allocations: 9.09 MB / 413.1 MB, free: 1.129 MB / 330.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.647113677114248]