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.0009791/0.0009791, allocations: 96.09 kB / 20.43 MB, free: 4.137 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.001053/0.001053, allocations: 169 kB / 23.8 MB, free: 0.7695 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.9285/0.9285, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.6043/0.6043, allocations: 114.9 MB / 375.7 MB, free: 7.625 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.153e-06/1.153e-06, allocations: 0.6562 kB / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.549e-05, allocations: 6.109 kB / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.01226/0.01227, allocations: 17.24 MB / 498.8 MB, free: 496 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01521/0.02749, allocations: 10.99 MB / 0.4978 GB, free: 9.211 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002435/0.02992, allocations: 130 kB / 0.4979 GB, free: 9.145 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004072/0.03399, allocations: 1.634 MB / 0.4995 GB, free: 8.504 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004323/0.03832, allocations: 2.215 MB / 0.5017 GB, free: 7.047 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005388/0.0437, allocations: 2.635 MB / 0.5042 GB, free: 4.965 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.009779/0.05348, allocations: 8.442 MB / 0.5125 GB, free: 12.82 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/0.05548, allocations: 1.427 MB / 0.5139 GB, free: 11.36 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003905/0.05938, allocations: 2.719 MB / 0.5165 GB, free: 8.652 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.06112, allocations: 1.266 MB / 0.5178 GB, free: 7.383 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003242/0.06144, allocations: 172 kB / 0.5179 GB, free: 7.215 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.06345, allocations: 1.127 MB / 0.519 GB, free: 6.086 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005498/0.064, allocations: 0.7045 MB / 0.5197 GB, free: 5.379 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009137/0.06491, allocations: 0.7792 MB / 0.5205 GB, free: 4.598 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003167/0.06808, allocations: 2.448 MB / 0.5229 GB, free: 2.141 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.06808, allocations: 0 / 0.5229 GB, free: 2.141 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.06808, allocations: 0 / 0.5229 GB, free: 2.141 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.632e-05/0.06813, allocations: 0 / 0.5229 GB, free: 2.141 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.003768/0.0719, allocations: 3.044 MB / 0.5259 GB, free: 15.03 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.07194, allocations: 12.03 kB / 0.5259 GB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006278/0.07822, allocations: 1.739 MB / 0.5276 GB, free: 13.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003598/0.08181, allocations: 2.505 MB / 0.53 GB, free: 10.69 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.003e-05/0.08189, allocations: 102.1 kB / 0.5301 GB, free: 10.59 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/0.08211, allocations: 135.9 kB / 0.5302 GB, free: 10.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/0.08495, allocations: 1.552 MB / 0.5317 GB, free: 8.742 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.08498, allocations: 0 / 0.5317 GB, free: 8.742 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.0851, allocations: 44 kB / 0.5318 GB, free: 8.699 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/0.08513, allocations: 39.98 kB / 0.5318 GB, free: 8.66 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.08661, allocations: 0.6753 MB / 0.5325 GB, free: 7.973 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.008885/0.09549, allocations: 7.777 MB / 0.5401 GB, free: 15.79 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.09699, allocations: 0.8088 MB / 0.5409 GB, free: 14.97 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004677/0.09745, allocations: 310.2 kB / 0.5412 GB, free: 14.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002875/0.1003, allocations: 2.403 MB / 0.5435 GB, free: 12.03 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006268/0.101, allocations: 0.5235 MB / 0.544 GB, free: 11.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 2.595e-06/0.101, allocations: 0 / 0.544 GB, free: 11.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.001691/0.1027, allocations: 0.9756 MB / 0.545 GB, free: 10.48 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.1027, allocations: 59.89 kB / 0.545 GB, free: 10.41 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.1043, allocations: 1.892 MB / 0.5469 GB, free: 8.492 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.812e-05/0.1044, allocations: 49.7 kB / 0.5469 GB, free: 8.438 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007128/0.1051, allocations: 1.195 MB / 0.5481 GB, free: 7.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.1053, allocations: 210.2 kB / 0.5483 GB, free: 7.023 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/0.1055, allocations: 244.4 kB / 0.5485 GB, free: 6.777 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1057, allocations: 0.5199 MB / 0.549 GB, free: 6.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004443/0.1061, allocations: 286.5 kB / 0.5493 GB, free: 5.961 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008598/0.107, allocations: 1.212 MB / 0.5505 GB, free: 4.359 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.1081, allocations: 1.152 MB / 0.5516 GB, free: 2.906 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.1081, allocations: 4 kB / 0.5516 GB, free: 2.902 MB / 474.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.0016/0.1097, allocations: 1.249 MB / 0.5528 GB, free: 1.633 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.1098, allocations: 41.64 kB / 0.5529 GB, free: 1.586 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.1098, allocations: 16 kB / 0.5529 GB, free: 1.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-05/0.1098, allocations: 24.69 kB / 0.5529 GB, free: 1.547 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.1109, allocations: 455.3 kB / 0.5534 GB, free: 1.102 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.547e-05/0.111, allocations: 35.86 kB / 0.5534 GB, free: 1.066 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.112, allocations: 323 kB / 0.5537 GB, free: 0.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.125e-05/0.1121, allocations: 63.97 kB / 0.5538 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006459/0.1128, allocations: 423.1 kB / 0.5542 GB, free: 272 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008035/0.1136, allocations: 1.216 MB / 0.5554 GB, free: 14.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001028/0.1146, allocations: 1.148 MB / 0.5565 GB, free: 13.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.15e-06/0.1146, allocations: 4 kB / 0.5565 GB, free: 13.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=137) (initialization_lambda0): time 0.001528/0.1161, allocations: 1.246 MB / 0.5577 GB, free: 11.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.1162, allocations: 45.69 kB / 0.5577 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.1162, allocations: 19.92 kB / 0.5578 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1162, allocations: 27.94 kB / 0.5578 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.1173, allocations: 451.5 kB / 0.5582 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.1173, allocations: 31.92 kB / 0.5582 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.1183, allocations: 303.2 kB / 0.5585 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.744e-05/0.1184, allocations: 67.97 kB / 0.5586 GB, free: 11.01 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (135): * Single equations (assignments): 133 * 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.0002453/0.1187, allocations: 350.3 kB / 0.5589 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.1189, allocations: 242.5 kB / 0.5592 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.1204, allocations: 0.9615 MB / 0.5601 GB, free: 9.461 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.1204, allocations: 12 kB / 0.5601 GB, free: 9.449 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1204, allocations: 0 / 0.5601 GB, free: 9.449 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009328/0.1213, allocations: 0.7313 MB / 0.5608 GB, free: 8.664 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/0.1243, allocations: 2.528 MB / 0.5633 GB, free: 6.012 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.1243, allocations: 7.938 kB / 0.5633 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008867/0.1252, allocations: 311.7 kB / 0.5636 GB, free: 5.699 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001609/0.1254, allocations: 31.66 kB / 0.5636 GB, free: 5.664 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.518e-05/0.1254, allocations: 27.97 kB / 0.5637 GB, free: 5.637 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008815/0.1263, allocations: 1.776 MB / 0.5654 GB, free: 3.742 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1263, allocations: 0 / 0.5654 GB, free: 3.742 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.128, allocations: 1.276 MB / 0.5666 GB, free: 2.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004523/0.1285, allocations: 362.1 kB / 0.567 GB, free: 2.074 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.1286, allocations: 19.98 kB / 0.567 GB, free: 2.055 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009079/0.1295, allocations: 219.8 kB / 0.5672 GB, free: 1.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.1296, allocations: 52.56 kB / 0.5673 GB, free: 1.789 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.818e-05/0.1297, allocations: 40.02 kB / 0.5673 GB, free: 1.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001093/0.1308, allocations: 1.067 MB / 0.5683 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1308, allocations: 0 / 0.5683 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00166/0.1324, allocations: 0.9201 MB / 0.5692 GB, free: 15.75 MB / 0.4948 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 (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.001064/0.1335, allocations: 0.5031 MB / 0.5697 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001903/0.1354, allocations: 1.429 MB / 0.5711 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1354, allocations: 0 / 0.5711 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006846/0.1361, allocations: 0.5269 MB / 0.5716 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/0.1381, allocations: 1.043 MB / 0.5727 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.1418, allocations: 3.228 MB / 0.5758 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.1421, allocations: 418.4 kB / 0.5762 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001211/0.1433, allocations: 0.5015 MB / 0.5767 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/0.1438, allocations: 192.3 kB / 0.5769 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of SimCode: time 1.253e-06/0.1438, allocations: 0 / 0.5769 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of Templates: time 0.04352/0.1873, allocations: 40.21 MB / 0.6162 GB, free: 0.5859 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.28490497590974]