Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009164/0.0009164, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.0009231/0.0009231, allocations: 177.5 kB / 25.18 MB, free: 8.879 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.9585/0.9585, allocations: 177.1 MB / 205.6 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.87/1.87, allocations: 389.6 MB / 0.6364 GB, free: 12.21 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.7756 GB, free: 5.945 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.812e-05, allocations: 3.078 kB / 0.7756 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.0149/0.01492, allocations: 20.41 MB / 0.7955 GB, free: 1.512 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.01434/0.02926, allocations: 10.36 MB / 0.8056 GB, free: 7.203 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001774/0.03103, allocations: 131.5 kB / 0.8057 GB, free: 7.074 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002897/0.03393, allocations: 1.639 MB / 0.8073 GB, free: 5.434 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003268/0.0372, allocations: 2.336 MB / 0.8096 GB, free: 3.105 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003345/0.04054, allocations: 2.28 MB / 0.8118 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.00774/0.04828, allocations: 8.841 MB / 0.8205 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002358/0.05064, allocations: 1.574 MB / 0.822 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003339/0.05398, allocations: 2.97 MB / 0.8249 GB, free: 3.453 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.05554, allocations: 1.285 MB / 0.8262 GB, free: 2.164 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002399/0.05578, allocations: 188 kB / 0.8263 GB, free: 1.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.05741, allocations: 1.123 MB / 0.8274 GB, free: 0.8555 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004615/0.05787, allocations: 0.7239 MB / 0.8282 GB, free: 132 kB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000771/0.05864, allocations: 0.8417 MB / 0.829 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002424/0.06107, allocations: 2.472 MB / 0.8314 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.06107, allocations: 0 / 0.8314 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.292e-06/0.06107, allocations: 0 / 0.8314 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.427e-05/0.0611, allocations: 0 / 0.8314 GB, free: 12.8 MB / 0.7917 GB 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.002679/0.06378, allocations: 2.878 MB / 0.8342 GB, free: 9.859 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.06381, allocations: 12.58 kB / 0.8342 GB, free: 9.848 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007726/0.06458, allocations: 431.4 kB / 0.8346 GB, free: 9.426 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.0666, allocations: 1.919 MB / 0.8365 GB, free: 7.41 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.838e-05/0.06666, allocations: 94.45 kB / 0.8366 GB, free: 7.316 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.06679, allocations: 140 kB / 0.8367 GB, free: 7.18 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.06782, allocations: 1.212 MB / 0.8379 GB, free: 5.82 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.06785, allocations: 7.984 kB / 0.8379 GB, free: 5.812 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-05/0.06792, allocations: 63.97 kB / 0.838 GB, free: 5.75 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.06794, allocations: 32 kB / 0.838 GB, free: 5.719 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004855/0.06843, allocations: 380 kB / 0.8384 GB, free: 5.328 MB / 0.7917 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.003743/0.07217, allocations: 4.322 MB / 0.8426 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005689/0.07274, allocations: 483.1 kB / 0.843 GB, free: 396 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.07294, allocations: 166.1 kB / 0.8432 GB, free: 228 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001579/0.07452, allocations: 1.127 MB / 0.8443 GB, free: 15.08 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003868/0.07491, allocations: 486.1 kB / 0.8448 GB, free: 14.54 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=60): time 1.433e-06/0.07491, allocations: 0 / 0.8448 GB, free: 14.54 MB / 0.8074 GB Notification: Performance of matching and sorting (n=60): time 0.0006997/0.07561, allocations: 485.5 kB / 0.8452 GB, free: 14.05 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.07566, allocations: 111.3 kB / 0.8453 GB, free: 13.92 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.07678, allocations: 1.634 MB / 0.8469 GB, free: 12.25 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/0.07683, allocations: 41.7 kB / 0.847 GB, free: 12.21 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/0.0772, allocations: 0.7277 MB / 0.8477 GB, free: 11.46 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.07732, allocations: 222.1 kB / 0.8479 GB, free: 11.25 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.0775, allocations: 194.5 kB / 0.8481 GB, free: 11.05 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 8.676e-05/0.07758, allocations: 349.9 kB / 0.8484 GB, free: 10.7 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.0778, allocations: 161.3 kB / 0.8486 GB, free: 10.54 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.07824, allocations: 0.7381 MB / 0.8493 GB, free: 9.574 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005683/0.0788, allocations: 0.6845 MB / 0.85 GB, free: 8.738 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.07881, allocations: 3.938 kB / 0.85 GB, free: 8.734 MB / 0.8074 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0007248/0.07953, allocations: 0.7119 MB / 0.8507 GB, free: 8 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.07957, allocations: 37.7 kB / 0.8507 GB, free: 7.957 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.07958, allocations: 12 kB / 0.8507 GB, free: 7.945 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.0796, allocations: 12 kB / 0.8507 GB, free: 7.934 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.08005, allocations: 239.9 kB / 0.8509 GB, free: 7.699 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.08007, allocations: 27.92 kB / 0.851 GB, free: 7.672 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.08051, allocations: 131.3 kB / 0.8511 GB, free: 7.543 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.264e-05/0.08056, allocations: 39.98 kB / 0.8511 GB, free: 7.504 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003683/0.08093, allocations: 253.4 kB / 0.8514 GB, free: 7.242 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004166/0.08135, allocations: 0.742 MB / 0.8521 GB, free: 6.277 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005507/0.0819, allocations: 0.6817 MB / 0.8528 GB, free: 5.438 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/0.0819, allocations: 0 / 0.8528 GB, free: 5.438 MB / 0.8074 GB Notification: Performance of matching and sorting (n=118) (initialization_lambda0): time 0.0007224/0.08262, allocations: 0.716 MB / 0.8535 GB, free: 4.699 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.08264, allocations: 37.7 kB / 0.8535 GB, free: 4.656 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.08265, allocations: 8 kB / 0.8535 GB, free: 4.648 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.08266, allocations: 20.06 kB / 0.8535 GB, free: 4.629 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/0.08309, allocations: 239.6 kB / 0.8538 GB, free: 4.395 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.0831, allocations: 23.92 kB / 0.8538 GB, free: 4.371 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004251/0.08353, allocations: 111.5 kB / 0.8539 GB, free: 4.262 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/0.08358, allocations: 39.98 kB / 0.8539 GB, free: 4.223 MB / 0.8074 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (116): * Single equations (assignments): 114 * 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.0001462/0.08372, allocations: 247.8 kB / 0.8542 GB, free: 3.973 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.08385, allocations: 139.8 kB / 0.8543 GB, free: 3.836 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006795/0.08453, allocations: 0.5728 MB / 0.8549 GB, free: 3.254 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.557e-06/0.08454, allocations: 8 kB / 0.8549 GB, free: 3.246 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.08455, allocations: 4 kB / 0.8549 GB, free: 3.242 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002859/0.08483, allocations: 291.8 kB / 0.8551 GB, free: 2.941 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.08647, allocations: 1.778 MB / 0.8569 GB, free: 1.098 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.08647, allocations: 0 / 0.8569 GB, free: 1.098 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.0868, allocations: 143.8 kB / 0.857 GB, free: 0.957 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001165/0.08692, allocations: 33.05 kB / 0.857 GB, free: 0.9219 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.08695, allocations: 27.92 kB / 0.8571 GB, free: 0.8945 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006354/0.08758, allocations: 1.206 MB / 0.8583 GB, free: 15.61 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.08759, allocations: 7.938 kB / 0.8583 GB, free: 15.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007017/0.08829, allocations: 0.7493 MB / 0.859 GB, free: 14.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003018/0.08859, allocations: 254.3 kB / 0.8592 GB, free: 14.55 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.08871, allocations: 12 kB / 0.8592 GB, free: 14.54 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.08908, allocations: 51.89 kB / 0.8593 GB, free: 14.49 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.715e-05/0.08916, allocations: 64.48 kB / 0.8594 GB, free: 14.43 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.0892, allocations: 27.97 kB / 0.8594 GB, free: 14.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006418/0.08984, allocations: 0.8401 MB / 0.8602 GB, free: 13.54 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.08984, allocations: 0 / 0.8602 GB, free: 13.54 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001271/0.09111, allocations: 0.9237 MB / 0.8611 GB, free: 12.61 MB / 0.823 GB 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.0003971/0.09151, allocations: 269.7 kB / 0.8614 GB, free: 12.34 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0008782/0.09239, allocations: 0.9123 MB / 0.8623 GB, free: 11.39 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.985e-05/0.09241, allocations: 24.5 kB / 0.8623 GB, free: 11.37 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003332/0.09274, allocations: 320.3 kB / 0.8626 GB, free: 11.04 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.09473, allocations: 1.129 MB / 0.8637 GB, free: 9.941 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003369/0.0981, allocations: 3.234 MB / 0.8668 GB, free: 6.621 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000694/0.09879, allocations: 0.952 MB / 0.8678 GB, free: 5.621 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/0.1002, allocations: 0.7994 MB / 0.8686 GB, free: 4.805 MB / 0.823 GB Notification: Performance of SimCode: time 8.81e-07/0.1002, allocations: 3.938 kB / 0.8686 GB, free: 4.801 MB / 0.823 GB Notification: Performance of Templates: time 0.03448/0.1347, allocations: 39.45 MB / 0.9071 GB, free: 13.65 MB / 0.8699 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u > Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.416468382813036]