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.001016/0.001016, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001757/0.001757, allocations: 165 kB / 23.8 MB, free: 0.7656 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.9485/0.9485, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.631/0.631, allocations: 115 MB / 375.7 MB, free: 7.648 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 2.104e-06/2.104e-06, allocations: 0 / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.792e-05, allocations: 3.797 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.01792/0.01795, allocations: 17.23 MB / 498.8 MB, free: 500 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02431/0.04226, allocations: 10.99 MB / 0.4978 GB, free: 9.211 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002892/0.04516, allocations: 125.4 kB / 0.4979 GB, free: 9.148 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004779/0.04994, allocations: 1.638 MB / 0.4995 GB, free: 8.504 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003985/0.05392, allocations: 2.222 MB / 0.5017 GB, free: 7 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004414/0.05833, allocations: 2.608 MB / 0.5042 GB, free: 4.945 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.008516/0.06685, allocations: 8.469 MB / 0.5125 GB, free: 12.79 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.06877, allocations: 1.423 MB / 0.5139 GB, free: 11.33 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/0.07224, allocations: 2.882 MB / 0.5167 GB, free: 8.477 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.07362, allocations: 1.239 MB / 0.5179 GB, free: 7.234 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002557/0.07387, allocations: 168 kB / 0.5181 GB, free: 7.07 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.07549, allocations: 1.111 MB / 0.5192 GB, free: 5.957 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004268/0.07591, allocations: 0.6889 MB / 0.5198 GB, free: 5.266 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006653/0.07658, allocations: 0.7831 MB / 0.5206 GB, free: 4.48 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002334/0.07891, allocations: 2.425 MB / 0.523 GB, free: 2.047 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.07892, allocations: 0 / 0.523 GB, free: 2.047 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07892, allocations: 0 / 0.523 GB, free: 2.047 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.503e-05/0.07896, allocations: 0 / 0.523 GB, free: 2.047 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.002781/0.08174, allocations: 3.028 MB / 0.5259 GB, free: 14.95 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.08177, allocations: 8.031 kB / 0.5259 GB, free: 14.94 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002454/0.08422, allocations: 0.9388 MB / 0.5269 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.08652, allocations: 2.385 MB / 0.5292 GB, free: 11.53 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.808e-05/0.08658, allocations: 106.1 kB / 0.5293 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.08672, allocations: 132 kB / 0.5294 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.08848, allocations: 1.38 MB / 0.5308 GB, free: 9.758 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.0885, allocations: 4 kB / 0.5308 GB, free: 9.754 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.46e-05/0.08859, allocations: 52 kB / 0.5308 GB, free: 9.703 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.08861, allocations: 35.98 kB / 0.5308 GB, free: 9.668 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.08961, allocations: 0.6363 MB / 0.5315 GB, free: 9.02 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.006086/0.0957, allocations: 6.851 MB / 0.5382 GB, free: 1.867 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.09688, allocations: 0.6681 MB / 0.5388 GB, free: 1.195 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/0.09727, allocations: 282.2 kB / 0.5391 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00229/0.09956, allocations: 1.965 MB / 0.541 GB, free: 14.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005349/0.1001, allocations: 492.1 kB / 0.5415 GB, free: 14.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 2.104e-06/0.1001, allocations: 0 / 0.5415 GB, free: 14.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.001402/0.1015, allocations: 0.9053 MB / 0.5423 GB, free: 13.39 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.1015, allocations: 63.89 kB / 0.5424 GB, free: 13.31 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.1031, allocations: 1.892 MB / 0.5443 GB, free: 11.39 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.172e-05/0.1032, allocations: 45.7 kB / 0.5443 GB, free: 11.34 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007126/0.1039, allocations: 1.211 MB / 0.5455 GB, free: 10.12 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.104, allocations: 210.2 kB / 0.5457 GB, free: 9.914 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.1043, allocations: 244.4 kB / 0.5459 GB, free: 9.668 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1044, allocations: 0.5121 MB / 0.5464 GB, free: 9.148 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.1048, allocations: 258.5 kB / 0.5467 GB, free: 8.887 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006983/0.1055, allocations: 1.189 MB / 0.5478 GB, free: 7.312 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009358/0.1064, allocations: 1.109 MB / 0.5489 GB, free: 5.906 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.1064, allocations: 4 kB / 0.5489 GB, free: 5.902 MB / 474.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001348/0.1078, allocations: 1.194 MB / 0.5501 GB, free: 4.688 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.1078, allocations: 45.64 kB / 0.5501 GB, free: 4.637 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.1078, allocations: 16 kB / 0.5501 GB, free: 4.621 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.1078, allocations: 20.69 kB / 0.5502 GB, free: 4.602 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/0.1086, allocations: 327.5 kB / 0.5505 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/0.1086, allocations: 31.86 kB / 0.5505 GB, free: 4.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006942/0.1093, allocations: 203 kB / 0.5507 GB, free: 4.051 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.813e-05/0.1094, allocations: 67.97 kB / 0.5508 GB, free: 3.984 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005401/0.1099, allocations: 403.1 kB / 0.5511 GB, free: 3.582 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006876/0.1106, allocations: 1.181 MB / 0.5523 GB, free: 2.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009127/0.1115, allocations: 1.101 MB / 0.5534 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.4e-06/0.1115, allocations: 4 kB / 0.5534 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of matching and sorting (n=136) (initialization_lambda0): time 0.001341/0.1128, allocations: 1.206 MB / 0.5546 GB, free: 15.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.1129, allocations: 41.69 kB / 0.5546 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.1129, allocations: 19.94 kB / 0.5546 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1129, allocations: 20 kB / 0.5546 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006983/0.1136, allocations: 319.8 kB / 0.5549 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.1136, allocations: 35.86 kB / 0.555 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006855/0.1143, allocations: 183.4 kB / 0.5551 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.197e-05/0.1144, allocations: 67.97 kB / 0.5552 GB, free: 14.71 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.0002/0.1146, allocations: 343.6 kB / 0.5555 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.1148, allocations: 242.5 kB / 0.5558 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.116, allocations: 0.9041 MB / 0.5566 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.116, allocations: 12 kB / 0.5567 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.116, allocations: 0 / 0.5567 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007611/0.1168, allocations: 0.6922 MB / 0.5573 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/0.1193, allocations: 2.286 MB / 0.5596 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1193, allocations: 7.938 kB / 0.5596 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005409/0.1198, allocations: 179.8 kB / 0.5597 GB, free: 9.906 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001509/0.12, allocations: 39.59 kB / 0.5598 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/0.12, allocations: 23.98 kB / 0.5598 GB, free: 9.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008203/0.1208, allocations: 1.787 MB / 0.5616 GB, free: 7.934 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1208, allocations: 4 kB / 0.5616 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.1222, allocations: 1.19 MB / 0.5627 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/0.1226, allocations: 338.2 kB / 0.563 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.1227, allocations: 12 kB / 0.5631 GB, free: 6.359 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005779/0.1233, allocations: 95.84 kB / 0.5631 GB, free: 6.266 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/0.1234, allocations: 56.5 kB / 0.5632 GB, free: 6.211 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/0.1235, allocations: 35.95 kB / 0.5632 GB, free: 6.176 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001029/0.1245, allocations: 1.067 MB / 0.5643 GB, free: 5.098 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1245, allocations: 0 / 0.5643 GB, free: 5.098 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001429/0.1259, allocations: 0.9004 MB / 0.5652 GB, free: 4.195 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.001067/0.127, allocations: 0.4975 MB / 0.5656 GB, free: 3.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.1286, allocations: 1.347 MB / 0.567 GB, free: 2.453 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1286, allocations: 4 kB / 0.567 GB, free: 2.449 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005708/0.1292, allocations: 0.4955 MB / 0.5674 GB, free: 1.938 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/0.1312, allocations: 1.048 MB / 0.5685 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.135, allocations: 3.22 MB / 0.5716 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.1352, allocations: 414.4 kB / 0.572 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00119/0.1364, allocations: 0.4955 MB / 0.5725 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003552/0.1368, allocations: 184.4 kB / 0.5727 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of SimCode: time 1.252e-06/0.1368, allocations: 0 / 0.5727 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.04434/0.1811, allocations: 42.23 MB / 0.6139 GB, free: 3.137 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.357662199065089]