Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009577/0.0009577, allocations: 82.64 kB / 21.44 MB, free: 3.055 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.001191/0.001191, allocations: 170.9 kB / 24.84 MB, free: 9.199 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.9593/0.9593, allocations: 177.2 MB / 205.3 MB, free: 5.469 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.6014/0.6014, allocations: 115 MB / 376.8 MB, free: 7.473 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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0.875 kB / 482.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.226e-05, allocations: 2.938 kB / 482.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.01572/0.01574, allocations: 20.39 MB / 0.4914 GB, free: 13.94 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01883/0.03457, allocations: 11.12 MB / 0.5022 GB, free: 6.438 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003628/0.0382, allocations: 138.6 kB / 0.5024 GB, free: 6.367 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004696/0.0429, allocations: 1.637 MB / 0.504 GB, free: 5.5 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00679/0.04969, allocations: 2.388 MB / 0.5063 GB, free: 3.598 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006731/0.05642, allocations: 2.663 MB / 0.5089 GB, free: 1.41 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01099/0.06741, allocations: 9.173 MB / 0.5178 GB, free: 8.238 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002909/0.07032, allocations: 1.585 MB / 0.5194 GB, free: 6.609 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006056/0.07638, allocations: 3.175 MB / 0.5225 GB, free: 3.453 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002745/0.07912, allocations: 1.363 MB / 0.5238 GB, free: 2.086 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005663/0.07969, allocations: 188 kB / 0.524 GB, free: 1.902 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.08208, allocations: 1.092 MB / 0.5251 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006919/0.08277, allocations: 0.7434 MB / 0.5258 GB, free: 64 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.08398, allocations: 0.8494 MB / 0.5266 GB, free: 15.21 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004185/0.08816, allocations: 2.511 MB / 0.5291 GB, free: 12.69 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.08817, allocations: 4 kB / 0.5291 GB, free: 12.69 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.08817, allocations: 0 / 0.5291 GB, free: 12.69 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.444e-05/0.08824, allocations: 0 / 0.5291 GB, free: 12.69 MB / 458.7 MB 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.004006/0.09225, allocations: 3.171 MB / 0.5322 GB, free: 9.441 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.09229, allocations: 8.031 kB / 0.5322 GB, free: 9.434 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.09342, allocations: 0.5447 MB / 0.5327 GB, free: 8.887 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002975/0.09639, allocations: 2.412 MB / 0.5351 GB, free: 6.391 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-05/0.09646, allocations: 106.4 kB / 0.5352 GB, free: 6.285 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.09661, allocations: 148 kB / 0.5353 GB, free: 6.141 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.09793, allocations: 1.245 MB / 0.5365 GB, free: 4.727 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.09796, allocations: 7.922 kB / 0.5365 GB, free: 4.719 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.989e-05/0.09804, allocations: 56 kB / 0.5366 GB, free: 4.664 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/0.09807, allocations: 35.98 kB / 0.5366 GB, free: 4.629 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009741/0.09904, allocations: 416.6 kB / 0.537 GB, free: 4.203 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.006285/0.1053, allocations: 6.137 MB / 0.543 GB, free: 13.89 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007624/0.1061, allocations: 472.9 kB / 0.5435 GB, free: 13.42 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.1063, allocations: 186.7 kB / 0.5436 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002592/0.1089, allocations: 1.399 MB / 0.545 GB, free: 11.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004672/0.1094, allocations: 0.4935 MB / 0.5455 GB, free: 11.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 2.044e-06/0.1094, allocations: 4 kB / 0.5455 GB, free: 11.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=60): time 0.001128/0.1105, allocations: 0.6631 MB / 0.5461 GB, free: 10.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.1106, allocations: 115.3 kB / 0.5463 GB, free: 10.44 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.1126, allocations: 1.832 MB / 0.548 GB, free: 8.578 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.97e-05/0.1127, allocations: 49.7 kB / 0.5481 GB, free: 8.523 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.1137, allocations: 1.23 MB / 0.5493 GB, free: 7.281 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.1139, allocations: 226 kB / 0.5495 GB, free: 7.059 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/0.1142, allocations: 236.4 kB / 0.5497 GB, free: 6.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1143, allocations: 0.5237 MB / 0.5502 GB, free: 6.289 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.1147, allocations: 166.5 kB / 0.5504 GB, free: 6.117 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.1157, allocations: 1.065 MB / 0.5514 GB, free: 4.684 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.1167, allocations: 0.9852 MB / 0.5524 GB, free: 3.418 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.1167, allocations: 4 kB / 0.5524 GB, free: 3.414 MB / 474.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001563/0.1182, allocations: 1.03 MB / 0.5534 GB, free: 2.363 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.363e-05/0.1183, allocations: 37.7 kB / 0.5535 GB, free: 2.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.1183, allocations: 16.84 kB / 0.5535 GB, free: 2.305 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/0.1183, allocations: 20 kB / 0.5535 GB, free: 2.285 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007117/0.1191, allocations: 263.5 kB / 0.5537 GB, free: 2.027 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.6e-05/0.1191, allocations: 31.86 kB / 0.5538 GB, free: 1.996 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008676/0.1199, allocations: 147.2 kB / 0.5539 GB, free: 1.852 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.369e-05/0.12, allocations: 55.97 kB / 0.554 GB, free: 1.797 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005747/0.1206, allocations: 311.1 kB / 0.5543 GB, free: 1.484 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000736/0.1213, allocations: 1.069 MB / 0.5553 GB, free: 52 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009913/0.1223, allocations: 0.9696 MB / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.099e-05/0.1223, allocations: 4 kB / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=136) (initialization_lambda0): time 0.001674/0.124, allocations: 1.027 MB / 0.5573 GB, free: 13.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.1241, allocations: 45.64 kB / 0.5573 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.1241, allocations: 12 kB / 0.5573 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1241, allocations: 24 kB / 0.5573 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006622/0.1247, allocations: 264 kB / 0.5576 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/0.1248, allocations: 27.92 kB / 0.5576 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008533/0.1256, allocations: 119.4 kB / 0.5577 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.736e-05/0.1257, allocations: 47.98 kB / 0.5578 GB, free: 13.21 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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.0002687/0.126, allocations: 355.6 kB / 0.5581 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/0.1262, allocations: 246.5 kB / 0.5584 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.1274, allocations: 0.6723 MB / 0.559 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.1274, allocations: 8 kB / 0.559 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1274, allocations: 0 / 0.559 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005391/0.1279, allocations: 382.5 kB / 0.5594 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/0.131, allocations: 2.285 MB / 0.5616 GB, free: 9.172 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.131, allocations: 4 kB / 0.5616 GB, free: 9.168 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.1314, allocations: 140 kB / 0.5617 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001503/0.1316, allocations: 39.64 kB / 0.5618 GB, free: 8.988 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/0.1316, allocations: 19.98 kB / 0.5618 GB, free: 8.969 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000981/0.1326, allocations: 1.76 MB / 0.5635 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.1326, allocations: 7.938 kB / 0.5635 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.1341, allocations: 0.9688 MB / 0.5645 GB, free: 6.066 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/0.1346, allocations: 314.2 kB / 0.5648 GB, free: 5.758 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/0.1348, allocations: 15.94 kB / 0.5648 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006028/0.1354, allocations: 52 kB / 0.5648 GB, free: 5.691 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.1355, allocations: 52.55 kB / 0.5649 GB, free: 5.641 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.481e-05/0.1356, allocations: 35.97 kB / 0.5649 GB, free: 5.605 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001107/0.1367, allocations: 0.9798 MB / 0.5659 GB, free: 4.613 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1367, allocations: 0 / 0.5659 GB, free: 4.613 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002196/0.1389, allocations: 0.9471 MB / 0.5668 GB, free: 3.664 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0004949/0.1394, allocations: 278.7 kB / 0.5671 GB, free: 3.379 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.1409, allocations: 1.054 MB / 0.5681 GB, free: 2.285 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1409, allocations: 3.938 kB / 0.5681 GB, free: 2.281 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005026/0.1414, allocations: 398.3 kB / 0.5685 GB, free: 1.875 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003012/0.1444, allocations: 1.15 MB / 0.5696 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005118/0.1495, allocations: 3.291 MB / 0.5728 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.1499, allocations: 426.9 kB / 0.5732 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001577/0.1515, allocations: 432.3 kB / 0.5736 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001906/0.1534, allocations: 0.9427 MB / 0.5746 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/0.1534, allocations: 0 / 0.5746 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of Templates: time 0.05264/0.2061, allocations: 44.1 MB / 0.6176 GB, free: 400 kB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.455636024009436]