Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.249/3.249, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002512/0.002512, allocations: 178.5 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.156/4.156, allocations: 205.4 MB / 0.5772 GB, free: 20.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001631/0.001631, allocations: 103.8 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008075/0.0008078, allocations: 14.34 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3447, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.202/2.546, allocations: 446.8 MB / 1.336 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005476/2.547, allocations: 106.3 kB / 1.336 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 10.54/13.09, allocations: 1.132 GB / 2.468 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 5.46e-06/13.09, allocations: 3.75 kB / 2.468 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0006736/13.09, allocations: 49.14 kB / 2.468 GB, free: 133.9 MB / 0.8855 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.01591/13.1, allocations: 2.571 MB / 2.47 GB, free: 133 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.065e-05/13.1, allocations: 11.53 kB / 2.47 GB, free: 133 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005576/13.11, allocations: 454.5 kB / 2.471 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01676/13.13, allocations: 2.224 MB / 2.473 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000325/13.13, allocations: 93.62 kB / 2.473 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001047/13.13, allocations: 122.1 kB / 2.473 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008488/13.14, allocations: 1.331 MB / 2.475 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/13.14, allocations: 3.938 kB / 2.475 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004698/13.14, allocations: 46.28 kB / 2.475 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/13.14, allocations: 28.5 kB / 2.475 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007254/13.14, allocations: 0.9665 MB / 2.476 GB, free: 132.2 MB / 0.8855 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.0248/13.17, allocations: 6.836 MB / 2.482 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005268/13.17, allocations: 1.264 MB / 2.483 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002247/13.18, allocations: 366 kB / 2.484 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01128/13.19, allocations: 2.877 MB / 2.487 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002308/13.19, allocations: 407.7 kB / 2.487 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001774/13.19, allocations: 90.52 kB / 2.487 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 1.106e-05/13.19, allocations: 0 / 2.487 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.007824/13.2, allocations: 1.197 MB / 2.488 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/13.2, allocations: 166 kB / 2.488 GB, free: 125 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005837/13.21, allocations: 1.51 MB / 2.49 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004227/13.21, allocations: 47.27 kB / 2.49 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001837/13.21, allocations: 0.8916 MB / 2.491 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005696/13.21, allocations: 214 kB / 2.491 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/13.21, allocations: 21.22 kB / 2.491 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001753/13.21, allocations: 344.7 kB / 2.491 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/13.21, allocations: 328.1 kB / 2.492 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002754/13.21, allocations: 0.7674 MB / 2.492 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002504/13.22, allocations: 451.5 kB / 2.493 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.323e-05/13.22, allocations: 3.938 kB / 2.493 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007114/13.22, allocations: 1.213 MB / 2.494 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005691/13.22, allocations: 456.2 kB / 2.494 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.619e-05/13.22, allocations: 14.92 kB / 2.494 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.598e-05/13.22, allocations: 19.38 kB / 2.495 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002734/13.23, allocations: 242.1 kB / 2.495 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.894e-05/13.23, allocations: 28.14 kB / 2.495 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004037/13.23, allocations: 119 kB / 2.495 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005527/13.23, allocations: 53.89 kB / 2.495 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/13.23, allocations: 3.875 kB / 2.495 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006076/13.24, allocations: 1.046 MB / 2.496 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.4e-05/13.24, allocations: 9.875 kB / 2.496 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.202e-05/13.24, allocations: 19.94 kB / 2.496 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/13.24, allocations: 245.3 kB / 2.496 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-05/13.24, allocations: 21.33 kB / 2.496 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003638/13.24, allocations: 107.1 kB / 2.496 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005201/13.25, allocations: 60.09 kB / 2.496 GB, free: 122.8 MB / 0.8855 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.00259/13.25, allocations: 498.1 kB / 2.497 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009459/13.25, allocations: 169.1 kB / 2.497 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006822/13.26, allocations: 1.125 MB / 2.498 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-05/13.26, allocations: 17.34 kB / 2.498 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/13.26, allocations: 0 / 2.498 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004507/13.26, allocations: 0.9715 MB / 2.499 GB, free: 121.9 MB / 0.8855 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.01161/13.27, allocations: 2.311 MB / 2.501 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/13.27, allocations: 0 / 2.501 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/13.27, allocations: 131.1 kB / 2.501 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005552/13.27, allocations: 27.59 kB / 2.502 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002667/13.28, allocations: 25.62 kB / 2.502 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/13.28, allocations: 1.295 MB / 2.503 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/13.28, allocations: 3.703 kB / 2.503 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008158/13.29, allocations: 1.513 MB / 2.504 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002075/13.29, allocations: 334.7 kB / 2.505 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/13.29, allocations: 20.83 kB / 2.505 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003337/13.29, allocations: 97.31 kB / 2.505 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004191/13.29, allocations: 56.64 kB / 2.505 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/13.29, allocations: 36.72 kB / 2.505 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004813/13.3, allocations: 1.067 MB / 2.506 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.052e-06/13.3, allocations: 3.75 kB / 2.506 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00956/13.31, allocations: 0.9859 MB / 2.507 GB, free: 119.3 MB / 0.8855 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.006498/13.31, allocations: 1.316 MB / 2.508 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008018/13.32, allocations: 1.538 MB / 2.51 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.781e-05/13.32, allocations: 0 / 2.51 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002675/13.32, allocations: 0.5056 MB / 2.51 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009772/13.33, allocations: 0.7359 MB / 2.511 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/13.35, allocations: 3.7 MB / 2.514 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0025/13.35, allocations: 1.364 MB / 2.516 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005083/13.36, allocations: 435.8 kB / 2.516 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/13.36, allocations: 139 kB / 2.516 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.874e-06/13.36, allocations: 0 / 2.516 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.1366/13.49, allocations: 35.27 MB / 2.551 GB, free: 114.7 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)