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.0009716/0.0009716, 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.000934/0.000934, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.9808/0.9808, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.007395/0.007395, allocations: 1.993 MB / 261.9 MB, free: 11.07 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.623e-06/1.623e-06, allocations: 0 / 332.4 MB, free: 16.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.917e-05, allocations: 4.984 kB / 332.4 MB, free: 16.92 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.007067/0.007086, allocations: 11.98 MB / 344.4 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007101/0.01419, allocations: 12.18 MB / 356.5 MB, free: 8.664 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.01434, allocations: 3.938 kB / 356.5 MB, free: 8.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004962/0.01484, allocations: 218.5 kB / 356.7 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.01686, allocations: 1.245 MB / 358 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.CO2CoolProp.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.01881, allocations: 1.176 MB / 359.2 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000833/0.01964, allocations: 0.9788 MB / 360.1 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.405e-05/0.01972, allocations: 33.91 kB / 360.2 MB, free: 4.988 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.5452/0.5649, allocations: 21.76 MB / 381.9 MB, free: 1.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004281/0.5654, allocations: 243.3 kB / 382.2 MB, free: 1.055 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.663e-05/0.5654, allocations: 40 kB / 382.2 MB, free: 1.016 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.5674, allocations: 0.687 MB / 382.9 MB, free: 336 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.5675, allocations: 115.5 kB / 383 MB, free: 220 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.5678, allocations: 227.5 kB / 383.2 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.5698, allocations: 0.9345 MB / 384.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.5698, allocations: 0 / 384.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.5698, allocations: 0 / 384.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.5698, allocations: 0 / 384.2 MB, free: 15.05 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.001102/0.5709, allocations: 1.002 MB / 385.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.5709, allocations: 8.031 kB / 385.2 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.5723, allocations: 1.034 MB / 386.2 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.5727, allocations: 275.7 kB / 386.5 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.5727, allocations: 45.69 kB / 386.5 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.5728, allocations: 60.38 kB / 386.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000822/0.5736, allocations: 0.7667 MB / 387.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.5736, allocations: 0 / 387.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.5737, allocations: 28 kB / 387.4 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.5737, allocations: 35.97 kB / 387.4 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000481/0.5742, allocations: 348.8 kB / 387.8 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.5766, allocations: 3.252 MB / 391 MB, free: 7.953 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.577, allocations: 226 kB / 391.2 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.5771, allocations: 107.1 kB / 391.3 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006752/0.5778, allocations: 0.9312 MB / 392.3 MB, free: 6.641 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.5778, allocations: 37.39 kB / 392.3 MB, free: 6.594 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 1.543e-06/0.5778, allocations: 0 / 392.3 MB, free: 6.594 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.0008009/0.5786, allocations: 0.5233 MB / 392.8 MB, free: 6.066 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.5786, allocations: 92.97 kB / 392.9 MB, free: 5.957 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.5788, allocations: 254.1 kB / 393.2 MB, free: 5.691 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.5788, allocations: 25.7 kB / 393.2 MB, free: 5.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.5789, allocations: 339.2 kB / 393.5 MB, free: 5.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.579, allocations: 241.8 kB / 393.8 MB, free: 5.082 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.193e-05/0.5791, allocations: 107.6 kB / 393.9 MB, free: 4.965 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5793, allocations: 0.5118 MB / 394.4 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-05/0.5794, allocations: 65.3 kB / 394.4 MB, free: 4.379 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.5796, allocations: 318.8 kB / 394.8 MB, free: 3.965 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.5799, allocations: 435.5 kB / 395.2 MB, free: 3.434 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.5799, allocations: 4 kB / 395.2 MB, free: 3.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0003997/0.5803, allocations: 428.2 kB / 395.6 MB, free: 3.004 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.5803, allocations: 4 kB / 395.6 MB, free: 3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.5803, allocations: 8 kB / 395.6 MB, free: 2.992 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.5803, allocations: 8.719 kB / 395.6 MB, free: 2.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.5806, allocations: 79.84 kB / 395.7 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005956/0.5812, allocations: 1.81 MB / 397.5 MB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.5813, allocations: 55.52 kB / 397.6 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.5813, allocations: 20 kB / 397.6 MB, free: 0.9648 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.0001344/0.5814, allocations: 188.3 kB / 397.8 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.5815, allocations: 35.81 kB / 397.8 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/0.5815, allocations: 26.66 kB / 397.8 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.5815, allocations: 4.125 kB / 397.8 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5815, allocations: 8 kB / 397.8 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5815, allocations: 3.984 kB / 397.8 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.5818, allocations: 352.1 kB / 398.2 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5818, allocations: 3.984 kB / 398.2 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.605e-05/0.5819, allocations: 35.98 kB / 398.2 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.5819, allocations: 0 / 398.2 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.582, allocations: 8 kB / 398.2 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004714/0.5824, allocations: 1.798 MB / 400 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5824, allocations: 0 / 400 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.5828, allocations: 0.5455 MB / 400.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/0.5828, allocations: 43.56 kB / 400.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.5828, allocations: 0 / 400.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.5829, allocations: 8 kB / 400.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.5829, allocations: 15.97 kB / 400.6 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.583, allocations: 11.94 kB / 400.7 MB, free: 13.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.288e-05/0.583, allocations: 155.2 kB / 400.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.583, allocations: 4 kB / 400.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003882/0.5834, allocations: 183.5 kB / 401 MB, free: 13.43 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.0003418/0.5838, allocations: 194.7 kB / 401.2 MB, free: 13.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005003/0.5843, allocations: 0.5038 MB / 401.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5843, allocations: 0 / 401.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.5845, allocations: 456.9 kB / 402.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/0.5852, allocations: 220.5 kB / 402.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.5866, allocations: 1.009 MB / 403.4 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.5867, allocations: 163.8 kB / 403.5 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002886/0.587, allocations: 184 kB / 403.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.587, allocations: 48.48 kB / 403.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.587, allocations: 0 / 403.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of Templates: time 0.01274/0.5998, allocations: 10.37 MB / 414.1 MB, free: 128 kB / 330.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.504235561937094]