Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.0006834/0.0006834, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009505/0.001634, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007078/0.0007078, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009669/0.001675, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9671/0.9671, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08719/1.054, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.95/1.95, allocations: 390 MB / 0.6193 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4761/2.426, allocations: 127.1 MB / 0.7435 GB, free: 4.52 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0.875 kB / 0.7448 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.917e-06/1.025e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00354/0.00355, allocations: 3.514 MB / 0.7482 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001024/0.003652, allocations: 56.52 kB / 0.7483 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.781e-05/0.00367, allocations: 0 / 0.7483 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 6.601e-05/0.003736, allocations: 6.656 kB / 0.7483 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.691e-05/0.003803, allocations: 18.31 kB / 0.7483 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005498/0.004353, allocations: 219.4 kB / 0.7485 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.004457, allocations: 35.86 kB / 0.7486 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.907e-05/0.004506, allocations: 3.984 kB / 0.7486 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.235e-05/0.004579, allocations: 21.98 kB / 0.7486 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.889e-05/0.004648, allocations: 15.92 kB / 0.7486 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.004658, allocations: 0 / 0.7486 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002326/0.004891, allocations: 139.5 kB / 0.7487 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.859e-05/0.004929, allocations: 7.938 kB / 0.7487 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.695e-05/0.004946, allocations: 9.812 kB / 0.7488 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.005141, allocations: 115.7 kB / 0.7489 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.22e-05/0.005153, allocations: 0 / 0.7489 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.11e-07/0.005154, allocations: 0 / 0.7489 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.005168, allocations: 0 / 0.7489 GB, free: 15.09 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003998/0.005568, allocations: 267.2 kB / 0.7491 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.005597, allocations: 8.031 kB / 0.7491 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.005632, allocations: 4.938 kB / 0.7491 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.213e-05/0.005724, allocations: 109.8 kB / 0.7492 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.005776, allocations: 51.97 kB / 0.7493 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.005788, allocations: 384 / 0.7493 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.005902, allocations: 87.41 kB / 0.7494 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.00591, allocations: 7.422 kB / 0.7494 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.005919, allocations: 3.938 kB / 0.7494 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.005942, allocations: 3.984 kB / 0.7494 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.734e-05/0.00596, allocations: 4 kB / 0.7494 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.006327, allocations: 189.9 kB / 0.7496 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.751e-05/0.006364, allocations: 18.58 kB / 0.7496 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.458e-06/0.006374, allocations: 8.797 kB / 0.7496 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.239e-05/0.006436, allocations: 44.72 kB / 0.7496 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.00646, allocations: 38.5 kB / 0.7497 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.006461, allocations: 0.6875 kB / 0.7497 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 9.521e-05/0.006556, allocations: 34.22 kB / 0.7497 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.006579, allocations: 51.41 kB / 0.7498 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.006958, allocations: 107.3 kB / 0.7499 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.00697, allocations: 27.2 kB / 0.7499 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.007008, allocations: 92.02 kB / 0.75 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-06/0.007011, allocations: 0 / 0.75 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.007037, allocations: 21.67 kB / 0.75 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.007111, allocations: 319.8 kB / 0.7503 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-06/0.007118, allocations: 0 / 0.7503 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.642e-05/0.007134, allocations: 13.72 kB / 0.7503 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.571e-05/0.00716, allocations: 25.67 kB / 0.7503 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.007163, allocations: 0.6562 kB / 0.7503 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.647e-05/0.007209, allocations: 42.19 kB / 0.7504 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.007224, allocations: 11.94 kB / 0.7504 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.00723, allocations: 1.531 kB / 0.7504 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.007244, allocations: 0 / 0.7504 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.27e-05/0.007287, allocations: 7.984 kB / 0.7504 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.007289, allocations: 4 kB / 0.7504 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.204e-05/0.007301, allocations: 0.5312 kB / 0.7504 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.007312, allocations: 1 kB / 0.7504 GB, free: 13.34 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 5.589e-05/0.007367, allocations: 120.7 kB / 0.7505 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.007381, allocations: 8.844 kB / 0.7505 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.459e-05/0.007465, allocations: 117 kB / 0.7506 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-05/0.007509, allocations: 181.4 kB / 0.7508 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.079e-05/0.00755, allocations: 184.2 kB / 0.751 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.016e-05/0.00759, allocations: 176.3 kB / 0.7512 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.007708, allocations: 325.9 kB / 0.7515 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/0.007731, allocations: 102.2 kB / 0.7516 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.007754, allocations: 109 kB / 0.7517 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.007784, allocations: 108.9 kB / 0.7518 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.241e-05/0.007826, allocations: 181.6 kB / 0.7519 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.007874, allocations: 184.1 kB / 0.7521 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-05/0.007914, allocations: 176.3 kB / 0.7523 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-05/0.007955, allocations: 180.3 kB / 0.7525 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.702e-05/0.008052, allocations: 312.2 kB / 0.7528 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.008107, allocations: 188.9 kB / 0.7529 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/0.008194, allocations: 109.2 kB / 0.753 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.008242, allocations: 186.1 kB / 0.7532 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.008265, allocations: 105 kB / 0.7533 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.493e-05/0.00828, allocations: 8.859 kB / 0.7533 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.00828, allocations: 0 / 0.7533 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001668/0.008447, allocations: 40.52 kB / 0.7534 GB, free: 10.14 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002156/0.008663, allocations: 218.4 kB / 0.7536 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.829e-05/0.008721, allocations: 10.2 kB / 0.7536 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.008727, allocations: 4 kB / 0.7536 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.647e-06/0.008731, allocations: 3.984 kB / 0.7536 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.008999, allocations: 0.5114 MB / 0.7541 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006411/0.00964, allocations: 193.8 kB / 0.7543 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.644e-05/0.009666, allocations: 52.42 kB / 0.7543 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.561e-05/0.009692, allocations: 4.5 kB / 0.7543 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.009751, allocations: 68.11 kB / 0.7544 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of SimCode: time 5.81e-07/0.009752, allocations: 1.312 kB / 0.7544 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of Templates: time 0.002748/0.0125, allocations: 1.372 MB / 0.7557 GB, free: 7.801 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.890960957854986]