Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.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.001985/0.001985, allocations: 104.3 kB / 19.72 MB, free: 416 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.002372/0.002372, allocations: 213 kB / 23.02 MB, free: 2.949 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 1.888/1.888, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 178] 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 3.545/3.545, allocations: 0.5045 GB / 0.8104 GB, free: 2.785 MB / 0.6511 GB " [Timeout remaining time 175] 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.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003792/0.003792, allocations: 63.91 kB / 1.177 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456/1.46, allocations: 180 MB / 1.353 GB, free: 1.668 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.09595/1.556, allocations: 62.16 MB / 1.414 GB, free: 3.301 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.04121/1.597, allocations: 17.3 MB / 1.431 GB, free: 1.961 MB / 1.104 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006594/1.604, allocations: 130.9 kB / 1.431 GB, free: 1.832 MB / 1.104 GB Notification: Performance of NFTyping.typeComponents: time 0.008744/1.613, allocations: 2 MB / 1.433 GB, free: 15.83 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 0.01356/1.626, allocations: 3.01 MB / 1.436 GB, free: 12.8 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.01005/1.636, allocations: 2.522 MB / 1.438 GB, free: 10.3 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.01949/1.656, allocations: 8.202 MB / 1.446 GB, free: 2.082 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005736/1.661, allocations: 1.475 MB / 1.447 GB, free: 0.5547 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01073/1.672, allocations: 2.719 MB / 1.45 GB, free: 13.84 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005146/1.677, allocations: 1.521 MB / 1.452 GB, free: 12.31 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 0.001291/1.679, allocations: 188 kB / 1.452 GB, free: 12.12 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007653/1.686, allocations: 1.84 MB / 1.454 GB, free: 10.28 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 0.001952/1.688, allocations: 0.7044 MB / 1.454 GB, free: 9.574 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 0.004651/1.693, allocations: 1.022 MB / 1.455 GB, free: 8.547 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.01188/1.705, allocations: 4.196 MB / 1.459 GB, free: 4.336 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 9.789e-06/1.705, allocations: 4 kB / 1.459 GB, free: 4.332 MB / 1.135 GB Notification: Performance of FrontEnd: time 3.787e-06/1.705, allocations: 0 / 1.459 GB, free: 4.332 MB / 1.135 GB Notification: Performance of Transformations before backend: time 9.52e-05/1.705, allocations: 0 / 1.459 GB, free: 4.332 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.008216/1.713, allocations: 3.074 MB / 1.462 GB, free: 1.188 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 7.128e-05/1.713, allocations: 12.92 kB / 1.462 GB, free: 1.176 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/1.715, allocations: 489.9 kB / 1.463 GB, free: 0.6953 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006368/1.722, allocations: 2.747 MB / 1.466 GB, free: 13.87 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/1.722, allocations: 102.5 kB / 1.466 GB, free: 13.77 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002593/1.722, allocations: 132 kB / 1.466 GB, free: 13.64 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003698/1.726, allocations: 1.666 MB / 1.467 GB, free: 11.83 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/1.726, allocations: 7.938 kB / 1.467 GB, free: 11.82 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/1.726, allocations: 52 kB / 1.467 GB, free: 11.77 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.666e-05/1.726, allocations: 36 kB / 1.467 GB, free: 11.73 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0028/1.729, allocations: 1.106 MB / 1.469 GB, free: 10.62 MB / 1.151 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/1.74, allocations: 5.322 MB / 1.474 GB, free: 5.141 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/1.743, allocations: 0.8198 MB / 1.475 GB, free: 4.32 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/1.744, allocations: 403.2 kB / 1.475 GB, free: 3.926 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004041/1.748, allocations: 1.31 MB / 1.476 GB, free: 2.594 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001425/1.749, allocations: 0.6502 MB / 1.477 GB, free: 1.883 MB / 1.151 GB Notification: Performance of pre-optimization done (n=64): time 3.516e-06/1.749, allocations: 0 / 1.477 GB, free: 1.883 MB / 1.151 GB Notification: Performance of matching and sorting (n=64): time 0.003706/1.753, allocations: 1.251 MB / 1.478 GB, free: 0.6211 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/1.753, allocations: 56.06 kB / 1.478 GB, free: 0.5547 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003792/1.757, allocations: 2.054 MB / 1.48 GB, free: 14.47 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.984e-05/1.757, allocations: 45.7 kB / 1.48 GB, free: 14.42 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00134/1.758, allocations: 1.036 MB / 1.481 GB, free: 13.38 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/1.759, allocations: 253.9 kB / 1.481 GB, free: 13.13 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005445/1.759, allocations: 306.7 kB / 1.482 GB, free: 12.82 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001879/1.759, allocations: 305.1 kB / 1.482 GB, free: 12.52 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/1.761, allocations: 0.59 MB / 1.483 GB, free: 11.93 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002252/1.763, allocations: 1.204 MB / 1.484 GB, free: 10.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002849/1.766, allocations: 1.421 MB / 1.485 GB, free: 8.934 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/1.766, allocations: 4 kB / 1.485 GB, free: 8.93 MB / 1.167 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004033/1.77, allocations: 1.8 MB / 1.487 GB, free: 7.105 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.185e-05/1.77, allocations: 37.78 kB / 1.487 GB, free: 7.062 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/1.77, allocations: 15.94 kB / 1.487 GB, free: 7.047 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.539e-05/1.77, allocations: 16 kB / 1.487 GB, free: 7.031 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/1.771, allocations: 300.1 kB / 1.487 GB, free: 6.738 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.645e-05/1.771, allocations: 27.86 kB / 1.487 GB, free: 6.711 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/1.773, allocations: 171 kB / 1.487 GB, free: 6.543 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/1.773, allocations: 63.98 kB / 1.488 GB, free: 6.48 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002325/1.775, allocations: 1.012 MB / 1.488 GB, free: 5.457 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002159/1.777, allocations: 1.204 MB / 1.49 GB, free: 4.035 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002822/1.78, allocations: 1.42 MB / 1.491 GB, free: 2.473 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.55e-06/1.78, allocations: 4 kB / 1.491 GB, free: 2.469 MB / 1.167 GB Notification: Performance of matching and sorting (n=187) (initialization_lambda0): time 0.00401/1.784, allocations: 1.803 MB / 1.493 GB, free: 0.6445 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 6.126e-05/1.784, allocations: 33.7 kB / 1.493 GB, free: 0.6055 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/1.784, allocations: 12 kB / 1.493 GB, free: 0.5938 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/1.784, allocations: 16 kB / 1.493 GB, free: 0.5781 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/1.786, allocations: 303.8 kB / 1.493 GB, free: 288 kB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.937e-05/1.786, allocations: 23.92 kB / 1.493 GB, free: 264 kB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/1.787, allocations: 151.3 kB / 1.493 GB, free: 112 kB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/1.787, allocations: 55.98 kB / 1.493 GB, free: 56 kB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 150 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0005398/1.788, allocations: 259.8 kB / 1.494 GB, free: 15.79 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000435/1.788, allocations: 210.6 kB / 1.494 GB, free: 15.59 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/1.791, allocations: 1.143 MB / 1.495 GB, free: 14.43 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/1.791, allocations: 11.98 kB / 1.495 GB, free: 14.42 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.791, allocations: 0 / 1.495 GB, free: 14.42 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002111/1.794, allocations: 0.8393 MB / 1.496 GB, free: 13.56 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006117/1.8, allocations: 2.323 MB / 1.498 GB, free: 11.18 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.8, allocations: 0 / 1.498 GB, free: 11.18 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008306/1.801, allocations: 163.9 kB / 1.498 GB, free: 11.02 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000224/1.801, allocations: 32.83 kB / 1.498 GB, free: 10.99 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.884e-05/1.801, allocations: 15.98 kB / 1.498 GB, free: 10.97 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/1.802, allocations: 1.347 MB / 1.5 GB, free: 9.527 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/1.802, allocations: 0 / 1.5 GB, free: 9.527 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/1.806, allocations: 1.611 MB / 1.501 GB, free: 7.887 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.807, allocations: 330.2 kB / 1.501 GB, free: 7.562 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/1.808, allocations: 12.14 kB / 1.501 GB, free: 7.551 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009324/1.808, allocations: 71.89 kB / 1.502 GB, free: 7.48 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/1.809, allocations: 60.47 kB / 1.502 GB, free: 7.422 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-05/1.809, allocations: 43.91 kB / 1.502 GB, free: 7.379 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002614/1.811, allocations: 1.353 MB / 1.503 GB, free: 6.012 MB / 1.182 GB Notification: Performance of sort global known variables: time 8e-08/1.811, allocations: 0 / 1.503 GB, free: 6.012 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.004837/1.816, allocations: 1.126 MB / 1.504 GB, free: 4.883 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (vol.dynBal.U,mov.motSpe.y,conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001869/1.818, allocations: 0.6461 MB / 1.505 GB, free: 4.227 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.005236/1.823, allocations: 2.019 MB / 1.507 GB, free: 2.176 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.823, allocations: 0 / 1.507 GB, free: 2.176 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/1.825, allocations: 0.5464 MB / 1.507 GB, free: 1.617 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004061/1.829, allocations: 0.9953 MB / 1.508 GB, free: 0.6562 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008452/1.837, allocations: 3.709 MB / 1.512 GB, free: 12.9 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/1.839, allocations: 0.9989 MB / 1.513 GB, free: 11.86 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.001995/1.841, allocations: 0.4963 MB / 1.513 GB, free: 11.36 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004601/1.841, allocations: 167.4 kB / 1.513 GB, free: 11.2 MB / 1.198 GB Notification: Performance of SimCode: time 1.674e-06/1.841, allocations: 0 / 1.513 GB, free: 11.2 MB / 1.198 GB Notification: Performance of Templates: time 0.09416/1.935, allocations: 45.1 MB / 1.557 GB, free: 14.95 MB / 1.245 GB " [Timeout remaining time 298] make -j1 -f Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 13.86889416538179]