Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.002909/0.002909, allocations: 80.52 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.003923/0.003923, 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.811/1.811, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.408/3.408, allocations: 389.5 MB / 0.6343 GB, free: 12.62 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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.178e-05/4.406e-05, allocations: 6.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 1.22/1.22, allocations: 49.25 MB / 1.049 GB, free: 44.57 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.03097/1.251, allocations: 15.9 MB / 1.065 GB, free: 44.29 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005833/1.257, allocations: 121.1 kB / 1.065 GB, free: 44.29 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.008827/1.266, allocations: 1.977 MB / 1.067 GB, free: 43.95 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.01107/1.277, allocations: 2.758 MB / 1.07 GB, free: 42.79 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.009442/1.286, allocations: 2.482 MB / 1.072 GB, free: 41.8 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.01632/1.303, allocations: 8.396 MB / 1.08 GB, free: 38.83 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003417/1.306, allocations: 1.312 MB / 1.081 GB, free: 38.23 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009098/1.315, allocations: 3.085 MB / 1.084 GB, free: 37.06 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004077/1.319, allocations: 1.225 MB / 1.086 GB, free: 36.77 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0006022/1.32, allocations: 167.5 kB / 1.086 GB, free: 36.77 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005842/1.326, allocations: 1.432 MB / 1.087 GB, free: 36.43 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001195/1.327, allocations: 0.6824 MB / 1.088 GB, free: 36.07 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002323/1.329, allocations: 0.7684 MB / 1.089 GB, free: 35.77 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0114/1.34, allocations: 3.679 MB / 1.092 GB, free: 34.61 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/1.34, allocations: 0 / 1.092 GB, free: 34.61 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.976e-06/1.34, allocations: 0 / 1.092 GB, free: 34.61 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001116/1.341, allocations: 3.938 kB / 1.092 GB, free: 34.61 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.00839/1.349, allocations: 2.872 MB / 1.095 GB, free: 32.74 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/1.349, allocations: 15.17 kB / 1.095 GB, free: 32.74 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02233/1.371, allocations: 3.189 MB / 1.098 GB, free: 32.29 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00894/1.38, allocations: 2.848 MB / 1.101 GB, free: 30.83 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/1.38, allocations: 87.09 kB / 1.101 GB, free: 30.79 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000422/1.381, allocations: 125.2 kB / 1.101 GB, free: 30.75 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/1.392, allocations: 2.632 MB / 1.104 GB, free: 29.73 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/1.392, allocations: 1.312 kB / 1.104 GB, free: 29.73 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/1.392, allocations: 51.72 kB / 1.104 GB, free: 29.69 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-05/1.392, allocations: 29.31 kB / 1.104 GB, free: 29.69 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01651/1.409, allocations: 3.235 MB / 1.107 GB, free: 28.97 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.02964/1.439, allocations: 8.403 MB / 1.115 GB, free: 24.26 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009685/1.448, allocations: 1.987 MB / 1.117 GB, free: 23.76 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007863/1.456, allocations: 1.499 MB / 1.119 GB, free: 23.45 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00843/1.465, allocations: 2.792 MB / 1.121 GB, free: 21.5 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008363/1.473, allocations: 1.705 MB / 1.123 GB, free: 21 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=57): time 3.617e-06/1.473, allocations: 0 / 1.123 GB, free: 21 MB / 0.9948 GB Notification: Performance of matching and sorting (n=57): time 0.02404/1.497, allocations: 4.417 MB / 1.127 GB, free: 20.05 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/1.497, allocations: 62.81 kB / 1.127 GB, free: 19.98 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005108/1.502, allocations: 2.005 MB / 1.129 GB, free: 19.22 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002772/1.502, allocations: 38.67 kB / 1.129 GB, free: 19.18 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001352/1.504, allocations: 1.08 MB / 1.13 GB, free: 18.32 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000352/1.504, allocations: 219.3 kB / 1.131 GB, free: 18.16 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005298/1.505, allocations: 211.3 kB / 1.131 GB, free: 18.05 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.505, allocations: 343.2 kB / 1.131 GB, free: 17.73 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007553/1.512, allocations: 1.496 MB / 1.133 GB, free: 17.41 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00833/1.521, allocations: 2.118 MB / 1.135 GB, free: 16.3 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0149/1.536, allocations: 3.04 MB / 1.138 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.529e-05/1.536, allocations: 3.656 kB / 1.138 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01779/1.553, allocations: 3.433 MB / 1.141 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 7.277e-05/1.553, allocations: 36.98 kB / 1.141 GB, free: 14.33 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.571e-05/1.553, allocations: 10.5 kB / 1.141 GB, free: 14.33 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.338e-05/1.554, allocations: 17.53 kB / 1.141 GB, free: 14.33 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004848/1.558, allocations: 0.748 MB / 1.142 GB, free: 14.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.315e-05/1.558, allocations: 26.55 kB / 1.142 GB, free: 14.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006301/1.565, allocations: 0.6441 MB / 1.142 GB, free: 14.12 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002709/1.565, allocations: 58.69 kB / 1.142 GB, free: 14.12 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009696/1.575, allocations: 1.903 MB / 1.144 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008694/1.583, allocations: 2.123 MB / 1.146 GB, free: 12.14 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01431/1.598, allocations: 3.039 MB / 1.149 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.702e-05/1.598, allocations: 4.281 kB / 1.149 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.01632/1.614, allocations: 3.437 MB / 1.153 GB, free: 8.895 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 8.763e-05/1.614, allocations: 44.69 kB / 1.153 GB, free: 8.855 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-05/1.614, allocations: 10.31 kB / 1.153 GB, free: 8.855 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.12e-05/1.614, allocations: 16.56 kB / 1.153 GB, free: 8.855 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004324/1.619, allocations: 0.7466 MB / 1.153 GB, free: 8.586 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.095e-05/1.619, allocations: 23.98 kB / 1.154 GB, free: 8.578 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005542/1.624, allocations: 0.63 MB / 1.154 GB, free: 8.309 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/1.624, allocations: 60.92 kB / 1.154 GB, free: 8.289 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (117): * Single equations (assignments): 115 * 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.0006418/1.625, allocations: 244.6 kB / 1.154 GB, free: 8.062 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/1.626, allocations: 215.3 kB / 1.155 GB, free: 7.941 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01523/1.641, allocations: 3.321 MB / 1.158 GB, free: 6.383 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.244e-05/1.641, allocations: 8.953 kB / 1.158 GB, free: 6.379 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/1.641, allocations: 0.7188 kB / 1.158 GB, free: 6.379 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01303/1.654, allocations: 3.072 MB / 1.161 GB, free: 4.879 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02049/1.675, allocations: 4.842 MB / 1.166 GB, free: 1.219 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/1.675, allocations: 3.25 kB / 1.166 GB, free: 1.219 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003682/1.679, allocations: 0.6396 MB / 1.166 GB, free: 0.582 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002806/1.679, allocations: 32.83 kB / 1.166 GB, free: 0.5469 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/1.679, allocations: 23.97 kB / 1.166 GB, free: 0.5234 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/1.681, allocations: 1.34 MB / 1.168 GB, free: 15.09 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.882e-05/1.681, allocations: 8.141 kB / 1.168 GB, free: 15.08 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02368/1.705, allocations: 4.906 MB / 1.172 GB, free: 10.15 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002284/1.707, allocations: 362.2 kB / 1.173 GB, free: 9.797 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/1.708, allocations: 16 kB / 1.173 GB, free: 9.781 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00503/1.713, allocations: 0.5611 MB / 1.173 GB, free: 9.223 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/1.713, allocations: 52.56 kB / 1.173 GB, free: 9.172 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/1.713, allocations: 35.95 kB / 1.173 GB, free: 9.137 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.004793/1.718, allocations: 1.357 MB / 1.175 GB, free: 7.766 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.1e-07/1.718, allocations: 3.938 kB / 1.175 GB, free: 7.762 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006753/1.725, allocations: 0.9511 MB / 1.176 GB, free: 6.809 MB / 1.01 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 (66): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.004226/1.729, allocations: 0.6908 MB / 1.176 GB, free: 6.301 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.02431/1.753, allocations: 4.909 MB / 1.181 GB, free: 1.371 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/1.753, allocations: 0 / 1.181 GB, free: 1.371 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008056/1.762, allocations: 1.646 MB / 1.183 GB, free: 15.72 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007644/1.769, allocations: 0.9821 MB / 1.184 GB, free: 14.76 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/1.787, allocations: 4.688 MB / 1.188 GB, free: 10.04 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002355/1.79, allocations: 0.9541 MB / 1.189 GB, free: 9.047 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.003989/1.794, allocations: 0.5361 MB / 1.19 GB, free: 8.508 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/1.795, allocations: 188.3 kB / 1.19 GB, free: 8.324 MB / 1.026 GB Notification: Performance of SimCode: time 1.633e-06/1.795, allocations: 0 / 1.19 GB, free: 8.324 MB / 1.026 GB Notification: Performance of Templates: time 0.09651/1.891, allocations: 41.69 MB / 1.231 GB, free: 15.57 MB / 1.073 GB " [Timeout remaining time 298] make -j1 -f Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 13.453789968974888]