Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.853/2.853, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.002365/0.002365, allocations: 177.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001144/0.001144, allocations: 94.53 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000499/0.0004992, allocations: 12.16 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2509, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.06594/0.3169, allocations: 44.86 MB / 1.022 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03589/0.3528, allocations: 15.63 MB / 1.037 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003016/0.3559, allocations: 67.5 kB / 1.037 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004945/0.3609, allocations: 0.9577 MB / 1.038 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.3715, allocations: 2.323 MB / 1.041 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01345/0.385, allocations: 3.003 MB / 1.043 GB, free: 9.453 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007663/0.3926, allocations: 2.774 MB / 1.046 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003129/0.3958, allocations: 1.234 MB / 1.047 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004634/0.4005, allocations: 1.362 MB / 1.049 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.4031, allocations: 0.9176 MB / 1.05 GB, free: 3.125 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0005192/0.4037, allocations: 71.94 kB / 1.05 GB, free: 3.055 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005122/0.4088, allocations: 1.369 MB / 1.051 GB, free: 1.684 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.4099, allocations: 398.4 kB / 1.051 GB, free: 1.293 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0009286/0.4109, allocations: 408.6 kB / 1.052 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005856/0.4167, allocations: 2.439 MB / 1.054 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4168, allocations: 4 kB / 1.054 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.536e-06/0.4168, allocations: 0 / 1.054 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.333e-05/0.4169, allocations: 0 / 1.054 GB, free: 14.44 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.006672/0.4236, allocations: 2.225 MB / 1.056 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.4237, allocations: 12.03 kB / 1.056 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003811/0.4275, allocations: 496.9 kB / 1.057 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0051/0.4326, allocations: 1.528 MB / 1.058 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006965/0.4334, allocations: 162.1 kB / 1.058 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004385/0.4338, allocations: 120 kB / 1.059 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004705/0.4385, allocations: 1.376 MB / 1.06 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.426e-05/0.4387, allocations: 3.938 kB / 1.06 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.4389, allocations: 48 kB / 1.06 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.347e-05/0.4389, allocations: 32 kB / 1.06 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004993/0.4439, allocations: 1.121 MB / 1.061 GB, free: 7.105 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.6361/1.08, allocations: 7.144 MB / 1.068 GB, free: 87.54 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004807/1.085, allocations: 1.419 MB / 1.069 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007776/1.093, allocations: 3.086 MB / 1.072 GB, free: 84.85 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001892/1.095, allocations: 454.3 kB / 1.073 GB, free: 84.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009058/1.096, allocations: 92.41 kB / 1.073 GB, free: 84.69 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 5.981e-06/1.096, allocations: 0 / 1.073 GB, free: 84.69 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.006109/1.102, allocations: 1.278 MB / 1.074 GB, free: 84.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.376e-05/1.102, allocations: 143.9 kB / 1.074 GB, free: 84.13 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004042/1.106, allocations: 1.605 MB / 1.076 GB, free: 83.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002366/1.106, allocations: 43.11 kB / 1.076 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001069/1.107, allocations: 0.8887 MB / 1.077 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003608/1.108, allocations: 222.8 kB / 1.077 GB, free: 82.69 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/1.108, allocations: 18.5 kB / 1.077 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000112/1.108, allocations: 351.9 kB / 1.077 GB, free: 82.35 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/1.11, allocations: 392.1 kB / 1.078 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/1.112, allocations: 0.7834 MB / 1.079 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/1.114, allocations: 0.4994 MB / 1.079 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.042e-05/1.114, allocations: 2.906 kB / 1.079 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.005471/1.12, allocations: 1.33 MB / 1.08 GB, free: 80.94 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009849/1.121, allocations: 4.375 MB / 1.085 GB, free: 76.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.237e-05/1.121, allocations: 12.92 kB / 1.085 GB, free: 76.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.048e-05/1.121, allocations: 18 kB / 1.085 GB, free: 76.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/1.123, allocations: 271.8 kB / 1.085 GB, free: 76.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.507e-05/1.123, allocations: 22.06 kB / 1.085 GB, free: 76.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/1.126, allocations: 132.1 kB / 1.085 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003344/1.126, allocations: 54.83 kB / 1.085 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.126, allocations: 5.156 kB / 1.085 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005125/1.131, allocations: 1.169 MB / 1.086 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.624e-05/1.132, allocations: 12.45 kB / 1.086 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.372e-05/1.132, allocations: 19.05 kB / 1.086 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/1.134, allocations: 266.1 kB / 1.087 GB, free: 75.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.156e-05/1.134, allocations: 23.23 kB / 1.087 GB, free: 75.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/1.136, allocations: 129.8 kB / 1.087 GB, free: 75.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000276/1.137, allocations: 53.58 kB / 1.087 GB, free: 75.76 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 (123): * Single equations (assignments): 119 * 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.001372/1.138, allocations: 487.6 kB / 1.087 GB, free: 75.41 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005192/1.138, allocations: 168.6 kB / 1.087 GB, free: 75.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004805/1.143, allocations: 1.162 MB / 1.088 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/1.143, allocations: 11.42 kB / 1.088 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/1.143, allocations: 4.703 kB / 1.089 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003621/1.147, allocations: 0.996 MB / 1.089 GB, free: 74.41 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 postOpt removeSimpleEquations (simulation): time 0.00826/1.155, allocations: 2.48 MB / 1.092 GB, free: 73.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/1.155, allocations: 5.156 kB / 1.092 GB, free: 73.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/1.157, allocations: 151 kB / 1.092 GB, free: 73.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003215/1.157, allocations: 41.92 kB / 1.092 GB, free: 73.22 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/1.157, allocations: 25.11 kB / 1.092 GB, free: 73.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/1.159, allocations: 1.379 MB / 1.093 GB, free: 71.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/1.159, allocations: 5.312 kB / 1.093 GB, free: 71.85 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006237/1.165, allocations: 1.64 MB / 1.095 GB, free: 71.09 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/1.166, allocations: 364.1 kB / 1.095 GB, free: 70.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005684/1.167, allocations: 18.86 kB / 1.095 GB, free: 70.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002169/1.169, allocations: 116.2 kB / 1.096 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/1.17, allocations: 53.91 kB / 1.096 GB, free: 70.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.17, allocations: 30.2 kB / 1.096 GB, free: 70.79 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003087/1.173, allocations: 1.141 MB / 1.097 GB, free: 70.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.02e-07/1.173, allocations: 1 kB / 1.097 GB, free: 70.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005049/1.178, allocations: 0.9422 MB / 1.098 GB, free: 70.16 MB / 0.6823 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002621/1.181, allocations: 0.7619 MB / 1.098 GB, free: 69.95 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006434/1.187, allocations: 1.71 MB / 1.1 GB, free: 69.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.187, allocations: 1.031 kB / 1.1 GB, free: 69.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002198/1.189, allocations: 0.5665 MB / 1.101 GB, free: 69.05 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006153/1.195, allocations: 0.7562 MB / 1.101 GB, free: 68.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/1.206, allocations: 3.764 MB / 1.105 GB, free: 66.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/1.207, allocations: 1.406 MB / 1.106 GB, free: 65.97 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003396/1.211, allocations: 424.4 kB / 1.107 GB, free: 65.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009158/1.212, allocations: 147.9 kB / 1.107 GB, free: 65.84 MB / 0.6823 GB Notification: Performance of SimCode: time 1.413e-06/1.212, allocations: 1.062 kB / 1.107 GB, free: 65.84 MB / 0.6823 GB Notification: Performance of Templates: time 0.1197/1.331, allocations: 31.7 MB / 1.138 GB, free: 45.42 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)