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.669/1.669, allocations: 288.4 MB / 304.3 MB, free: 8.094 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.001051/0.001051, allocations: 164.6 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.526/1.526, allocations: 205.4 MB / 0.6317 GB, free: 9.812 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.000805/0.0008048, allocations: 84.31 kB / 0.745 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004088, allocations: 12.56 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1933, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.916/1.109, allocations: 454.7 MB / 1.425 GB, free: 6.551 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/1.11, allocations: 105.1 kB / 1.425 GB, free: 6.496 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.04/5.149, allocations: 1.164 GB / 2.589 GB, free: 142.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.683e-06/5.149, allocations: 0 / 2.589 GB, free: 142.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002792/5.149, allocations: 56.61 kB / 2.589 GB, free: 142.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.006509/5.156, allocations: 2.548 MB / 2.592 GB, free: 141.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/5.156, allocations: 11.19 kB / 2.592 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/5.158, allocations: 459.3 kB / 2.592 GB, free: 141.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005644/5.164, allocations: 2.281 MB / 2.595 GB, free: 141.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.87e-05/5.164, allocations: 94.5 kB / 2.595 GB, free: 141.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/5.164, allocations: 127.6 kB / 2.595 GB, free: 141.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/5.167, allocations: 1.321 MB / 2.596 GB, free: 141 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/5.167, allocations: 11.59 kB / 2.596 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/5.167, allocations: 46.41 kB / 2.596 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.242e-05/5.167, allocations: 34.77 kB / 2.596 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/5.169, allocations: 0.9622 MB / 2.597 GB, free: 140.9 MB / 0.948 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/5.177, allocations: 6.857 MB / 2.604 GB, free: 136.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/5.179, allocations: 1.254 MB / 2.605 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007028/5.18, allocations: 371.4 kB / 2.605 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00401/5.184, allocations: 2.887 MB / 2.608 GB, free: 134.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007727/5.184, allocations: 404.3 kB / 2.609 GB, free: 134.3 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006376/5.185, allocations: 86.33 kB / 2.609 GB, free: 134.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.406e-06/5.185, allocations: 0 / 2.609 GB, free: 134.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.002528/5.188, allocations: 1.198 MB / 2.61 GB, free: 133.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/5.188, allocations: 161.9 kB / 2.61 GB, free: 133.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/5.19, allocations: 1.508 MB / 2.611 GB, free: 133.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.203e-05/5.19, allocations: 44.67 kB / 2.611 GB, free: 133.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006815/5.19, allocations: 0.8946 MB / 2.612 GB, free: 133.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/5.191, allocations: 221.2 kB / 2.613 GB, free: 133.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/5.191, allocations: 18.97 kB / 2.613 GB, free: 133.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.554e-05/5.191, allocations: 351 kB / 2.613 GB, free: 132.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006857/5.191, allocations: 323.7 kB / 2.613 GB, free: 132.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008573/5.192, allocations: 0.7742 MB / 2.614 GB, free: 132.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/5.194, allocations: 1.04 MB / 2.615 GB, free: 131.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/5.194, allocations: 3.75 kB / 2.615 GB, free: 131.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002266/5.196, allocations: 1.217 MB / 2.616 GB, free: 131.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002083/5.196, allocations: 449.6 kB / 2.617 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/5.196, allocations: 14.06 kB / 2.617 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/5.196, allocations: 14.38 kB / 2.617 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008802/5.197, allocations: 246.2 kB / 2.617 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.302e-05/5.197, allocations: 26.62 kB / 2.617 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/5.199, allocations: 122.4 kB / 2.617 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/5.199, allocations: 56.22 kB / 2.617 GB, free: 131.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/5.199, allocations: 3.969 kB / 2.617 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001803/5.201, allocations: 1.041 MB / 2.618 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/5.201, allocations: 11.34 kB / 2.618 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/5.201, allocations: 18.34 kB / 2.618 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008279/5.202, allocations: 239.1 kB / 2.618 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/5.202, allocations: 31.09 kB / 2.618 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/5.203, allocations: 112.5 kB / 2.618 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.292e-05/5.203, allocations: 59.61 kB / 2.619 GB, free: 131.1 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 () * Number of clocked 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.0009215/5.204, allocations: 491.5 kB / 2.619 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/5.204, allocations: 170.3 kB / 2.619 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/5.206, allocations: 1.125 MB / 2.62 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/5.206, allocations: 12.97 kB / 2.62 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/5.206, allocations: 3.5 kB / 2.62 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00143/5.208, allocations: 0.961 MB / 2.621 GB, free: 130.2 MB / 0.948 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.004055/5.212, allocations: 2.322 MB / 2.623 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/5.212, allocations: 7.031 kB / 2.623 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/5.212, allocations: 125.3 kB / 2.624 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001544/5.213, allocations: 25.83 kB / 2.624 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.301e-05/5.213, allocations: 27.05 kB / 2.624 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007526/5.213, allocations: 1.299 MB / 2.625 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/5.213, allocations: 3.562 kB / 2.625 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/5.216, allocations: 1.512 MB / 2.626 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006878/5.217, allocations: 338.6 kB / 2.627 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/5.217, allocations: 20.97 kB / 2.627 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008953/5.218, allocations: 97.64 kB / 2.627 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/5.218, allocations: 56.98 kB / 2.627 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/5.218, allocations: 33.31 kB / 2.627 GB, free: 127.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001604/5.22, allocations: 1.066 MB / 2.628 GB, free: 127.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.81e-07/5.22, allocations: 2.438 kB / 2.628 GB, free: 127.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003485/5.223, allocations: 0.9962 MB / 2.629 GB, free: 127.6 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) * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002692/5.226, allocations: 1.329 MB / 2.63 GB, free: 127.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003041/5.229, allocations: 1.544 MB / 2.632 GB, free: 127.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/5.229, allocations: 3.344 kB / 2.632 GB, free: 127.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009974/5.23, allocations: 0.4999 MB / 2.632 GB, free: 127 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003825/5.234, allocations: 0.7319 MB / 2.633 GB, free: 127 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005162/5.239, allocations: 3.693 MB / 2.637 GB, free: 125.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007447/5.24, allocations: 1.368 MB / 2.638 GB, free: 124.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001987/5.242, allocations: 430.7 kB / 2.638 GB, free: 124.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/5.242, allocations: 138.7 kB / 2.638 GB, free: 124.7 MB / 0.948 GB Notification: Performance of SimCode: time 9.11e-07/5.242, allocations: 2.844 kB / 2.638 GB, free: 124.7 MB / 0.948 GB Notification: Performance of Templates: time 0.05795/5.3, allocations: 35.94 MB / 2.674 GB, free: 123 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)