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.697/1.697, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001398/0.001398, allocations: 177 kB / 377.1 MB, free: 1.523 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.76/1.76, allocations: 205.4 MB / 0.6367 GB, free: 9.586 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.0009564/0.0009563, allocations: 92.12 kB / 0.751 GB, free: 62.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003632, allocations: 8 kB / 0.8748 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3003, allocations: 116.3 MB / 0.9884 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.328/5.628, allocations: 2.129 GB / 3.117 GB, free: 102.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/5.628, allocations: 100.6 kB / 3.117 GB, free: 102 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.739/14.37, allocations: 2.072 GB / 5.189 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.136e-06/14.37, allocations: 1.406 kB / 5.189 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003485/14.37, allocations: 58.59 kB / 5.189 GB, free: 100.3 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.01419/14.38, allocations: 2.948 MB / 5.192 GB, free: 99.09 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 7.965e-05/14.38, allocations: 9.312 kB / 5.192 GB, free: 99.09 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007095/14.39, allocations: 0.7857 MB / 5.193 GB, free: 98.96 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008333/14.4, allocations: 2.224 MB / 5.195 GB, free: 98.6 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/14.4, allocations: 110.6 kB / 5.195 GB, free: 98.59 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004164/14.4, allocations: 147.5 kB / 5.195 GB, free: 98.59 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003352/14.4, allocations: 1.6 MB / 5.197 GB, free: 98.32 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.099e-05/14.4, allocations: 8.125 kB / 5.197 GB, free: 98.32 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/14.4, allocations: 60.8 kB / 5.197 GB, free: 98.32 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.334e-05/14.4, allocations: 50.66 kB / 5.197 GB, free: 98.32 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/14.4, allocations: 1.269 MB / 5.198 GB, free: 98.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 preOpt removeSimpleEquations (simulation): time 0.01124/14.42, allocations: 7.399 MB / 5.206 GB, free: 94.43 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/14.42, allocations: 1.496 MB / 5.207 GB, free: 93.74 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/14.42, allocations: 0.7557 MB / 5.208 GB, free: 92.99 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/14.42, allocations: 0.5175 MB / 5.208 GB, free: 92.93 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001308/14.42, allocations: 128.1 kB / 5.208 GB, free: 92.91 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=84): time 3.988e-06/14.42, allocations: 2.953 kB / 5.208 GB, free: 92.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=84): time 0.003963/14.43, allocations: 1.502 MB / 5.21 GB, free: 92.66 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/14.43, allocations: 165.8 kB / 5.21 GB, free: 92.47 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003081/14.43, allocations: 1.356 MB / 5.211 GB, free: 92.26 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002918/14.43, allocations: 46.33 kB / 5.211 GB, free: 92.23 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001079/14.43, allocations: 0.9324 MB / 5.212 GB, free: 91.95 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/14.43, allocations: 299.5 kB / 5.213 GB, free: 91.76 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/14.43, allocations: 21 kB / 5.213 GB, free: 91.76 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001249/14.43, allocations: 348.3 kB / 5.213 GB, free: 91.46 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009598/14.43, allocations: 405.8 kB / 5.213 GB, free: 91.45 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/14.43, allocations: 0.7975 MB / 5.214 GB, free: 91 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/14.43, allocations: 0.5269 MB / 5.215 GB, free: 90.96 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/14.43, allocations: 3.031 kB / 5.215 GB, free: 90.96 MB / 0.9948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00329/14.44, allocations: 1.361 MB / 5.216 GB, free: 90.78 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001179/14.44, allocations: 3.491 MB / 5.219 GB, free: 87.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-05/14.44, allocations: 17.33 kB / 5.219 GB, free: 87.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.352e-05/14.44, allocations: 18.61 kB / 5.219 GB, free: 87.13 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/14.44, allocations: 256.2 kB / 5.22 GB, free: 87.13 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.838e-05/14.44, allocations: 19.62 kB / 5.22 GB, free: 87.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/14.44, allocations: 146.5 kB / 5.22 GB, free: 87.12 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/14.44, allocations: 53.45 kB / 5.22 GB, free: 87.12 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/14.44, allocations: 10.19 kB / 5.22 GB, free: 87.12 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00217/14.44, allocations: 1.178 MB / 5.221 GB, free: 87.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/14.44, allocations: 9.969 kB / 5.221 GB, free: 87.07 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/14.44, allocations: 17.28 kB / 5.221 GB, free: 87.07 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009835/14.45, allocations: 256.4 kB / 5.221 GB, free: 87.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/14.45, allocations: 20.12 kB / 5.221 GB, free: 87.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/14.45, allocations: 143.8 kB / 5.221 GB, free: 87.07 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/14.45, allocations: 56.58 kB / 5.221 GB, free: 87.07 MB / 0.9948 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 () * Number of clocked 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.001437/14.45, allocations: 0.5398 MB / 5.222 GB, free: 86.87 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004585/14.45, allocations: 184.2 kB / 5.222 GB, free: 86.77 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/14.45, allocations: 1.113 MB / 5.223 GB, free: 86.68 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/14.45, allocations: 7.594 kB / 5.223 GB, free: 86.68 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/14.45, allocations: 3.375 kB / 5.223 GB, free: 86.68 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001775/14.45, allocations: 1.175 MB / 5.224 GB, free: 86.21 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.005681/14.46, allocations: 2.703 MB / 5.227 GB, free: 85.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/14.46, allocations: 2.188 kB / 5.227 GB, free: 85.75 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009063/14.46, allocations: 176.1 kB / 5.227 GB, free: 85.75 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002462/14.46, allocations: 51.08 kB / 5.227 GB, free: 85.74 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.889e-05/14.46, allocations: 23.08 kB / 5.227 GB, free: 85.74 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/14.46, allocations: 1.428 MB / 5.229 GB, free: 84.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/14.46, allocations: 7.125 kB / 5.229 GB, free: 84.48 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/14.46, allocations: 1.734 MB / 5.23 GB, free: 84.08 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/14.47, allocations: 334.4 kB / 5.231 GB, free: 83.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/14.47, allocations: 20.38 kB / 5.231 GB, free: 83.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/14.47, allocations: 148.3 kB / 5.231 GB, free: 83.88 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/14.47, allocations: 55.88 kB / 5.231 GB, free: 83.88 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.161e-05/14.47, allocations: 42.94 kB / 5.231 GB, free: 83.88 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.00174/14.47, allocations: 1.042 MB / 5.232 GB, free: 83.73 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.91e-07/14.47, allocations: 0 / 5.232 GB, free: 83.73 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.005304/14.47, allocations: 1.323 MB / 5.233 GB, free: 83.56 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.00662/14.48, allocations: 3.643 MB / 5.237 GB, free: 82.12 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003801/14.49, allocations: 1.761 MB / 5.239 GB, free: 81.91 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/14.49, allocations: 3.188 kB / 5.239 GB, free: 81.91 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/14.49, allocations: 0.5771 MB / 5.239 GB, free: 81.79 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00407/14.49, allocations: 0.784 MB / 5.24 GB, free: 81.76 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008536/14.5, allocations: 4.366 MB / 5.244 GB, free: 79.93 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/14.5, allocations: 1.543 MB / 5.246 GB, free: 79.19 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002592/14.5, allocations: 460.6 kB / 5.246 GB, free: 79.17 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004013/14.5, allocations: 135.1 kB / 5.246 GB, free: 79.16 MB / 0.9948 GB Notification: Performance of SimCode: time 1.182e-06/14.5, allocations: 1.156 kB / 5.246 GB, free: 79.16 MB / 0.9948 GB Notification: Performance of Templates: time 0.09534/14.6, allocations: 62.57 MB / 5.307 GB, free: 75.54 MB / 0.9948 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)