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.001569/0.001569, 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.001782/0.001782, 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.9739/0.9739, 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.6431/0.6431, allocations: 114.9 MB / 375.7 MB, free: 7.656 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.623e-06/1.623e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.905e-05, allocations: 7.922 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.01593/0.01596, allocations: 20.76 MB / 0.4905 GB, free: 14.15 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01784/0.0338, allocations: 11.23 MB / 0.5015 GB, free: 6.641 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003815/0.03761, allocations: 140.8 kB / 0.5016 GB, free: 6.516 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004761/0.04237, allocations: 1.637 MB / 0.5032 GB, free: 5.34 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005823/0.0482, allocations: 2.374 MB / 0.5055 GB, free: 3.445 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005853/0.05405, allocations: 2.687 MB / 0.5081 GB, free: 1.277 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01069/0.06474, allocations: 9.179 MB / 0.5171 GB, free: 8.078 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002672/0.06741, allocations: 1.589 MB / 0.5187 GB, free: 6.445 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005763/0.07318, allocations: 3.02 MB / 0.5216 GB, free: 3.445 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002709/0.07589, allocations: 1.383 MB / 0.523 GB, free: 2.059 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000589/0.07647, allocations: 191.9 kB / 0.5231 GB, free: 1.871 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002447/0.07892, allocations: 1.111 MB / 0.5242 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006528/0.07957, allocations: 0.7356 MB / 0.5249 GB, free: 20 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.08083, allocations: 0.8689 MB / 0.5258 GB, free: 15.15 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004127/0.08496, allocations: 2.538 MB / 0.5283 GB, free: 12.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.08496, allocations: 0 / 0.5283 GB, free: 12.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.08496, allocations: 0 / 0.5283 GB, free: 12.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.92e-05/0.08502, allocations: 0 / 0.5283 GB, free: 12.6 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.004098/0.08912, allocations: 3.171 MB / 0.5314 GB, free: 9.355 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.08917, allocations: 12.03 kB / 0.5314 GB, free: 9.344 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.09036, allocations: 0.5486 MB / 0.5319 GB, free: 8.793 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003907/0.09426, allocations: 2.623 MB / 0.5345 GB, free: 6.086 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.09439, allocations: 106.4 kB / 0.5346 GB, free: 5.98 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002847/0.09468, allocations: 144 kB / 0.5347 GB, free: 5.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/0.09746, allocations: 1.331 MB / 0.536 GB, free: 4.34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.384e-05/0.0975, allocations: 3.938 kB / 0.536 GB, free: 4.336 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.09763, allocations: 56 kB / 0.5361 GB, free: 4.281 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-05/0.09768, allocations: 35.98 kB / 0.5361 GB, free: 4.246 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.09888, allocations: 0.505 MB / 0.5366 GB, free: 3.73 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.006888/0.1058, allocations: 6.06 MB / 0.5425 GB, free: 13.49 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009405/0.1067, allocations: 0.5185 MB / 0.543 GB, free: 12.97 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.107, allocations: 201.1 kB / 0.5432 GB, free: 12.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002186/0.1092, allocations: 1.241 MB / 0.5444 GB, free: 11.51 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005316/0.1098, allocations: 487.6 kB / 0.5449 GB, free: 10.97 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 3.166e-06/0.1098, allocations: 4 kB / 0.5449 GB, free: 10.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.001379/0.1111, allocations: 0.7577 MB / 0.5456 GB, free: 10.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.1112, allocations: 60.06 kB / 0.5457 GB, free: 10.12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.113, allocations: 1.853 MB / 0.5475 GB, free: 8.246 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.113, allocations: 45.7 kB / 0.5475 GB, free: 8.195 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008085/0.1139, allocations: 1.199 MB / 0.5487 GB, free: 6.984 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.114, allocations: 238 kB / 0.5489 GB, free: 6.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.1143, allocations: 240.4 kB / 0.5492 GB, free: 6.508 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002745/0.1145, allocations: 0.516 MB / 0.5497 GB, free: 5.984 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.1148, allocations: 198.5 kB / 0.5499 GB, free: 5.781 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006115/0.1154, allocations: 1.062 MB / 0.5509 GB, free: 4.367 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008839/0.1163, allocations: 0.9986 MB / 0.5519 GB, free: 3.098 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.1163, allocations: 4 kB / 0.5519 GB, free: 3.094 MB / 474.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001422/0.1178, allocations: 1.089 MB / 0.5529 GB, free: 1.984 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.1178, allocations: 41.7 kB / 0.553 GB, free: 1.938 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.1178, allocations: 16 kB / 0.553 GB, free: 1.922 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.365e-05/0.1179, allocations: 23.94 kB / 0.553 GB, free: 1.898 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006112/0.1185, allocations: 272.2 kB / 0.5533 GB, free: 1.633 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.479e-05/0.1185, allocations: 31.86 kB / 0.5533 GB, free: 1.602 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007826/0.1193, allocations: 143.1 kB / 0.5535 GB, free: 1.461 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.591e-05/0.1194, allocations: 55.98 kB / 0.5535 GB, free: 1.406 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005903/0.1199, allocations: 339.1 kB / 0.5538 GB, free: 1.066 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006669/0.1206, allocations: 1.07 MB / 0.5549 GB, free: 15.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001007/0.1216, allocations: 1.003 MB / 0.5559 GB, free: 14.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.915e-06/0.1216, allocations: 4 kB / 0.5559 GB, free: 14.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=139) (initialization_lambda0): time 0.001356/0.123, allocations: 1.077 MB / 0.5569 GB, free: 13.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.123, allocations: 42.59 kB / 0.5569 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.123, allocations: 16 kB / 0.557 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.123, allocations: 24 kB / 0.557 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000556/0.1236, allocations: 271.5 kB / 0.5572 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/0.1236, allocations: 27.92 kB / 0.5573 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006956/0.1243, allocations: 123.4 kB / 0.5574 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.925e-05/0.1244, allocations: 59.98 kB / 0.5574 GB, free: 12.71 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (137): * Single equations (assignments): 135 * 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.0002608/0.1246, allocations: 350.5 kB / 0.5578 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.1249, allocations: 238.5 kB / 0.558 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.1261, allocations: 0.7565 MB / 0.5587 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.1261, allocations: 8 kB / 0.5588 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1261, allocations: 0 / 0.5588 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005864/0.1267, allocations: 458.6 kB / 0.5592 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002783/0.1294, allocations: 2.027 MB / 0.5612 GB, free: 8.812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1294, allocations: 4.031 kB / 0.5612 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.1298, allocations: 139.8 kB / 0.5613 GB, free: 8.672 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001714/0.13, allocations: 39.62 kB / 0.5613 GB, free: 8.629 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/0.13, allocations: 31.92 kB / 0.5614 GB, free: 8.598 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.1311, allocations: 1.783 MB / 0.5631 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1311, allocations: 3.938 kB / 0.5631 GB, free: 6.688 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.1323, allocations: 1.022 MB / 0.5641 GB, free: 5.637 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004917/0.1328, allocations: 314.3 kB / 0.5644 GB, free: 5.328 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.133, allocations: 19.97 kB / 0.5644 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.1334, allocations: 47.95 kB / 0.5645 GB, free: 5.262 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.1336, allocations: 52.5 kB / 0.5645 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-05/0.1336, allocations: 35.97 kB / 0.5646 GB, free: 5.176 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001185/0.1348, allocations: 1.05 MB / 0.5656 GB, free: 4.113 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1348, allocations: 0 / 0.5656 GB, free: 4.113 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001962/0.1368, allocations: 0.9511 MB / 0.5665 GB, free: 3.16 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.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 (71): * Single equations (assignments): 64 * 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.0005428/0.1373, allocations: 274.7 kB / 0.5668 GB, free: 2.879 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.1389, allocations: 1.131 MB / 0.5679 GB, free: 1.715 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.81e-06/0.1389, allocations: 4 kB / 0.5679 GB, free: 1.711 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005582/0.1395, allocations: 430.3 kB / 0.5683 GB, free: 1.266 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003232/0.1427, allocations: 1.139 MB / 0.5694 GB, free: 184 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005044/0.1478, allocations: 3.271 MB / 0.5726 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.1481, allocations: 427 kB / 0.573 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0015/0.1496, allocations: 468.6 kB / 0.5735 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/0.15, allocations: 180.4 kB / 0.5736 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of SimCode: time 1.573e-06/0.15, allocations: 0 / 0.5736 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.05353/0.2035, allocations: 39.62 MB / 0.6123 GB, free: 5.051 MB / 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.4650314706377685]