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.654/1.654, allocations: 288.4 MB / 304.3 MB, free: 8.129 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.00107/0.00107, allocations: 182.8 kB / 372.9 MB, free: 10.15 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.38/1.38, allocations: 205.4 MB / 0.6316 GB, free: 9.816 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.0007347/0.0007347, allocations: 98.28 kB / 0.745 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004286/0.0004288, allocations: 17.48 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1955, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.04186/0.2374, allocations: 49.17 MB / 1.029 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02397/0.2615, allocations: 16.62 MB / 1.045 GB, free: 9.383 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003666/0.2652, allocations: 71.5 kB / 1.045 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003576/0.2688, allocations: 0.8672 MB / 1.046 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005978/0.2748, allocations: 1.985 MB / 1.048 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.008196/0.283, allocations: 2.759 MB / 1.051 GB, free: 3.719 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006936/0.2899, allocations: 5.227 MB / 1.056 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002773/0.2927, allocations: 1.342 MB / 1.057 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004058/0.2968, allocations: 1.602 MB / 1.059 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002688/0.2996, allocations: 1.256 MB / 1.06 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005268/0.3001, allocations: 68 kB / 1.06 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004764/0.3049, allocations: 1.754 MB / 1.062 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008162/0.3058, allocations: 422.2 kB / 1.062 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00221/0.308, allocations: 0.9032 MB / 1.063 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004422/0.3124, allocations: 2.549 MB / 1.065 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3125, allocations: 0 / 1.065 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.715e-06/0.3125, allocations: 0 / 1.065 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001128/0.3126, allocations: 0 / 1.065 GB, free: 4.52 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.004595/0.3172, allocations: 2.224 MB / 1.067 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.3173, allocations: 8.031 kB / 1.067 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/0.3195, allocations: 489.1 kB / 1.068 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.3226, allocations: 1.653 MB / 1.07 GB, free: 40 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3823/0.705, allocations: 149 kB / 1.07 GB, free: 89.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003981/0.7054, allocations: 124.6 kB / 1.07 GB, free: 89.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002821/0.7082, allocations: 1.399 MB / 1.071 GB, free: 89.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.7083, allocations: 2.031 kB / 1.071 GB, free: 89.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.472e-05/0.7084, allocations: 48.38 kB / 1.071 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/0.7084, allocations: 28.94 kB / 1.071 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/0.7109, allocations: 1.124 MB / 1.072 GB, free: 89.03 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.008198/0.7192, allocations: 7.004 MB / 1.079 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.7216, allocations: 1.437 MB / 1.081 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.7227, allocations: 437.1 kB / 1.081 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004339/0.727, allocations: 3.084 MB / 1.084 GB, free: 80.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.7281, allocations: 471.8 kB / 1.084 GB, free: 80.44 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004149/0.7285, allocations: 89.47 kB / 1.085 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 2.424e-06/0.7285, allocations: 0 / 1.085 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.003162/0.7317, allocations: 1.296 MB / 1.086 GB, free: 79.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.7318, allocations: 143.7 kB / 1.086 GB, free: 79.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.734, allocations: 1.57 MB / 1.087 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.239e-05/0.7341, allocations: 46.03 kB / 1.088 GB, free: 79.12 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005728/0.7346, allocations: 0.886 MB / 1.088 GB, free: 78.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.7348, allocations: 216.8 kB / 1.089 GB, free: 78.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.7349, allocations: 20.41 kB / 1.089 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.781e-05/0.7349, allocations: 343.6 kB / 1.089 GB, free: 77.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.736, allocations: 395.1 kB / 1.089 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.7371, allocations: 0.801 MB / 1.09 GB, free: 77.19 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001963/0.7391, allocations: 1.151 MB / 1.091 GB, free: 76.42 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.7391, allocations: 2.719 kB / 1.091 GB, free: 76.42 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002729/0.7418, allocations: 1.34 MB / 1.093 GB, free: 75.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.742, allocations: 443.7 kB / 1.093 GB, free: 75.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.742, allocations: 12.97 kB / 1.093 GB, free: 75.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.7421, allocations: 15.52 kB / 1.093 GB, free: 75.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.7431, allocations: 267 kB / 1.093 GB, free: 75.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.361e-05/0.7431, allocations: 22.42 kB / 1.093 GB, free: 75.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.7444, allocations: 130.2 kB / 1.093 GB, free: 75.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.7445, allocations: 57.56 kB / 1.093 GB, free: 75.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.7446, allocations: 7.312 kB / 1.093 GB, free: 75.26 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00235/0.7469, allocations: 1.166 MB / 1.095 GB, free: 74.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.747, allocations: 16.22 kB / 1.095 GB, free: 74.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.747, allocations: 17.39 kB / 1.095 GB, free: 74.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.748, allocations: 265.1 kB / 1.095 GB, free: 74.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/0.748, allocations: 22.55 kB / 1.095 GB, free: 74.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.7493, allocations: 134.9 kB / 1.095 GB, free: 74.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.83e-05/0.7494, allocations: 49.17 kB / 1.095 GB, free: 74.75 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.0007899/0.7502, allocations: 491.5 kB / 1.096 GB, free: 74.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.7503, allocations: 168.8 kB / 1.096 GB, free: 74.31 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.7529, allocations: 1.161 MB / 1.097 GB, free: 73.89 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00178/0.7547, allocations: 1.007 MB / 1.098 GB, free: 73.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.7547, allocations: 1 kB / 1.098 GB, free: 73.38 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000548/0.7552, allocations: 342.8 kB / 1.098 GB, free: 73.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/0.7554, allocations: 17.56 kB / 1.098 GB, free: 73.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009031/0.7563, allocations: 106.3 kB / 1.098 GB, free: 73.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.7565, allocations: 50.09 kB / 1.098 GB, free: 73.1 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002772/0.7593, allocations: 1.111 MB / 1.099 GB, free: 72.69 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003171/0.7625, allocations: 1.67 MB / 1.101 GB, free: 71.94 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009581/0.7634, allocations: 442.3 kB / 1.101 GB, free: 71.79 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001607/0.7651, allocations: 1.047 MB / 1.102 GB, free: 71.4 MB / 0.6823 GB Notification: Performance of Backend: time 5.61e-07/0.7651, allocations: 4 kB / 1.102 GB, free: 71.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005346/0.7704, allocations: 2.291 MB / 1.105 GB, free: 70.61 MB / 0.6823 GB Notification: Performance of SimCode: time 0.006296/0.7767, allocations: 4.47 MB / 1.109 GB, free: 67.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.0504/0.8272, allocations: 34.92 MB / 1.143 GB, free: 42.05 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)