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.002798/0.002798, allocations: 80.55 kB / 19.95 MB, free: 4.602 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.003757/0.003757, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.859/1.859, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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 3.347/3.347, allocations: 389.5 MB / 0.6343 GB, free: 12.64 MB / 0.6042 GB " [Timeout remaining time 175] 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.713e-06/1.713e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.038e-05/4.209e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 1.108/1.108, allocations: 61.66 MB / 1.061 GB, free: 44.44 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.03233/1.14, allocations: 17.3 MB / 1.078 GB, free: 39.49 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006582/1.147, allocations: 132.2 kB / 1.078 GB, free: 39.43 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.007866/1.155, allocations: 2.012 MB / 1.08 GB, free: 38.52 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.01169/1.166, allocations: 3.09 MB / 1.083 GB, free: 36.69 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.008947/1.175, allocations: 2.585 MB / 1.086 GB, free: 35.38 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0212/1.197, allocations: 9.131 MB / 1.095 GB, free: 31.71 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006018/1.203, allocations: 1.479 MB / 1.096 GB, free: 30.93 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01542/1.218, allocations: 3.407 MB / 1.1 GB, free: 29.45 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005655/1.224, allocations: 1.346 MB / 1.101 GB, free: 28.98 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001296/1.225, allocations: 191.9 kB / 1.101 GB, free: 28.98 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007852/1.233, allocations: 1.53 MB / 1.103 GB, free: 28.54 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.002371/1.235, allocations: 0.7216 MB / 1.103 GB, free: 28.13 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.005371/1.241, allocations: 0.8431 MB / 1.104 GB, free: 27.76 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01616/1.257, allocations: 4.015 MB / 1.108 GB, free: 26.31 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.308e-05/1.257, allocations: 0.5156 kB / 1.108 GB, free: 26.31 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.527e-06/1.257, allocations: 0.8438 kB / 1.108 GB, free: 26.31 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002919/1.257, allocations: 0 / 1.108 GB, free: 26.31 MB / 0.9948 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.01484/1.272, allocations: 3.034 MB / 1.111 GB, free: 24.32 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 7.121e-05/1.272, allocations: 13.2 kB / 1.111 GB, free: 24.32 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002914/1.275, allocations: 494.5 kB / 1.111 GB, free: 24.15 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007842/1.283, allocations: 2.939 MB / 1.114 GB, free: 22.59 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/1.283, allocations: 101.8 kB / 1.114 GB, free: 22.54 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/1.283, allocations: 131.9 kB / 1.115 GB, free: 22.5 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003754/1.287, allocations: 1.671 MB / 1.116 GB, free: 21.53 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/1.287, allocations: 6.219 kB / 1.116 GB, free: 21.52 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/1.287, allocations: 52.22 kB / 1.116 GB, free: 21.48 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.857e-05/1.287, allocations: 33.78 kB / 1.116 GB, free: 21.48 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003105/1.29, allocations: 1.115 MB / 1.117 GB, free: 21.09 MB / 0.9948 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.01134/1.302, allocations: 5.258 MB / 1.123 GB, free: 17.64 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/1.304, allocations: 0.8102 MB / 1.123 GB, free: 17.35 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/1.305, allocations: 403.7 kB / 1.124 GB, free: 17.21 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004177/1.309, allocations: 1.281 MB / 1.125 GB, free: 16.51 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00143/1.311, allocations: 0.6507 MB / 1.126 GB, free: 16.09 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=64): time 2.575e-06/1.311, allocations: 0 / 1.126 GB, free: 16.09 MB / 0.9948 GB Notification: Performance of matching and sorting (n=64): time 0.004033/1.315, allocations: 1.251 MB / 1.127 GB, free: 15.62 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/1.315, allocations: 59.14 kB / 1.127 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004103/1.319, allocations: 1.93 MB / 1.129 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.452e-05/1.319, allocations: 43.8 kB / 1.129 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001271/1.32, allocations: 1.075 MB / 1.13 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/1.321, allocations: 235.7 kB / 1.13 GB, free: 13.74 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004276/1.321, allocations: 200.9 kB / 1.13 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.321, allocations: 346.9 kB / 1.131 GB, free: 13.32 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/1.322, allocations: 401.2 kB / 1.131 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/1.324, allocations: 0.9703 MB / 1.132 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002453/1.326, allocations: 1.076 MB / 1.133 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/1.326, allocations: 3.25 kB / 1.133 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003337/1.33, allocations: 1.332 MB / 1.134 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 5.772e-05/1.33, allocations: 43.73 kB / 1.134 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/1.33, allocations: 11.09 kB / 1.134 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.746e-05/1.33, allocations: 14.66 kB / 1.134 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/1.331, allocations: 255.4 kB / 1.135 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-05/1.331, allocations: 20.42 kB / 1.135 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/1.333, allocations: 147.4 kB / 1.135 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/1.333, allocations: 51.73 kB / 1.135 GB, free: 10.87 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002254/1.335, allocations: 0.8176 MB / 1.136 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001441/1.337, allocations: 0.9673 MB / 1.137 GB, free: 9.605 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002349/1.339, allocations: 1.073 MB / 1.138 GB, free: 8.891 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.626e-06/1.339, allocations: 3.406 kB / 1.138 GB, free: 8.891 MB / 0.9948 GB Notification: Performance of matching and sorting (n=121) (initialization_lambda0): time 0.003438/1.342, allocations: 1.33 MB / 1.139 GB, free: 8.32 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 5.647e-05/1.343, allocations: 37.19 kB / 1.139 GB, free: 8.289 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/1.343, allocations: 9.469 kB / 1.139 GB, free: 8.289 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/1.343, allocations: 18.47 kB / 1.139 GB, free: 8.285 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/1.344, allocations: 255 kB / 1.139 GB, free: 8.258 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.032e-05/1.344, allocations: 22.91 kB / 1.139 GB, free: 8.254 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/1.345, allocations: 150.4 kB / 1.139 GB, free: 8.188 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/1.345, allocations: 50.05 kB / 1.139 GB, free: 8.18 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (119): * Single equations (assignments): 117 * 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.0005222/1.346, allocations: 243.5 kB / 1.14 GB, free: 7.953 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003613/1.346, allocations: 215.1 kB / 1.14 GB, free: 7.836 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003387/1.35, allocations: 1.161 MB / 1.141 GB, free: 7.398 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/1.35, allocations: 11.58 kB / 1.141 GB, free: 7.395 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.35, allocations: 1.438 kB / 1.141 GB, free: 7.395 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002257/1.352, allocations: 0.8369 MB / 1.142 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006465/1.358, allocations: 2.297 MB / 1.144 GB, free: 6.055 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/1.358, allocations: 0 / 1.144 GB, free: 6.055 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008711/1.359, allocations: 165.9 kB / 1.144 GB, free: 6.039 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002446/1.36, allocations: 34.06 kB / 1.144 GB, free: 6.023 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-05/1.36, allocations: 23.38 kB / 1.144 GB, free: 6.012 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/1.361, allocations: 1.337 MB / 1.146 GB, free: 4.727 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.361, allocations: 3.938 kB / 1.146 GB, free: 4.723 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004038/1.365, allocations: 1.61 MB / 1.147 GB, free: 4.016 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009698/1.366, allocations: 322 kB / 1.147 GB, free: 3.816 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/1.366, allocations: 13.53 kB / 1.147 GB, free: 3.809 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009263/1.367, allocations: 80.44 kB / 1.148 GB, free: 3.785 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/1.367, allocations: 64.52 kB / 1.148 GB, free: 3.77 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.42e-05/1.367, allocations: 31.22 kB / 1.148 GB, free: 3.766 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003047/1.37, allocations: 1.304 MB / 1.149 GB, free: 3.258 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/1.37, allocations: 0 / 1.149 GB, free: 3.258 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004122/1.374, allocations: 0.9951 MB / 1.15 GB, free: 3.035 MB / 0.9948 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.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 (72): * Single equations (assignments): 64 * 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.001472/1.376, allocations: 481.5 kB / 1.15 GB, free: 2.812 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004486/1.38, allocations: 1.572 MB / 1.152 GB, free: 2.191 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.38, allocations: 1.281 kB / 1.152 GB, free: 2.191 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/1.382, allocations: 0.5386 MB / 1.152 GB, free: 1.953 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004904/1.387, allocations: 1.087 MB / 1.153 GB, free: 1.602 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008037/1.395, allocations: 3.613 MB / 1.157 GB, free: 15.73 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/1.396, allocations: 0.9872 MB / 1.158 GB, free: 15.46 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002568/1.399, allocations: 493.1 kB / 1.158 GB, free: 15.32 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005696/1.399, allocations: 171.6 kB / 1.159 GB, free: 15.3 MB / 1.01 GB Notification: Performance of SimCode: time 1.573e-06/1.4, allocations: 1.531 kB / 1.159 GB, free: 15.3 MB / 1.01 GB Notification: Performance of Templates: time 0.09198/1.491, allocations: 41.79 MB / 1.199 GB, free: 1.727 MB / 1.026 GB " [Timeout remaining time 298] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.980949435383081]