Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.001083/0.001083, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001485/0.001485, allocations: 169 kB / 23.27 MB, free: 1.223 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.043/1.043, allocations: 177.2 MB / 203.7 MB, free: 5.5 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.007714/0.007714, allocations: 1.989 MB / 262.2 MB, free: 10.9 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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 332.8 MB, free: 1.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.474e-05, allocations: 2.312 kB / 332.8 MB, free: 1.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.009061/0.009085, allocations: 11.86 MB / 344.7 MB, free: 5.785 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007257/0.01634, allocations: 12.04 MB / 356.7 MB, free: 9.707 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.01649, allocations: 7.938 kB / 356.7 MB, free: 9.699 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.01686, allocations: 210.5 kB / 356.9 MB, free: 9.492 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.01846, allocations: 1.26 MB / 358.2 MB, free: 8.223 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.Examples.CO2CoolProp.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.02024, allocations: 1.169 MB / 359.3 MB, free: 7.047 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006447/0.02088, allocations: 0.9901 MB / 360.3 MB, free: 6.051 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.758e-05/0.02094, allocations: 29.91 kB / 360.4 MB, free: 6.02 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 0.5413/0.5623, allocations: 21.74 MB / 382.1 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003481/0.5626, allocations: 247.3 kB / 382.4 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.098e-05/0.5627, allocations: 44 kB / 382.4 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.5646, allocations: 0.6948 MB / 383.1 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.926e-05/0.5646, allocations: 107.5 kB / 383.2 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.5648, allocations: 231.5 kB / 383.4 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.5661, allocations: 0.9345 MB / 384.4 MB, free: 32 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5661, allocations: 0 / 384.4 MB, free: 32 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5661, allocations: 0 / 384.4 MB, free: 32 kB / 346.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.5661, allocations: 0 / 384.4 MB, free: 32 kB / 346.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.0007561/0.5669, allocations: 1.01 MB / 385.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.5669, allocations: 12.03 kB / 385.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.5682, allocations: 1.03 MB / 386.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.5685, allocations: 279.8 kB / 386.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.5685, allocations: 41.69 kB / 386.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/0.5686, allocations: 64.31 kB / 386.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006182/0.5692, allocations: 0.7237 MB / 387.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.5692, allocations: 4 kB / 387.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.5692, allocations: 20 kB / 387.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.5692, allocations: 35.98 kB / 387.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.5696, allocations: 290.8 kB / 387.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.5714, allocations: 3.189 MB / 391 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.5716, allocations: 206.1 kB / 391.2 MB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/0.5717, allocations: 87.34 kB / 391.3 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006675/0.5724, allocations: 0.9427 MB / 392.3 MB, free: 7.801 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.5724, allocations: 41.33 kB / 392.3 MB, free: 7.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=71): time 1.042e-06/0.5724, allocations: 0 / 392.3 MB, free: 7.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=71): time 0.000675/0.5731, allocations: 0.4883 MB / 392.8 MB, free: 7.258 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.5731, allocations: 85.05 kB / 392.9 MB, free: 7.156 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.5732, allocations: 253.5 kB / 393.1 MB, free: 6.891 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.5733, allocations: 29.7 kB / 393.2 MB, free: 6.855 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.5734, allocations: 335.2 kB / 393.5 MB, free: 6.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.5735, allocations: 249.8 kB / 393.7 MB, free: 6.273 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-05/0.5736, allocations: 107.6 kB / 393.8 MB, free: 6.156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5737, allocations: 0.5156 MB / 394.4 MB, free: 5.629 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.17e-05/0.5738, allocations: 49.3 kB / 394.4 MB, free: 5.582 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.5739, allocations: 310.6 kB / 394.7 MB, free: 5.176 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.5742, allocations: 419.5 kB / 395.1 MB, free: 4.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5742, allocations: 0 / 395.1 MB, free: 4.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0003282/0.5745, allocations: 396.5 kB / 395.5 MB, free: 4.266 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.5745, allocations: 8 kB / 395.5 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.5745, allocations: 8 kB / 395.5 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5746, allocations: 8 kB / 395.5 MB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.5747, allocations: 79.84 kB / 395.6 MB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005617/0.5753, allocations: 1.803 MB / 397.4 MB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.5754, allocations: 59.45 kB / 397.5 MB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.5754, allocations: 20 kB / 397.5 MB, free: 2.227 MB / 362.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): 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.0001219/0.5756, allocations: 184.3 kB / 397.7 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.5756, allocations: 35.81 kB / 397.7 MB, free: 2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.5756, allocations: 30.64 kB / 397.7 MB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5756, allocations: 4 kB / 397.7 MB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.5756, allocations: 0 / 397.7 MB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5756, allocations: 3.984 kB / 397.7 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.5759, allocations: 304.7 kB / 398 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5759, allocations: 0 / 398 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.544e-05/0.576, allocations: 39.97 kB / 398.1 MB, free: 1.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.576, allocations: 4 kB / 398.1 MB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.576, allocations: 8 kB / 398.1 MB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004789/0.5765, allocations: 1.786 MB / 399.9 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5765, allocations: 0 / 399.9 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.5768, allocations: 0.5339 MB / 400.4 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.5768, allocations: 43.58 kB / 400.4 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.5768, allocations: 7.938 kB / 400.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.5769, allocations: 11.98 kB / 400.5 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.577, allocations: 7.984 kB / 400.5 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.577, allocations: 12 kB / 400.5 MB, free: 15.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.558e-05/0.577, allocations: 159 kB / 400.6 MB, free: 14.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.577, allocations: 0 / 400.6 MB, free: 14.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000334/0.5774, allocations: 179.6 kB / 400.8 MB, free: 14.77 MB / 378.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.0002538/0.5776, allocations: 188 kB / 401 MB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004278/0.578, allocations: 491.5 kB / 401.5 MB, free: 14.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.578, allocations: 0 / 401.5 MB, free: 14.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.5783, allocations: 449.3 kB / 401.9 MB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.5789, allocations: 220.7 kB / 402.1 MB, free: 13.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.58, allocations: 0.9929 MB / 403.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.5801, allocations: 163.8 kB / 403.3 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000233/0.5803, allocations: 187.9 kB / 403.5 MB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.5805, allocations: 234.1 kB / 403.7 MB, free: 11.73 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5805, allocations: 0 / 403.7 MB, free: 11.73 MB / 378.7 MB Notification: Performance of Templates: time 0.01278/0.5933, allocations: 10.53 MB / 414.2 MB, free: 1.156 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.522915504872799]