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.697/1.697, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001525/0.001525, allocations: 188.8 kB / 361.4 MB, free: 6.797 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.731/1.731, allocations: 205.2 MB / 0.62 GB, free: 11.61 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009115/0.0009114, allocations: 86.66 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.141e-05/2.142e-05, allocations: 4 kB / 0.8517 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7932/0.7933, allocations: 115.3 MB / 0.9644 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.271/2.064, allocations: 453.8 MB / 1.408 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/2.065, allocations: 91.58 kB / 1.408 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.262/6.326, allocations: 1.162 GB / 2.569 GB, free: 118.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.474e-06/6.326, allocations: 0 / 2.569 GB, free: 118.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002508/6.327, allocations: 53.72 kB / 2.569 GB, free: 118.7 MB / 0.948 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.00603/6.333, allocations: 2.076 MB / 2.571 GB, free: 116.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/6.333, allocations: 15.56 kB / 2.571 GB, free: 116.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002505/6.335, allocations: 455.9 kB / 2.572 GB, free: 116.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005729/6.341, allocations: 2.306 MB / 2.574 GB, free: 113.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/6.341, allocations: 36 kB / 2.574 GB, free: 113.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/6.341, allocations: 72 kB / 2.574 GB, free: 113.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001437/6.343, allocations: 0.7737 MB / 2.575 GB, free: 112.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/6.344, allocations: 1.105 MB / 2.576 GB, free: 111.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/6.344, allocations: 3.953 kB / 2.576 GB, free: 111.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.516e-05/6.345, allocations: 6.219 kB / 2.576 GB, free: 111.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/6.345, allocations: 28 kB / 2.576 GB, free: 111.7 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.007577/6.352, allocations: 6.678 MB / 2.583 GB, free: 104.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/6.353, allocations: 1.139 MB / 2.584 GB, free: 103.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003895/6.354, allocations: 301.1 kB / 2.584 GB, free: 103 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003956/6.358, allocations: 2.877 MB / 2.587 GB, free: 99.85 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004341/6.358, allocations: 337 kB / 2.587 GB, free: 99.51 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005528/6.359, allocations: 70.09 kB / 2.587 GB, free: 99.44 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.266e-06/6.359, allocations: 0 / 2.587 GB, free: 99.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.004929/6.364, allocations: 1.298 MB / 2.588 GB, free: 98.17 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/6.364, allocations: 162.8 kB / 2.589 GB, free: 97.97 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/6.365, allocations: 1.247 MB / 2.59 GB, free: 96.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.382e-05/6.365, allocations: 29.7 kB / 2.59 GB, free: 96.69 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000621/6.366, allocations: 0.8878 MB / 2.591 GB, free: 95.79 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/6.366, allocations: 205 kB / 2.591 GB, free: 95.59 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/6.366, allocations: 0 / 2.591 GB, free: 95.59 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001088/6.366, allocations: 344.8 kB / 2.591 GB, free: 95.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/6.367, allocations: 263.6 kB / 2.592 GB, free: 94.99 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/6.367, allocations: 0.6867 MB / 2.592 GB, free: 94.11 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004241/6.371, allocations: 0.999 MB / 2.593 GB, free: 93.17 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-06/6.371, allocations: 7 kB / 2.593 GB, free: 93.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0054/6.377, allocations: 1.629 MB / 2.595 GB, free: 91.53 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007862/6.378, allocations: 4.541 MB / 2.599 GB, free: 86.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/6.378, allocations: 12 kB / 2.599 GB, free: 86.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.411e-05/6.378, allocations: 20 kB / 2.599 GB, free: 86.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008889/6.379, allocations: 247.6 kB / 2.599 GB, free: 86.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/6.379, allocations: 27.88 kB / 2.599 GB, free: 86.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/6.38, allocations: 103.7 kB / 2.6 GB, free: 86.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/6.38, allocations: 51.98 kB / 2.6 GB, free: 86.15 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/6.38, allocations: 4.781 kB / 2.6 GB, free: 86.14 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00482/6.385, allocations: 1.423 MB / 2.601 GB, free: 84.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/6.385, allocations: 15.98 kB / 2.601 GB, free: 84.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/6.385, allocations: 16 kB / 2.601 GB, free: 84.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008274/6.386, allocations: 248.2 kB / 2.601 GB, free: 84.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/6.386, allocations: 23.92 kB / 2.601 GB, free: 84.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/6.388, allocations: 83.86 kB / 2.601 GB, free: 84.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/6.388, allocations: 59.92 kB / 2.601 GB, free: 84.29 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * 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.0002839/6.388, allocations: 145.3 kB / 2.602 GB, free: 84.14 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/6.388, allocations: 173.8 kB / 2.602 GB, free: 83.96 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005196/6.393, allocations: 1.492 MB / 2.603 GB, free: 82.47 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/6.393, allocations: 11.98 kB / 2.603 GB, free: 82.46 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/6.393, allocations: 0 / 2.603 GB, free: 82.46 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004184/6.398, allocations: 1.341 MB / 2.605 GB, free: 81.07 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.006928/6.405, allocations: 2.561 MB / 2.607 GB, free: 78.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/6.405, allocations: 0 / 2.607 GB, free: 78.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006301/6.405, allocations: 139.8 kB / 2.607 GB, free: 78.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001772/6.405, allocations: 32.8 kB / 2.607 GB, free: 78.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/6.406, allocations: 11.98 kB / 2.607 GB, free: 78.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007326/6.406, allocations: 1.272 MB / 2.608 GB, free: 76.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/6.406, allocations: 7.969 kB / 2.608 GB, free: 76.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005369/6.412, allocations: 1.869 MB / 2.61 GB, free: 75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007604/6.412, allocations: 326.9 kB / 2.611 GB, free: 74.66 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/6.413, allocations: 7.984 kB / 2.611 GB, free: 74.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008553/6.414, allocations: 75.86 kB / 2.611 GB, free: 74.57 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/6.414, allocations: 56.42 kB / 2.611 GB, free: 74.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.358e-05/6.414, allocations: 27.98 kB / 2.611 GB, free: 74.49 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001293/6.415, allocations: 0.9312 MB / 2.612 GB, free: 73.57 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.6e-07/6.415, allocations: 0 / 2.612 GB, free: 73.57 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00367/6.419, allocations: 0.9976 MB / 2.613 GB, free: 72.57 MB / 0.948 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) * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002314/6.421, allocations: 1.261 MB / 2.614 GB, free: 71.52 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001832/6.423, allocations: 1.361 MB / 2.615 GB, free: 70.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/6.423, allocations: 0 / 2.615 GB, free: 70.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000559/6.424, allocations: 438 kB / 2.616 GB, free: 69.69 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002872/6.426, allocations: 0.6326 MB / 2.616 GB, free: 69.08 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/6.43, allocations: 2.286 MB / 2.618 GB, free: 66.77 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007694/6.431, allocations: 1.41 MB / 2.62 GB, free: 65.33 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002374/6.433, allocations: 0.5894 MB / 2.62 GB, free: 64.79 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/6.434, allocations: 103.4 kB / 2.621 GB, free: 64.69 MB / 0.948 GB Notification: Performance of SimCode: time 7.11e-07/6.434, allocations: 0 / 2.621 GB, free: 64.69 MB / 0.948 GB Notification: Performance of Templates: time 0.04706/6.481, allocations: 32.85 MB / 2.653 GB, free: 32.35 MB / 0.948 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)