Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.616/1.616, allocations: 287.4 MB / 303.2 MB, free: 8.328 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.0009228/0.0009228, allocations: 177.2 kB / 371.8 MB, free: 10.82 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.481/1.481, allocations: 205.4 MB / 0.6305 GB, free: 10.52 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.000775/0.0007751, allocations: 92.86 kB / 0.7438 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003812, allocations: 13.42 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1751, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.04204/0.2171, allocations: 49.17 MB / 1.027 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02299/0.2402, allocations: 16.63 MB / 1.044 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002423/0.2427, allocations: 67.56 kB / 1.044 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.0028/0.2455, allocations: 0.8036 MB / 1.044 GB, free: 9.363 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005174/0.2507, allocations: 1.87 MB / 1.046 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007264/0.2579, allocations: 2.728 MB / 1.049 GB, free: 4.781 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006029/0.264, allocations: 5.224 MB / 1.054 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002271/0.2663, allocations: 1.346 MB / 1.055 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002846/0.2691, allocations: 1.552 MB / 1.057 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.2707, allocations: 1.248 MB / 1.058 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.2708, allocations: 72 kB / 1.058 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003069/0.2739, allocations: 1.521 MB / 1.06 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004927/0.2744, allocations: 418.2 kB / 1.06 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005286/0.275, allocations: 404.6 kB / 1.06 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002945/0.2779, allocations: 2.502 MB / 1.063 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2779, allocations: 0 / 1.063 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.684e-06/0.278, allocations: 0 / 1.063 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.078e-05/0.278, allocations: 4 kB / 1.063 GB, free: 6.434 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.003619/0.2816, allocations: 2.221 MB / 1.065 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.2817, allocations: 8.031 kB / 1.065 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.2835, allocations: 489.1 kB / 1.065 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/0.2864, allocations: 1.645 MB / 1.067 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003664/0.2868, allocations: 158.2 kB / 1.067 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.287, allocations: 127.9 kB / 1.067 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.2894, allocations: 1.391 MB / 1.069 GB, free: 192 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.2895, allocations: 3.938 kB / 1.069 GB, free: 188 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.965e-05/0.2896, allocations: 48 kB / 1.069 GB, free: 140 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/0.2896, allocations: 28 kB / 1.069 GB, free: 112 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3569/0.6465, allocations: 1.124 MB / 1.07 GB, free: 89.46 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.008467/0.655, allocations: 7.01 MB / 1.077 GB, free: 84.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/0.6577, allocations: 1.435 MB / 1.078 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.6588, allocations: 434.1 kB / 1.079 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005779/0.6646, allocations: 3.084 MB / 1.082 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/0.6658, allocations: 467.7 kB / 1.082 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005154/0.6663, allocations: 88.73 kB / 1.082 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 3.717e-06/0.6664, allocations: 1.688 kB / 1.082 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.003369/0.6697, allocations: 1.288 MB / 1.083 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.6698, allocations: 142 kB / 1.083 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/0.6721, allocations: 1.582 MB / 1.085 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.615e-05/0.6721, allocations: 39.77 kB / 1.085 GB, free: 79.67 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006878/0.6728, allocations: 0.8843 MB / 1.086 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.673, allocations: 218.9 kB / 1.086 GB, free: 78.81 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.6731, allocations: 21.72 kB / 1.086 GB, free: 78.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.6732, allocations: 347.9 kB / 1.086 GB, free: 78.47 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.6742, allocations: 393.6 kB / 1.087 GB, free: 78.37 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.6754, allocations: 0.7997 MB / 1.088 GB, free: 77.74 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00204/0.6774, allocations: 1.155 MB / 1.089 GB, free: 76.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.6774, allocations: 3.062 kB / 1.089 GB, free: 76.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00271/0.6802, allocations: 1.335 MB / 1.09 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001875/0.6804, allocations: 436.8 kB / 1.09 GB, free: 75.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/0.6804, allocations: 13.27 kB / 1.09 GB, free: 75.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.08e-05/0.6804, allocations: 20.06 kB / 1.091 GB, free: 75.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.6815, allocations: 262.9 kB / 1.091 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.426e-05/0.6815, allocations: 25.78 kB / 1.091 GB, free: 75.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.6828, allocations: 138.4 kB / 1.091 GB, free: 75.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.737e-05/0.6829, allocations: 57.91 kB / 1.091 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.6829, allocations: 5.375 kB / 1.091 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002372/0.6853, allocations: 1.169 MB / 1.092 GB, free: 75.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.6853, allocations: 11.97 kB / 1.092 GB, free: 75.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.6853, allocations: 16.72 kB / 1.092 GB, free: 75.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009922/0.6863, allocations: 265.4 kB / 1.092 GB, free: 75.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/0.6864, allocations: 21.67 kB / 1.092 GB, free: 75.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.6875, allocations: 131.4 kB / 1.093 GB, free: 75.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-05/0.6876, allocations: 52.98 kB / 1.093 GB, free: 75.32 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 (122): * Single equations (assignments): 118 * 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.0007825/0.6883, allocations: 493 kB / 1.093 GB, free: 74.97 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.6885, allocations: 167.2 kB / 1.093 GB, free: 74.88 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/0.6912, allocations: 1.16 MB / 1.094 GB, free: 74.46 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002046/0.6932, allocations: 1.007 MB / 1.095 GB, free: 73.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6932, allocations: 4.641 kB / 1.095 GB, free: 73.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000474/0.6937, allocations: 339.5 kB / 1.096 GB, free: 73.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.6939, allocations: 17.48 kB / 1.096 GB, free: 73.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008554/0.6948, allocations: 106.3 kB / 1.096 GB, free: 73.67 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.6949, allocations: 55.28 kB / 1.096 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00271/0.6976, allocations: 1.106 MB / 1.097 GB, free: 73.25 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003055/0.7007, allocations: 1.669 MB / 1.099 GB, free: 72.5 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009151/0.7016, allocations: 446.2 kB / 1.099 GB, free: 72.35 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001379/0.703, allocations: 1.05 MB / 1.1 GB, free: 71.96 MB / 0.6823 GB Notification: Performance of Backend: time 3.7e-07/0.703, allocations: 0 / 1.1 GB, free: 71.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004897/0.7079, allocations: 2.259 MB / 1.102 GB, free: 71.19 MB / 0.6823 GB Notification: Performance of SimCode: time 0.005894/0.7139, allocations: 4.471 MB / 1.107 GB, free: 68.59 MB / 0.6823 GB Notification: Performance of Templates: time 0.04828/0.7621, allocations: 34.56 MB / 1.14 GB, free: 44.82 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)