Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.616/1.616, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001008/0.001008, allocations: 176.8 kB / 366.7 MB, free: 1.68 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.632/1.632, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0007976/0.0007976, allocations: 101.6 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.279e-05/2.297e-05, allocations: 7.984 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7861/0.7861, allocations: 116.3 MB / 0.9732 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.719/6.505, allocations: 2.128 GB / 3.101 GB, free: 333.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/6.505, allocations: 92.66 kB / 3.102 GB, free: 333.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.624/14.13, allocations: 2.048 GB / 5.149 GB, free: 118.6 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.155e-06/14.13, allocations: 0 / 5.149 GB, free: 118.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004288/14.13, allocations: 52.78 kB / 5.149 GB, free: 118.6 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.008351/14.14, allocations: 2.45 MB / 5.152 GB, free: 117.2 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/14.14, allocations: 9.344 kB / 5.152 GB, free: 117.2 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005796/14.14, allocations: 0.7783 MB / 5.153 GB, free: 117 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007285/14.15, allocations: 2.212 MB / 5.155 GB, free: 115.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/14.15, allocations: 41.47 kB / 5.155 GB, free: 115.9 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005679/14.15, allocations: 85.03 kB / 5.155 GB, free: 115.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002772/14.15, allocations: 1.078 MB / 5.156 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/14.16, allocations: 1.325 MB / 5.157 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/14.16, allocations: 3.938 kB / 5.157 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/14.16, allocations: 3.344 kB / 5.157 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.353e-05/14.16, allocations: 47.84 kB / 5.157 GB, free: 114.9 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.00869/14.17, allocations: 7.155 MB / 5.164 GB, free: 109.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/14.17, allocations: 1.367 MB / 5.166 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004988/14.17, allocations: 409.3 kB / 5.166 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009792/14.17, allocations: 0.7478 MB / 5.167 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006217/14.17, allocations: 445.9 kB / 5.167 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009798/14.17, allocations: 105.7 kB / 5.167 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=84): time 3.346e-06/14.17, allocations: 3.938 kB / 5.167 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=84): time 0.005233/14.18, allocations: 1.504 MB / 5.169 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/14.18, allocations: 169.5 kB / 5.169 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/14.18, allocations: 1.228 MB / 5.17 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.983e-05/14.18, allocations: 28.77 kB / 5.17 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000687/14.18, allocations: 0.9376 MB / 5.171 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/14.18, allocations: 282.3 kB / 5.171 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/14.18, allocations: 0 / 5.171 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.787e-05/14.18, allocations: 352.2 kB / 5.172 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/14.18, allocations: 332.3 kB / 5.172 GB, free: 105 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006419/14.18, allocations: 0.7135 MB / 5.173 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003922/14.18, allocations: 1.027 MB / 5.174 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/14.18, allocations: 5.938 kB / 5.174 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005015/14.19, allocations: 1.736 MB / 5.175 GB, free: 103.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.000684/14.19, allocations: 3.487 MB / 5.179 GB, free: 99.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/14.19, allocations: 11.22 kB / 5.179 GB, free: 99.89 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/14.19, allocations: 13.97 kB / 5.179 GB, free: 99.89 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009827/14.19, allocations: 262.2 kB / 5.179 GB, free: 99.83 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/14.19, allocations: 22.06 kB / 5.179 GB, free: 99.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/14.19, allocations: 124.5 kB / 5.179 GB, free: 99.78 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/14.19, allocations: 57.58 kB / 5.179 GB, free: 99.77 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/14.19, allocations: 2.469 kB / 5.179 GB, free: 99.77 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004439/14.2, allocations: 1.511 MB / 5.181 GB, free: 99.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/14.2, allocations: 15.11 kB / 5.181 GB, free: 99.15 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/14.2, allocations: 15.28 kB / 5.181 GB, free: 99.15 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000903/14.2, allocations: 257.4 kB / 5.181 GB, free: 99.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/14.2, allocations: 15.22 kB / 5.181 GB, free: 99.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/14.2, allocations: 121.7 kB / 5.181 GB, free: 99.05 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.924e-05/14.2, allocations: 57.84 kB / 5.181 GB, free: 99.03 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.0002498/14.2, allocations: 140.6 kB / 5.181 GB, free: 98.9 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/14.2, allocations: 175.9 kB / 5.181 GB, free: 98.81 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004959/14.2, allocations: 1.509 MB / 5.183 GB, free: 97.97 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/14.2, allocations: 11.95 kB / 5.183 GB, free: 97.96 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/14.2, allocations: 2.531 kB / 5.183 GB, free: 97.96 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00415/14.21, allocations: 1.6 MB / 5.184 GB, free: 96.3 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.007358/14.22, allocations: 3.071 MB / 5.187 GB, free: 93.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/14.22, allocations: 7.312 kB / 5.187 GB, free: 93.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008083/14.22, allocations: 179.8 kB / 5.188 GB, free: 93.03 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001966/14.22, allocations: 47.69 kB / 5.188 GB, free: 92.98 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-05/14.22, allocations: 15.98 kB / 5.188 GB, free: 92.96 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/14.22, allocations: 1.38 MB / 5.189 GB, free: 91.47 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/14.22, allocations: 7.969 kB / 5.189 GB, free: 91.46 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00519/14.22, allocations: 2.108 MB / 5.191 GB, free: 89.34 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006705/14.22, allocations: 330.7 kB / 5.191 GB, free: 89 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/14.22, allocations: 11.94 kB / 5.191 GB, free: 88.99 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/14.23, allocations: 128.4 kB / 5.192 GB, free: 88.88 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/14.23, allocations: 64.64 kB / 5.192 GB, free: 88.81 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.215e-05/14.23, allocations: 35.97 kB / 5.192 GB, free: 88.77 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001298/14.23, allocations: 0.913 MB / 5.193 GB, free: 87.87 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.81e-07/14.23, allocations: 0 / 5.193 GB, free: 87.87 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004157/14.23, allocations: 1.207 MB / 5.194 GB, free: 86.67 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.005261/14.24, allocations: 3.765 MB / 5.197 GB, free: 83.17 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002199/14.24, allocations: 1.571 MB / 5.199 GB, free: 81.56 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/14.24, allocations: 0 / 5.199 GB, free: 81.56 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006584/14.24, allocations: 0.4979 MB / 5.199 GB, free: 81.05 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/14.24, allocations: 0.7624 MB / 5.2 GB, free: 80.31 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006111/14.25, allocations: 2.815 MB / 5.203 GB, free: 77.47 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008667/14.25, allocations: 1.538 MB / 5.204 GB, free: 75.91 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002843/14.25, allocations: 0.6486 MB / 5.205 GB, free: 75.28 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/14.25, allocations: 107.4 kB / 5.205 GB, free: 75.18 MB / 0.9792 GB Notification: Performance of SimCode: time 1.343e-06/14.25, allocations: 4 kB / 5.205 GB, free: 75.17 MB / 0.9792 GB Notification: Performance of Templates: time 0.07043/14.32, allocations: 47.7 MB / 5.252 GB, free: 28.23 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)