Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_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.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.635/1.635, 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.000999/0.0009991, allocations: 172.5 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.597/1.597, allocations: 205.4 MB / 0.6317 GB, free: 9.887 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.0008794/0.0008794, allocations: 102.3 kB / 0.7451 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004005, allocations: 16.94 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2138, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.654/4.868, allocations: 2.128 GB / 3.109 GB, free: 177.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/4.868, allocations: 99.95 kB / 3.109 GB, free: 177.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.122/11.99, allocations: 2.048 GB / 5.157 GB, free: 137.1 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.555e-06/11.99, allocations: 0 / 5.157 GB, free: 137.1 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003019/11.99, allocations: 63.61 kB / 5.157 GB, free: 137.1 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.009438/12, allocations: 2.93 MB / 5.159 GB, free: 136.3 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/12, allocations: 11.31 kB / 5.159 GB, free: 136.3 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005408/12, allocations: 0.7747 MB / 5.16 GB, free: 136.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006154/12.01, allocations: 2.268 MB / 5.162 GB, free: 135.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/12.01, allocations: 110.6 kB / 5.163 GB, free: 135.7 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003299/12.01, allocations: 148.7 kB / 5.163 GB, free: 135.7 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/12.01, allocations: 1.606 MB / 5.164 GB, free: 135.4 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/12.01, allocations: 3.219 kB / 5.164 GB, free: 135.4 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/12.02, allocations: 58.16 kB / 5.164 GB, free: 135.4 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.384e-05/12.02, allocations: 48.89 kB / 5.164 GB, free: 135.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002952/12.02, allocations: 1.277 MB / 5.166 GB, free: 135.4 MB / 0.9948 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.0111/12.03, allocations: 7.446 MB / 5.173 GB, free: 131.5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/12.03, allocations: 1.504 MB / 5.174 GB, free: 130.9 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/12.03, allocations: 481.3 kB / 5.175 GB, free: 130.8 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/12.03, allocations: 0.7488 MB / 5.176 GB, free: 130.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/12.03, allocations: 0.5235 MB / 5.176 GB, free: 130 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001304/12.04, allocations: 125.8 kB / 5.176 GB, free: 130 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=84): time 9.057e-06/12.04, allocations: 1.375 kB / 5.176 GB, free: 130 MB / 0.9948 GB Notification: Performance of matching and sorting (n=84): time 0.004381/12.04, allocations: 1.499 MB / 5.178 GB, free: 129.7 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/12.04, allocations: 173.4 kB / 5.178 GB, free: 129.6 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003969/12.04, allocations: 1.565 MB / 5.179 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002269/12.04, allocations: 50.11 kB / 5.179 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001219/12.05, allocations: 0.9305 MB / 5.18 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003906/12.05, allocations: 296 kB / 5.181 GB, free: 128.9 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/12.05, allocations: 22.84 kB / 5.181 GB, free: 128.9 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001184/12.05, allocations: 348.1 kB / 5.181 GB, free: 128.6 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/12.05, allocations: 409 kB / 5.181 GB, free: 128.6 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/12.05, allocations: 0.8024 MB / 5.182 GB, free: 128.1 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002148/12.05, allocations: 1.162 MB / 5.183 GB, free: 127.8 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/12.05, allocations: 5.188 kB / 5.183 GB, free: 127.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003287/12.05, allocations: 1.369 MB / 5.185 GB, free: 127.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002371/12.05, allocations: 385.8 kB / 5.185 GB, free: 127.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.684e-05/12.05, allocations: 13.05 kB / 5.185 GB, free: 127.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.737e-05/12.05, allocations: 14.22 kB / 5.185 GB, free: 127.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/12.06, allocations: 266.5 kB / 5.185 GB, free: 127.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-05/12.06, allocations: 16.22 kB / 5.185 GB, free: 127.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/12.06, allocations: 146.3 kB / 5.185 GB, free: 127.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/12.06, allocations: 56.91 kB / 5.185 GB, free: 127.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/12.06, allocations: 4.031 kB / 5.185 GB, free: 127.2 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002288/12.06, allocations: 1.19 MB / 5.187 GB, free: 127.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-05/12.06, allocations: 12.36 kB / 5.187 GB, free: 127.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/12.06, allocations: 14.88 kB / 5.187 GB, free: 127.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009782/12.06, allocations: 263.6 kB / 5.187 GB, free: 127.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.238e-05/12.06, allocations: 21.02 kB / 5.187 GB, free: 127.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/12.06, allocations: 146.8 kB / 5.187 GB, free: 127.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/12.06, allocations: 55.11 kB / 5.187 GB, free: 127.1 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (135): * Single equations (assignments): 131 * 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.001378/12.07, allocations: 0.5383 MB / 5.188 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006288/12.07, allocations: 182.5 kB / 5.188 GB, free: 126.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/12.07, allocations: 1.115 MB / 5.189 GB, free: 126.7 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/12.07, allocations: 10.34 kB / 5.189 GB, free: 126.7 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/12.07, allocations: 0 / 5.189 GB, free: 126.7 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001964/12.07, allocations: 1.176 MB / 5.19 GB, free: 126.3 MB / 0.9948 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.008053/12.08, allocations: 2.786 MB / 5.193 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/12.08, allocations: 5.312 kB / 5.193 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008606/12.08, allocations: 171.3 kB / 5.193 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002443/12.08, allocations: 46.64 kB / 5.193 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.479e-05/12.08, allocations: 26.69 kB / 5.193 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/12.08, allocations: 1.42 MB / 5.194 GB, free: 124.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/12.08, allocations: 0 / 5.194 GB, free: 124.4 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003334/12.09, allocations: 1.667 MB / 5.196 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/12.09, allocations: 345.1 kB / 5.196 GB, free: 124 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006023/12.09, allocations: 20.19 kB / 5.196 GB, free: 124 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00173/12.09, allocations: 142.8 kB / 5.196 GB, free: 123.9 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/12.09, allocations: 67.31 kB / 5.197 GB, free: 123.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.66e-05/12.09, allocations: 33.75 kB / 5.197 GB, free: 123.9 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002383/12.09, allocations: 1.05 MB / 5.198 GB, free: 123.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.81e-07/12.09, allocations: 0 / 5.198 GB, free: 123.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006712/12.1, allocations: 1.337 MB / 5.199 GB, free: 123.7 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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 (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.00726/12.11, allocations: 3.663 MB / 5.202 GB, free: 122.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004547/12.11, allocations: 1.766 MB / 5.204 GB, free: 122.1 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/12.11, allocations: 0 / 5.204 GB, free: 122.1 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/12.11, allocations: 0.5847 MB / 5.205 GB, free: 122 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005756/12.12, allocations: 0.7848 MB / 5.206 GB, free: 122 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009868/12.13, allocations: 4.378 MB / 5.21 GB, free: 120.2 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001834/12.13, allocations: 1.492 MB / 5.211 GB, free: 119.4 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.00305/12.13, allocations: 467.5 kB / 5.212 GB, free: 119.4 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00063/12.13, allocations: 138.7 kB / 5.212 GB, free: 119.4 MB / 0.9948 GB Notification: Performance of SimCode: time 1.293e-06/12.13, allocations: 0 / 5.212 GB, free: 119.4 MB / 0.9948 GB Notification: Performance of Templates: time 0.09625/12.23, allocations: 63.48 MB / 5.274 GB, free: 117.1 MB / 0.9948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)