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.001329/0.001329, allocations: 92.72 kB / 20.21 MB, free: 4.227 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.001561/0.001561, allocations: 157.7 kB / 23.52 MB, free: 0.918 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 1.516/1.516, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.966/0.966, allocations: 115 MB / 375.3 MB, free: 7.566 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.683e-06/1.683e-06, allocations: 0 / 480.8 MB, free: 11.94 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.751e-05, allocations: 3.078 kB / 480.8 MB, free: 11.94 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.05691/0.05694, allocations: 49.33 MB / 0.5177 GB, free: 7.031 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.03288/0.08982, allocations: 16.82 MB / 0.5341 GB, free: 6.168 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003382/0.0932, allocations: 130.9 kB / 0.5343 GB, free: 6.039 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006299/0.0995, allocations: 1.947 MB / 0.5362 GB, free: 4.082 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00839/0.1079, allocations: 2.766 MB / 0.5389 GB, free: 1.301 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007868/0.1158, allocations: 2.813 MB / 0.5416 GB, free: 14.48 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01483/0.1306, allocations: 8.501 MB / 0.5499 GB, free: 5.957 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003004/0.1336, allocations: 1.395 MB / 0.5513 GB, free: 4.527 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008163/0.1418, allocations: 3.175 MB / 0.5544 GB, free: 1.359 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00292/0.1447, allocations: 1.242 MB / 0.5556 GB, free: 116 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005683/0.1452, allocations: 172 kB / 0.5557 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003698/0.1489, allocations: 1.431 MB / 0.5571 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009356/0.1499, allocations: 0.6888 MB / 0.5578 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00149/0.1514, allocations: 0.8025 MB / 0.5586 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006614/0.158, allocations: 3.742 MB / 0.5623 GB, free: 9.262 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.158, allocations: 0 / 0.5623 GB, free: 9.262 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.158, allocations: 0 / 0.5623 GB, free: 9.262 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.185e-05/0.158, allocations: 0 / 0.5623 GB, free: 9.262 MB / 490.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.006021/0.1641, allocations: 2.955 MB / 0.5651 GB, free: 6.242 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1641, allocations: 12.03 kB / 0.5652 GB, free: 6.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02324/0.1873, allocations: 3.292 MB / 0.5684 GB, free: 2.934 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007148/0.1945, allocations: 3.06 MB / 0.5714 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.1946, allocations: 102.2 kB / 0.5715 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003957/0.195, allocations: 135.9 kB / 0.5716 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/0.2054, allocations: 2.598 MB / 0.5741 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.2054, allocations: 0 / 0.5741 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/0.2056, allocations: 52 kB / 0.5742 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-05/0.2057, allocations: 28 kB / 0.5742 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0165/0.2222, allocations: 3.161 MB / 0.5773 GB, free: 9.574 MB / 0.4948 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.02724/0.2494, allocations: 8.42 MB / 0.5855 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009245/0.2587, allocations: 1.932 MB / 0.5874 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00789/0.2666, allocations: 1.478 MB / 0.5888 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006813/0.2734, allocations: 2.805 MB / 0.5916 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008225/0.2816, allocations: 1.677 MB / 0.5932 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=57): time 3.637e-06/0.2816, allocations: 4 kB / 0.5932 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of matching and sorting (n=57): time 0.0234/0.305, allocations: 4.372 MB / 0.5975 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.3051, allocations: 63.89 kB / 0.5975 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004113/0.3092, allocations: 2.083 MB / 0.5996 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002029/0.3094, allocations: 45.7 kB / 0.5996 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00134/0.3107, allocations: 1.099 MB / 0.6007 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000363/0.3111, allocations: 214.2 kB / 0.6009 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005821/0.3117, allocations: 238.8 kB / 0.6011 GB, free: 436 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002217/0.3119, allocations: 345.9 kB / 0.6015 GB, free: 84 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008058/0.3199, allocations: 1.491 MB / 0.6029 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008587/0.3285, allocations: 2.216 MB / 0.6051 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01481/0.3433, allocations: 3.15 MB / 0.6082 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.183e-05/0.3434, allocations: 7.938 kB / 0.6082 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.01665/0.36, allocations: 3.563 MB / 0.6116 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.411e-05/0.3601, allocations: 44.14 kB / 0.6117 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.015e-05/0.3601, allocations: 19.98 kB / 0.6117 GB, free: 5.039 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.124e-05/0.3602, allocations: 24 kB / 0.6117 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004779/0.3649, allocations: 0.7652 MB / 0.6125 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-05/0.365, allocations: 35.86 kB / 0.6125 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005206/0.3702, allocations: 0.6626 MB / 0.6132 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002505/0.3705, allocations: 67.97 kB / 0.6132 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008826/0.3793, allocations: 1.905 MB / 0.6151 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00883/0.3881, allocations: 2.212 MB / 0.6172 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01487/0.403, allocations: 3.147 MB / 0.6203 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.455e-05/0.403, allocations: 8 kB / 0.6203 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=136) (initialization_lambda0): time 0.01667/0.4197, allocations: 3.559 MB / 0.6238 GB, free: 8.102 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.554e-05/0.4197, allocations: 37.7 kB / 0.6238 GB, free: 8.059 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-05/0.4197, allocations: 19.94 kB / 0.6239 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/0.4198, allocations: 20.69 kB / 0.6239 GB, free: 8.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004705/0.4245, allocations: 0.7802 MB / 0.6246 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.032e-05/0.4245, allocations: 31.91 kB / 0.6247 GB, free: 7.207 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00519/0.4297, allocations: 0.6317 MB / 0.6253 GB, free: 6.574 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/0.4299, allocations: 67.97 kB / 0.6253 GB, free: 6.508 MB / 0.5417 GB 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.0004507/0.4303, allocations: 267.8 kB / 0.6256 GB, free: 6.238 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006527/0.431, allocations: 238.5 kB / 0.6258 GB, free: 6.004 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/0.4471, allocations: 3.272 MB / 0.629 GB, free: 2.727 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.4471, allocations: 8 kB / 0.629 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.4471, allocations: 0 / 0.629 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01521/0.4623, allocations: 3.031 MB / 0.632 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02053/0.4828, allocations: 4.806 MB / 0.6367 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.4828, allocations: 8 kB / 0.6367 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004568/0.4874, allocations: 0.632 MB / 0.6373 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002425/0.4877, allocations: 44.83 kB / 0.6374 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.4878, allocations: 31.91 kB / 0.6374 GB, free: 9.988 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/0.4894, allocations: 1.339 MB / 0.6387 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.984e-06/0.4894, allocations: 7.922 kB / 0.6387 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02509/0.5145, allocations: 4.869 MB / 0.6435 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/0.5158, allocations: 362.3 kB / 0.6438 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000464/0.5163, allocations: 19.98 kB / 0.6438 GB, free: 3.266 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004864/0.5211, allocations: 0.5501 MB / 0.6444 GB, free: 2.715 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.5213, allocations: 60.48 kB / 0.6444 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.5214, allocations: 31.97 kB / 0.6444 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002847/0.5243, allocations: 1.395 MB / 0.6458 GB, free: 1.219 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5243, allocations: 0 / 0.6458 GB, free: 1.219 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003255/0.5275, allocations: 0.9823 MB / 0.6468 GB, free: 240 kB / 0.5573 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.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 (66): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.166/0.6935, allocations: 0.6878 MB / 0.6474 GB, free: 167.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02327/0.7168, allocations: 4.944 MB / 0.6523 GB, free: 166.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.7168, allocations: 0 / 0.6523 GB, free: 166.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007232/0.724, allocations: 1.631 MB / 0.6539 GB, free: 166.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003749/0.7277, allocations: 1.059 MB / 0.6549 GB, free: 166.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.7391, allocations: 4.778 MB / 0.6596 GB, free: 164.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008066/0.7399, allocations: 0.9801 MB / 0.6605 GB, free: 164 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002235/0.7422, allocations: 0.5518 MB / 0.6611 GB, free: 163.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006085/0.7428, allocations: 189.5 kB / 0.6612 GB, free: 163.8 MB / 0.5573 GB Notification: Performance of SimCode: time 9.31e-07/0.7428, allocations: 0 / 0.6612 GB, free: 163.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.05973/0.8025, allocations: 42.37 MB / 0.7026 GB, free: 138.9 MB / 0.5573 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.292474447051063]