Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.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.001264/0.001264, allocations: 81.86 kB / 21.44 MB, free: 3.062 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.001136/0.001136, allocations: 173.1 kB / 24.84 MB, free: 9.297 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.9609/0.9609, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6084/0.6084, allocations: 115 MB / 376.8 MB, free: 7.52 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 482.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.506e-05, allocations: 2.938 kB / 482.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.0131/0.01312, allocations: 16.93 MB / 499.7 MB, free: 348 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01588/0.029, allocations: 10.89 MB / 0.4986 GB, free: 9.055 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002908/0.03191, allocations: 130.2 kB / 0.4987 GB, free: 8.988 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004615/0.03653, allocations: 1.639 MB / 0.5003 GB, free: 8.344 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005515/0.04204, allocations: 2.212 MB / 0.5025 GB, free: 7.039 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005827/0.04787, allocations: 2.625 MB / 0.5051 GB, free: 5.102 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0105/0.05837, allocations: 8.417 MB / 0.5133 GB, free: 12.93 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002385/0.06076, allocations: 1.427 MB / 0.5147 GB, free: 11.46 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00494/0.0657, allocations: 2.88 MB / 0.5175 GB, free: 8.609 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002191/0.06789, allocations: 1.246 MB / 0.5187 GB, free: 7.363 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004341/0.06832, allocations: 168 kB / 0.5189 GB, free: 7.199 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.07058, allocations: 1.103 MB / 0.5199 GB, free: 6.094 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005658/0.07114, allocations: 0.7006 MB / 0.5206 GB, free: 5.391 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.07221, allocations: 0.7753 MB / 0.5214 GB, free: 4.613 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003927/0.07613, allocations: 2.425 MB / 0.5238 GB, free: 2.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.07614, allocations: 0 / 0.5238 GB, free: 2.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.07614, allocations: 0 / 0.5238 GB, free: 2.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.517e-05/0.07623, allocations: 0 / 0.5238 GB, free: 2.18 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.003674/0.0799, allocations: 3.051 MB / 0.5267 GB, free: 15.06 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.07993, allocations: 8.031 kB / 0.5267 GB, free: 15.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002761/0.08269, allocations: 0.9388 MB / 0.5277 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002937/0.08563, allocations: 2.334 MB / 0.5299 GB, free: 11.69 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.766e-05/0.0857, allocations: 102.1 kB / 0.53 GB, free: 11.59 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.08585, allocations: 132 kB / 0.5302 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.08752, allocations: 1.302 MB / 0.5314 GB, free: 10 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.08754, allocations: 4 kB / 0.5314 GB, free: 9.996 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.588e-05/0.08763, allocations: 55.94 kB / 0.5315 GB, free: 9.941 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.08766, allocations: 28 kB / 0.5315 GB, free: 9.914 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007349/0.0884, allocations: 0.5096 MB / 0.532 GB, free: 9.383 MB / 458.7 MB 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.007634/0.09603, allocations: 6.898 MB / 0.5388 GB, free: 2.176 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.09751, allocations: 0.613 MB / 0.5394 GB, free: 1.559 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.0978, allocations: 240.6 kB / 0.5396 GB, free: 1.32 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002521/0.1003, allocations: 1.953 MB / 0.5415 GB, free: 15.24 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004774/0.1008, allocations: 448.2 kB / 0.5419 GB, free: 14.76 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 2.665e-06/0.1008, allocations: 0 / 0.5419 GB, free: 14.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.001287/0.1021, allocations: 0.8193 MB / 0.5427 GB, free: 13.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.1021, allocations: 59.91 kB / 0.5428 GB, free: 13.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.1037, allocations: 1.856 MB / 0.5446 GB, free: 11.98 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.314e-05/0.1037, allocations: 41.7 kB / 0.5446 GB, free: 11.93 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007532/0.1045, allocations: 1.238 MB / 0.5458 GB, free: 10.68 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.1047, allocations: 214.2 kB / 0.546 GB, free: 10.47 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005315/0.1052, allocations: 248.3 kB / 0.5463 GB, free: 10.22 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1053, allocations: 0.5276 MB / 0.5468 GB, free: 9.688 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.1057, allocations: 234.5 kB / 0.547 GB, free: 9.449 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006875/0.1064, allocations: 1.15 MB / 0.5481 GB, free: 7.914 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009187/0.1073, allocations: 1.089 MB / 0.5492 GB, free: 6.527 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.1073, allocations: 8 kB / 0.5492 GB, free: 6.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001411/0.1087, allocations: 1.136 MB / 0.5503 GB, free: 5.363 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.1087, allocations: 41.64 kB / 0.5504 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.1087, allocations: 16.69 kB / 0.5504 GB, free: 5.301 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.1088, allocations: 20 kB / 0.5504 GB, free: 5.281 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007656/0.1095, allocations: 331.5 kB / 0.5507 GB, free: 4.957 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.1096, allocations: 27.92 kB / 0.5507 GB, free: 4.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009133/0.1105, allocations: 203 kB / 0.5509 GB, free: 4.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.549e-05/0.1106, allocations: 63.95 kB / 0.551 GB, free: 4.668 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005462/0.1111, allocations: 383 kB / 0.5514 GB, free: 4.285 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009553/0.1121, allocations: 1.154 MB / 0.5525 GB, free: 2.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008931/0.1129, allocations: 1.082 MB / 0.5535 GB, free: 1.367 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.007e-06/0.113, allocations: 4 kB / 0.5535 GB, free: 1.363 MB / 474.7 MB Notification: Performance of matching and sorting (n=136) (initialization_lambda0): time 0.001415/0.1144, allocations: 1.144 MB / 0.5547 GB, free: 204 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.1144, allocations: 43.41 kB / 0.5547 GB, free: 156 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.1144, allocations: 19.94 kB / 0.5547 GB, free: 136 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1144, allocations: 20 kB / 0.5547 GB, free: 116 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007424/0.1152, allocations: 323.9 kB / 0.555 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.1152, allocations: 27.92 kB / 0.5551 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008131/0.116, allocations: 187.3 kB / 0.5553 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.352e-05/0.1161, allocations: 59.97 kB / 0.5553 GB, free: 15.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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 (134): * Single equations (assignments): 132 * Array equations: 1 * Algorithm blocks: 1 * 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 0.0002587/0.1163, allocations: 343.6 kB / 0.5556 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.1166, allocations: 242.5 kB / 0.5559 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.1178, allocations: 0.8295 MB / 0.5567 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.1178, allocations: 8 kB / 0.5567 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1178, allocations: 7.922 kB / 0.5567 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006346/0.1184, allocations: 0.618 MB / 0.5573 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002873/0.1213, allocations: 1.903 MB / 0.5592 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1213, allocations: 4 kB / 0.5592 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006566/0.1219, allocations: 179.8 kB / 0.5593 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001772/0.1221, allocations: 39.55 kB / 0.5594 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.729e-05/0.1222, allocations: 27.97 kB / 0.5594 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008121/0.123, allocations: 1.764 MB / 0.5611 GB, free: 9.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.123, allocations: 0 / 0.5611 GB, free: 9.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.1242, allocations: 1.08 MB / 0.5622 GB, free: 8.203 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004232/0.1247, allocations: 326.2 kB / 0.5625 GB, free: 7.883 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.1248, allocations: 12 kB / 0.5625 GB, free: 7.871 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006042/0.1254, allocations: 95.91 kB / 0.5626 GB, free: 7.777 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.915e-05/0.1255, allocations: 60.47 kB / 0.5626 GB, free: 7.719 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.334e-05/0.1256, allocations: 27.97 kB / 0.5627 GB, free: 7.691 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008312/0.1264, allocations: 0.9919 MB / 0.5636 GB, free: 6.688 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1264, allocations: 0 / 0.5636 GB, free: 6.688 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001773/0.1282, allocations: 0.9043 MB / 0.5645 GB, free: 5.781 MB / 490.7 MB 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.outCon.T) * 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 (65): * Single equations (assignments): 57 * 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.001179/0.1294, allocations: 0.4901 MB / 0.565 GB, free: 5.426 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002166/0.1315, allocations: 1.26 MB / 0.5662 GB, free: 4.125 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.1315, allocations: 0 / 0.5662 GB, free: 4.125 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006431/0.1322, allocations: 463.9 kB / 0.5667 GB, free: 3.656 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/0.1349, allocations: 1.044 MB / 0.5677 GB, free: 2.668 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/0.1392, allocations: 3.212 MB / 0.5708 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.1395, allocations: 418.1 kB / 0.5712 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001392/0.1409, allocations: 480.8 kB / 0.5717 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/0.1424, allocations: 0.8802 MB / 0.5725 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.352e-06/0.1424, allocations: 0 / 0.5725 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.05577/0.1982, allocations: 43.22 MB / 0.6148 GB, free: 3.203 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6064039086923]