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 2.25/2.25, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001445/0.001444, allocations: 179.2 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.612/2.612, allocations: 205.4 MB / 0.5772 GB, free: 21.19 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.000946/0.0009459, allocations: 93.88 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006445/0.0006447, allocations: 13.56 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.252, allocations: 106.3 MB / 0.8995 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.06662/0.3187, allocations: 49.17 MB / 0.9475 GB, free: 16.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03041/0.3491, allocations: 16.6 MB / 0.9637 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003087/0.3523, allocations: 71.5 kB / 0.9638 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004127/0.3565, allocations: 0.7987 MB / 0.9646 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008235/0.3647, allocations: 1.882 MB / 0.9664 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01176/0.3765, allocations: 2.707 MB / 0.969 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01027/0.3868, allocations: 5.209 MB / 0.9741 GB, free: 5.398 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003693/0.3905, allocations: 1.323 MB / 0.9754 GB, free: 4.047 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005187/0.3958, allocations: 1.528 MB / 0.9769 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003427/0.3993, allocations: 1.26 MB / 0.9782 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0007287/0.4001, allocations: 68 kB / 0.9782 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005804/0.4059, allocations: 1.505 MB / 0.9797 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.4072, allocations: 414.3 kB / 0.9801 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.4083, allocations: 412.6 kB / 0.9805 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005744/0.4141, allocations: 2.482 MB / 0.9829 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.4142, allocations: 0 / 0.9829 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4142, allocations: 0 / 0.9829 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.267e-05/0.4143, allocations: 0 / 0.9829 GB, free: 12.37 MB / 0.6355 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.007143/0.4215, allocations: 2.237 MB / 0.9851 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.4215, allocations: 8.031 kB / 0.9851 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003938/0.4255, allocations: 497.6 kB / 0.9856 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005495/0.431, allocations: 1.573 MB / 0.9871 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007567/0.4318, allocations: 154.2 kB / 0.9872 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000455/0.4323, allocations: 127.9 kB / 0.9874 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004921/0.4373, allocations: 1.387 MB / 0.9887 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.453e-05/0.4374, allocations: 3.938 kB / 0.9887 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/0.4376, allocations: 52 kB / 0.9888 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.085e-05/0.4377, allocations: 28 kB / 0.9888 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005403/0.4431, allocations: 1.132 MB / 0.9899 GB, free: 4.961 MB / 0.6355 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.01685/0.46, allocations: 7.014 MB / 0.9968 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004826/0.4649, allocations: 1.431 MB / 0.9982 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/0.4669, allocations: 442.3 kB / 0.9986 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008065/0.475, allocations: 3.075 MB / 1.002 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001925/0.477, allocations: 470.8 kB / 1.002 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008951/0.4779, allocations: 79.34 kB / 1.002 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=60): time 6.002e-06/0.478, allocations: 0 / 1.002 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60): time 0.006348/0.4843, allocations: 1.299 MB / 1.003 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.331e-05/0.4845, allocations: 137.1 kB / 1.004 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003729/0.4882, allocations: 1.566 MB / 1.005 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002385/0.4885, allocations: 45.7 kB / 1.005 GB, free: 4.352 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.4898, allocations: 0.8919 MB / 1.006 GB, free: 3.449 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004039/0.4903, allocations: 220.9 kB / 1.006 GB, free: 3.23 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.51e-05/0.4904, allocations: 20 kB / 1.006 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.4906, allocations: 345.9 kB / 1.007 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/0.4925, allocations: 393.8 kB / 1.007 GB, free: 2.484 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002449/0.495, allocations: 0.7891 MB / 1.008 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002176/0.4973, allocations: 0.4966 MB / 1.008 GB, free: 1.008 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.775e-05/0.4973, allocations: 4 kB / 1.008 GB, free: 1.004 MB / 0.6511 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.005313/0.5027, allocations: 1.333 MB / 1.009 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004152/0.5031, allocations: 444.9 kB / 1.01 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-05/0.5032, allocations: 12 kB / 1.01 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.851e-05/0.5032, allocations: 16 kB / 1.01 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/0.5053, allocations: 267.6 kB / 1.01 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-05/0.5053, allocations: 27.86 kB / 1.01 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/0.5076, allocations: 136.4 kB / 1.01 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/0.5079, allocations: 51.98 kB / 1.01 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.5079, allocations: 8 kB / 1.01 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004505/0.5124, allocations: 1.161 MB / 1.012 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.468e-05/0.5125, allocations: 12 kB / 1.012 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/0.5126, allocations: 16 kB / 1.012 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/0.5145, allocations: 264.2 kB / 1.012 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.214e-05/0.5146, allocations: 23.92 kB / 1.012 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/0.5167, allocations: 124.5 kB / 1.012 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.5169, allocations: 59.97 kB / 1.012 GB, free: 12.9 MB / 0.6667 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 (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.001146/0.5181, allocations: 488.6 kB / 1.012 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003937/0.5185, allocations: 165.9 kB / 1.013 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004643/0.5232, allocations: 1.167 MB / 1.014 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003566/0.5268, allocations: 1.009 MB / 1.015 GB, free: 10 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.5268, allocations: 0 / 1.015 GB, free: 10 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.5279, allocations: 330.8 kB / 1.015 GB, free: 9.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/0.5282, allocations: 16 kB / 1.015 GB, free: 9.645 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/0.5299, allocations: 107.7 kB / 1.015 GB, free: 9.539 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.5301, allocations: 56.52 kB / 1.015 GB, free: 9.484 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00512/0.5352, allocations: 1.107 MB / 1.016 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006008/0.5413, allocations: 1.678 MB / 1.018 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001691/0.543, allocations: 433 kB / 1.018 GB, free: 6.25 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002394/0.5454, allocations: 1.053 MB / 1.019 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of Backend: time 8.02e-07/0.5455, allocations: 3.938 kB / 1.019 GB, free: 5.203 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.008556/0.554, allocations: 2.243 MB / 1.022 GB, free: 3.094 MB / 0.6667 GB Notification: Performance of SimCode: time 0.01151/0.5656, allocations: 4.479 MB / 1.026 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of Templates: time 0.7012/1.267, allocations: 34.22 MB / 1.059 GB, free: 147.7 MB / 0.698 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)