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.002613/0.002613, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.002871/0.002871, allocations: 212.9 kB / 23.02 MB, free: 2.961 MB / 13.93 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.909/1.909, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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.543/3.543, allocations: 0.5045 GB / 0.8104 GB, free: 2.812 MB / 0.6511 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 0.003654/0.003654, allocations: 75.89 kB / 1.177 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432/1.436, allocations: 180 MB / 1.353 GB, free: 1.551 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.07303/1.509, allocations: 49.64 MB / 1.401 GB, free: 15.74 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.03604/1.545, allocations: 15.9 MB / 1.417 GB, free: 15.8 MB / 1.104 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005289/1.55, allocations: 123 kB / 1.417 GB, free: 15.68 MB / 1.104 GB Notification: Performance of NFTyping.typeComponents: time 0.008099/1.558, allocations: 1.949 MB / 1.419 GB, free: 13.73 MB / 1.104 GB Notification: Performance of NFTyping.typeBindings: time 0.01151/1.57, allocations: 2.678 MB / 1.422 GB, free: 11.04 MB / 1.104 GB Notification: Performance of NFTyping.typeClassSections: time 0.008658/1.579, allocations: 2.426 MB / 1.424 GB, free: 8.625 MB / 1.104 GB Notification: Performance of NFFlatten.flatten: time 0.01748/1.596, allocations: 7.45 MB / 1.431 GB, free: 1.16 MB / 1.104 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00472/1.601, allocations: 1.317 MB / 1.433 GB, free: 15.81 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009817/1.611, allocations: 2.495 MB / 1.435 GB, free: 13.31 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004233/1.615, allocations: 1.4 MB / 1.436 GB, free: 11.91 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 0.000543/1.615, allocations: 168 kB / 1.436 GB, free: 11.74 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00561/1.621, allocations: 1.724 MB / 1.438 GB, free: 10.02 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 0.001032/1.622, allocations: 0.6576 MB / 1.439 GB, free: 9.355 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 0.00193/1.624, allocations: 0.9443 MB / 1.44 GB, free: 8.406 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.009574/1.634, allocations: 3.872 MB / 1.443 GB, free: 4.52 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.634, allocations: 0 / 1.443 GB, free: 4.52 MB / 1.12 GB Notification: Performance of FrontEnd: time 3.687e-06/1.634, allocations: 0 / 1.443 GB, free: 4.52 MB / 1.12 GB Notification: Performance of Transformations before backend: time 7.956e-05/1.634, allocations: 4 kB / 1.444 GB, free: 4.516 MB / 1.12 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.007389/1.641, allocations: 2.935 MB / 1.446 GB, free: 1.516 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/1.641, allocations: 8.922 kB / 1.446 GB, free: 1.508 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02067/1.662, allocations: 3.178 MB / 1.449 GB, free: 14.32 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007353/1.669, allocations: 2.638 MB / 1.452 GB, free: 11.61 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/1.669, allocations: 94.16 kB / 1.452 GB, free: 11.51 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002653/1.669, allocations: 120 kB / 1.452 GB, free: 11.39 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009877/1.679, allocations: 2.632 MB / 1.455 GB, free: 8.629 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/1.679, allocations: 7.938 kB / 1.455 GB, free: 8.621 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/1.68, allocations: 51.94 kB / 1.455 GB, free: 8.57 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-05/1.68, allocations: 31.94 kB / 1.455 GB, free: 8.539 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/1.695, allocations: 3.243 MB / 1.458 GB, free: 5.285 MB / 1.135 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.02797/1.723, allocations: 8.492 MB / 1.466 GB, free: 12.41 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008944/1.732, allocations: 1.983 MB / 1.468 GB, free: 10.43 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007156/1.739, allocations: 1.501 MB / 1.47 GB, free: 8.922 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007468/1.747, allocations: 2.828 MB / 1.473 GB, free: 5.859 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007362/1.754, allocations: 1.704 MB / 1.474 GB, free: 4.113 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 5.32e-06/1.754, allocations: 0 / 1.474 GB, free: 4.113 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.02201/1.776, allocations: 4.399 MB / 1.479 GB, free: 15.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/1.776, allocations: 59.91 kB / 1.479 GB, free: 15.63 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004407/1.78, allocations: 2.132 MB / 1.481 GB, free: 13.47 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002573/1.781, allocations: 37.7 kB / 1.481 GB, free: 13.43 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001343/1.782, allocations: 1.035 MB / 1.482 GB, free: 12.38 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006562/1.783, allocations: 226.1 kB / 1.482 GB, free: 12.16 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007597/1.783, allocations: 314.7 kB / 1.482 GB, free: 11.85 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002522/1.784, allocations: 305.1 kB / 1.482 GB, free: 11.55 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007535/1.791, allocations: 1.69 MB / 1.484 GB, free: 9.844 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008086/1.799, allocations: 2.343 MB / 1.486 GB, free: 7.254 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01408/1.813, allocations: 3.401 MB / 1.49 GB, free: 3.676 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.109e-05/1.813, allocations: 4 kB / 1.49 GB, free: 3.672 MB / 1.167 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.01631/1.83, allocations: 3.896 MB / 1.494 GB, free: 15.75 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 7.867e-05/1.83, allocations: 37.7 kB / 1.494 GB, free: 15.71 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/1.83, allocations: 12 kB / 1.494 GB, free: 15.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.361e-05/1.83, allocations: 20 kB / 1.494 GB, free: 15.68 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004587/1.834, allocations: 0.7963 MB / 1.494 GB, free: 14.88 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.541e-05/1.835, allocations: 31.86 kB / 1.494 GB, free: 14.85 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006798/1.841, allocations: 0.678 MB / 1.495 GB, free: 14.18 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003441/1.842, allocations: 63.97 kB / 1.495 GB, free: 14.11 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01159/1.853, allocations: 2.109 MB / 1.497 GB, free: 12 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01106/1.864, allocations: 2.343 MB / 1.5 GB, free: 9.41 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01974/1.884, allocations: 3.397 MB / 1.503 GB, free: 5.84 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.434e-05/1.884, allocations: 0 / 1.503 GB, free: 5.84 MB / 1.182 GB Notification: Performance of matching and sorting (n=185) (initialization_lambda0): time 0.02224/1.906, allocations: 3.891 MB / 1.507 GB, free: 1.93 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 8.825e-05/1.906, allocations: 41.69 kB / 1.507 GB, free: 1.883 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.425e-05/1.906, allocations: 12 kB / 1.507 GB, free: 1.871 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.756e-05/1.907, allocations: 16 kB / 1.507 GB, free: 1.855 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006113/1.913, allocations: 0.8003 MB / 1.507 GB, free: 1.055 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-05/1.913, allocations: 27.92 kB / 1.508 GB, free: 1.027 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006479/1.919, allocations: 0.6393 MB / 1.508 GB, free: 396 kB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003727/1.92, allocations: 71.95 kB / 1.508 GB, free: 324 kB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (151): * Single equations (assignments): 148 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.000837/1.92, allocations: 263.8 kB / 1.508 GB, free: 52 kB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/1.922, allocations: 206.6 kB / 1.509 GB, free: 15.84 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0159/1.937, allocations: 3.293 MB / 1.512 GB, free: 12.54 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.594e-05/1.937, allocations: 15.94 kB / 1.512 GB, free: 12.52 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.135e-05/1.937, allocations: 3.938 kB / 1.512 GB, free: 12.52 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01414/1.952, allocations: 3.062 MB / 1.515 GB, free: 9.398 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02083/1.972, allocations: 4.86 MB / 1.52 GB, free: 4.414 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/1.972, allocations: 8.062 kB / 1.52 GB, free: 4.406 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004036/1.976, allocations: 0.6437 MB / 1.52 GB, free: 3.762 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002892/1.977, allocations: 36.84 kB / 1.52 GB, free: 3.723 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/1.977, allocations: 23.97 kB / 1.52 GB, free: 3.699 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/1.979, allocations: 1.347 MB / 1.522 GB, free: 2.246 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.979, allocations: 0 / 1.522 GB, free: 2.246 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02254/2.001, allocations: 4.915 MB / 1.526 GB, free: 13.3 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/2.003, allocations: 374.2 kB / 1.527 GB, free: 12.93 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007421/2.004, allocations: 12 kB / 1.527 GB, free: 12.92 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004588/2.008, allocations: 0.5502 MB / 1.527 GB, free: 12.37 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/2.009, allocations: 56.5 kB / 1.527 GB, free: 12.32 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/2.009, allocations: 35.95 kB / 1.527 GB, free: 12.28 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.004248/2.013, allocations: 1.396 MB / 1.529 GB, free: 10.87 MB / 1.214 GB Notification: Performance of sort global known variables: time 8e-08/2.013, allocations: 0 / 1.529 GB, free: 10.87 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.006141/2.019, allocations: 1.092 MB / 1.53 GB, free: 9.777 MB / 1.214 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.004843/2.024, allocations: 0.865 MB / 1.531 GB, free: 9.059 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.02392/2.048, allocations: 5.369 MB / 1.536 GB, free: 3.656 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/2.048, allocations: 0 / 1.536 GB, free: 3.656 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.00782/2.056, allocations: 1.646 MB / 1.538 GB, free: 1.992 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005435/2.061, allocations: 0.8712 MB / 1.538 GB, free: 1.145 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/2.078, allocations: 4.801 MB / 1.543 GB, free: 12.3 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002001/2.08, allocations: 0.9615 MB / 1.544 GB, free: 11.3 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.003374/2.083, allocations: 0.5622 MB / 1.545 GB, free: 10.73 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/2.084, allocations: 171.3 kB / 1.545 GB, free: 10.57 MB / 1.229 GB Notification: Performance of SimCode: time 1.573e-06/2.084, allocations: 0 / 1.545 GB, free: 10.57 MB / 1.229 GB Notification: Performance of Templates: time 0.09846/2.182, allocations: 44.81 MB / 1.588 GB, free: 14.53 MB / 1.276 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: 14.071572471410036]