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.634/1.634, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001237/0.001237, allocations: 176.9 kB / 361.4 MB, free: 6.871 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.646/1.646, allocations: 205.3 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009565/0.0009564, allocations: 88.39 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.037e-05/2.029e-05, allocations: 7.984 kB / 0.8517 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7655/0.7655, allocations: 115.3 MB / 0.9644 GB, free: 78.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.885/6.65, allocations: 2.127 GB / 3.092 GB, free: 281.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/6.65, allocations: 93.95 kB / 3.092 GB, free: 281.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.233/13.88, allocations: 2.048 GB / 5.139 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.144e-06/13.88, allocations: 0 / 5.139 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002382/13.88, allocations: 59.39 kB / 5.14 GB, free: 115.1 MB / 0.9792 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.006508/13.89, allocations: 2.448 MB / 5.142 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/13.89, allocations: 7.781 kB / 5.142 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005014/13.9, allocations: 0.7751 MB / 5.143 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005484/13.9, allocations: 2.216 MB / 5.145 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/13.9, allocations: 52 kB / 5.145 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/13.9, allocations: 88.31 kB / 5.145 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001883/13.9, allocations: 1.073 MB / 5.146 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/13.9, allocations: 1.326 MB / 5.147 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/13.9, allocations: 3.375 kB / 5.147 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/13.9, allocations: 0 / 5.147 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-05/13.9, allocations: 49 kB / 5.147 GB, free: 112.6 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.008504/13.91, allocations: 7.163 MB / 5.154 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/13.91, allocations: 1.357 MB / 5.156 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/13.92, allocations: 406.2 kB / 5.156 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000976/13.92, allocations: 0.757 MB / 5.157 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006031/13.92, allocations: 445 kB / 5.157 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008942/13.92, allocations: 103.2 kB / 5.157 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=84): time 3.927e-06/13.92, allocations: 0 / 5.157 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=84): time 0.005182/13.92, allocations: 1.502 MB / 5.159 GB, free: 104.8 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/13.92, allocations: 166.3 kB / 5.159 GB, free: 104.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/13.92, allocations: 1.237 MB / 5.16 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.964e-05/13.92, allocations: 28.42 kB / 5.16 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006911/13.93, allocations: 0.9352 MB / 5.161 GB, free: 103.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000201/13.93, allocations: 282.8 kB / 5.161 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/13.93, allocations: 0 / 5.161 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.064e-05/13.93, allocations: 351.5 kB / 5.162 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/13.93, allocations: 335.7 kB / 5.162 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005951/13.93, allocations: 0.7131 MB / 5.163 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003933/13.93, allocations: 1.026 MB / 5.164 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/13.93, allocations: 3.375 kB / 5.164 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005252/13.94, allocations: 1.744 MB / 5.165 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006498/13.94, allocations: 3.484 MB / 5.169 GB, free: 97.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/13.94, allocations: 13.53 kB / 5.169 GB, free: 97.66 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.534e-05/13.94, allocations: 13.88 kB / 5.169 GB, free: 97.66 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009931/13.94, allocations: 259.3 kB / 5.169 GB, free: 97.64 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/13.94, allocations: 17.56 kB / 5.169 GB, free: 97.63 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/13.94, allocations: 127.5 kB / 5.169 GB, free: 97.62 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/13.94, allocations: 59.09 kB / 5.169 GB, free: 97.61 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/13.94, allocations: 2.688 kB / 5.169 GB, free: 97.61 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00467/13.94, allocations: 1.508 MB / 5.171 GB, free: 97.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/13.94, allocations: 9.906 kB / 5.171 GB, free: 97.25 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/13.94, allocations: 15.11 kB / 5.171 GB, free: 97.25 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009257/13.95, allocations: 258.7 kB / 5.171 GB, free: 97.23 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/13.95, allocations: 21.83 kB / 5.171 GB, free: 97.22 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/13.95, allocations: 120.5 kB / 5.171 GB, free: 97.21 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.191e-05/13.95, allocations: 62.31 kB / 5.171 GB, free: 97.2 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * 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.0002844/13.95, allocations: 135.4 kB / 5.171 GB, free: 97.07 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/13.95, allocations: 180.8 kB / 5.172 GB, free: 96.97 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005031/13.95, allocations: 1.512 MB / 5.173 GB, free: 96.55 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/13.95, allocations: 10.95 kB / 5.173 GB, free: 96.55 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/13.95, allocations: 1.5 kB / 5.173 GB, free: 96.55 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004283/13.96, allocations: 1.597 MB / 5.175 GB, free: 95.84 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.007766/13.96, allocations: 3.074 MB / 5.178 GB, free: 94.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/13.96, allocations: 0 / 5.178 GB, free: 94.59 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008277/13.97, allocations: 179.8 kB / 5.178 GB, free: 94.58 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002113/13.97, allocations: 50.06 kB / 5.178 GB, free: 94.56 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-05/13.97, allocations: 13.12 kB / 5.178 GB, free: 94.55 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/13.97, allocations: 1.388 MB / 5.179 GB, free: 93.25 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/13.97, allocations: 3.938 kB / 5.179 GB, free: 93.25 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005537/13.97, allocations: 2.101 MB / 5.181 GB, free: 92.41 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/13.97, allocations: 337.6 kB / 5.182 GB, free: 92.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/13.97, allocations: 7.609 kB / 5.182 GB, free: 92.17 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/13.98, allocations: 133.4 kB / 5.182 GB, free: 92.16 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/13.98, allocations: 64.2 kB / 5.182 GB, free: 92.15 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.613e-05/13.98, allocations: 32.97 kB / 5.182 GB, free: 92.14 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001797/13.98, allocations: 0.9183 MB / 5.183 GB, free: 91.76 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.81e-07/13.98, allocations: 0 / 5.183 GB, free: 91.76 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005186/13.98, allocations: 1.208 MB / 5.184 GB, free: 90.91 MB / 0.9792 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) * 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.006054/13.99, allocations: 3.747 MB / 5.188 GB, free: 87.73 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002515/13.99, allocations: 1.574 MB / 5.189 GB, free: 86.2 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/13.99, allocations: 0 / 5.189 GB, free: 86.2 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007236/13.99, allocations: 0.4912 MB / 5.19 GB, free: 85.73 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003767/14, allocations: 0.7577 MB / 5.19 GB, free: 85.17 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00609/14, allocations: 2.82 MB / 5.193 GB, free: 82.62 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008835/14, allocations: 1.54 MB / 5.195 GB, free: 81.36 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002855/14.01, allocations: 0.646 MB / 5.195 GB, free: 80.91 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/14.01, allocations: 110.9 kB / 5.195 GB, free: 80.81 MB / 0.9792 GB Notification: Performance of SimCode: time 1.954e-06/14.01, allocations: 0 / 5.195 GB, free: 80.81 MB / 0.9792 GB Notification: Performance of Templates: time 0.06669/14.07, allocations: 47.72 MB / 5.242 GB, free: 34.58 MB / 0.9792 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)