Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.678/1.678, allocations: 288.3 MB / 303.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 194.6 kB / 371.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009656/0.0009654, allocations: 101.2 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004355, allocations: 11.56 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2456, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.0573/0.303, allocations: 44.86 MB / 1.023 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03561/0.3387, allocations: 15.61 MB / 1.038 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004074/0.3428, allocations: 67.5 kB / 1.039 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004692/0.3475, allocations: 0.9714 MB / 1.039 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.3589, allocations: 2.324 MB / 1.042 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01343/0.3723, allocations: 2.995 MB / 1.045 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.008583/0.3809, allocations: 2.772 MB / 1.047 GB, free: 5.973 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00335/0.3843, allocations: 1.238 MB / 1.049 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004341/0.3887, allocations: 1.37 MB / 1.05 GB, free: 3.332 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002328/0.391, allocations: 0.9176 MB / 1.051 GB, free: 2.41 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003036/0.3914, allocations: 68 kB / 1.051 GB, free: 2.344 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004634/0.396, allocations: 1.369 MB / 1.052 GB, free: 0.9727 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0007034/0.3968, allocations: 398.4 kB / 1.053 GB, free: 0.582 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0009386/0.3977, allocations: 404.6 kB / 1.053 GB, free: 184 kB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005169/0.4029, allocations: 2.439 MB / 1.055 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.4029, allocations: 0 / 1.055 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4029, allocations: 0 / 1.055 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.484e-05/0.403, allocations: 4 kB / 1.055 GB, free: 13.73 MB / 0.6823 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.005989/0.409, allocations: 2.229 MB / 1.058 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.4091, allocations: 8.031 kB / 1.058 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/0.4122, allocations: 492.9 kB / 1.058 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004444/0.4166, allocations: 1.536 MB / 1.06 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005782/0.4172, allocations: 154.1 kB / 1.06 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003139/0.4176, allocations: 124 kB / 1.06 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004173/0.4218, allocations: 1.372 MB / 1.061 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/0.4218, allocations: 3.938 kB / 1.061 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/0.422, allocations: 48 kB / 1.061 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-05/0.4221, allocations: 32 kB / 1.061 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004143/0.4262, allocations: 1.121 MB / 1.062 GB, free: 6.398 MB / 0.6823 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.5511/0.9774, allocations: 7.139 MB / 1.069 GB, free: 86.26 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.9806, allocations: 1.419 MB / 1.071 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005391/0.986, allocations: 3.085 MB / 1.074 GB, free: 83.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/0.9872, allocations: 454.4 kB / 1.074 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006125/0.9878, allocations: 93.3 kB / 1.074 GB, free: 83.31 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 4.419e-06/0.9879, allocations: 1.078 kB / 1.074 GB, free: 83.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.003542/0.9914, allocations: 1.283 MB / 1.075 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.9915, allocations: 137.1 kB / 1.076 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00281/0.9943, allocations: 1.602 MB / 1.077 GB, free: 82.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.954e-05/0.9944, allocations: 45.09 kB / 1.077 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008582/0.9953, allocations: 0.8918 MB / 1.078 GB, free: 81.47 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000234/0.9955, allocations: 216.8 kB / 1.078 GB, free: 81.31 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.9956, allocations: 19.78 kB / 1.078 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.9957, allocations: 347 kB / 1.079 GB, free: 80.97 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.9968, allocations: 392.4 kB / 1.079 GB, free: 80.87 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.9983, allocations: 0.7895 MB / 1.08 GB, free: 80.25 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.9995, allocations: 0.4951 MB / 1.08 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.9996, allocations: 3.469 kB / 1.08 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003666/1.003, allocations: 1.342 MB / 1.082 GB, free: 79.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001102/1.004, allocations: 4.365 MB / 1.086 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.487e-05/1.004, allocations: 12.19 kB / 1.086 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.882e-05/1.004, allocations: 17.88 kB / 1.086 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/1.006, allocations: 269.5 kB / 1.086 GB, free: 74.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.202e-05/1.006, allocations: 22.95 kB / 1.086 GB, free: 74.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/1.007, allocations: 139.8 kB / 1.086 GB, free: 74.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/1.008, allocations: 57.92 kB / 1.086 GB, free: 74.85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/1.008, allocations: 3.688 kB / 1.086 GB, free: 74.85 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002855/1.01, allocations: 1.164 MB / 1.087 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/1.01, allocations: 16.84 kB / 1.087 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.259e-05/1.01, allocations: 18.78 kB / 1.088 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/1.012, allocations: 266.7 kB / 1.088 GB, free: 74.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-05/1.012, allocations: 29.67 kB / 1.088 GB, free: 74.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/1.013, allocations: 126.2 kB / 1.088 GB, free: 74.37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/1.013, allocations: 58 kB / 1.088 GB, free: 74.36 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001072/1.014, allocations: 485 kB / 1.088 GB, free: 74.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/1.015, allocations: 168.9 kB / 1.089 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/1.018, allocations: 1.168 MB / 1.09 GB, free: 73.51 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/1.018, allocations: 7.953 kB / 1.09 GB, free: 73.51 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.018, allocations: 1.219 kB / 1.09 GB, free: 73.51 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002064/1.02, allocations: 0.9955 MB / 1.091 GB, free: 73 MB / 0.6823 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 postOpt removeSimpleEquations (simulation): time 0.005115/1.025, allocations: 2.477 MB / 1.093 GB, free: 71.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/1.025, allocations: 1.625 kB / 1.093 GB, free: 71.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007876/1.026, allocations: 152 kB / 1.093 GB, free: 71.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002206/1.026, allocations: 36.31 kB / 1.093 GB, free: 71.83 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/1.026, allocations: 28.73 kB / 1.093 GB, free: 71.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/1.027, allocations: 1.375 MB / 1.095 GB, free: 70.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.027, allocations: 5.609 kB / 1.095 GB, free: 70.45 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/1.03, allocations: 1.638 MB / 1.096 GB, free: 69.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008572/1.031, allocations: 368.7 kB / 1.097 GB, free: 69.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/1.032, allocations: 18.39 kB / 1.097 GB, free: 69.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/1.033, allocations: 116.7 kB / 1.097 GB, free: 69.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/1.033, allocations: 59.11 kB / 1.097 GB, free: 69.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.04e-05/1.033, allocations: 28.53 kB / 1.097 GB, free: 69.39 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001876/1.035, allocations: 1.142 MB / 1.098 GB, free: 68.92 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/1.035, allocations: 1.531 kB / 1.098 GB, free: 68.92 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003386/1.038, allocations: 0.9388 MB / 1.099 GB, free: 68.77 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],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 (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001985/1.04, allocations: 0.7674 MB / 1.1 GB, free: 68.54 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004254/1.044, allocations: 1.709 MB / 1.101 GB, free: 67.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.044, allocations: 3.938 kB / 1.101 GB, free: 67.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001343/1.046, allocations: 0.5674 MB / 1.102 GB, free: 67.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003633/1.049, allocations: 0.7345 MB / 1.103 GB, free: 67.45 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00618/1.056, allocations: 3.766 MB / 1.106 GB, free: 65.36 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009987/1.057, allocations: 1.408 MB / 1.108 GB, free: 64.58 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002176/1.059, allocations: 437.6 kB / 1.108 GB, free: 64.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000401/1.059, allocations: 142 kB / 1.108 GB, free: 64.43 MB / 0.6823 GB Notification: Performance of SimCode: time 9.62e-07/1.059, allocations: 0 / 1.108 GB, free: 64.43 MB / 0.6823 GB Notification: Performance of Templates: time 0.05461/1.114, allocations: 31.7 MB / 1.139 GB, free: 43.18 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)