Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.723/1.723, allocations: 297.8 MB / 313.7 MB, free: 160 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 172.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.2 MB / 0.6626 GB, free: 4.332 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008321/0.0008324, allocations: 97.83 kB / 0.7808 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004109, allocations: 12 kB / 0.9088 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7631/0.7635, allocations: 120.3 MB / 1.026 GB, free: 55.9 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.399/5.163, allocations: 1.953 GB / 2.979 GB, free: 266 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/5.163, allocations: 100.8 kB / 2.979 GB, free: 266 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.823/11.99, allocations: 2.065 GB / 5.044 GB, free: 74.88 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.323e-06/11.99, allocations: 0 / 5.044 GB, free: 74.88 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0003506/11.99, allocations: 57.98 kB / 5.044 GB, free: 74.86 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.008231/11.99, allocations: 2.882 MB / 5.047 GB, free: 72.75 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/11.99, allocations: 9.906 kB / 5.047 GB, free: 72.75 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004912/12, allocations: 0.7668 MB / 5.048 GB, free: 72.3 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005618/12.01, allocations: 2.23 MB / 5.05 GB, free: 70.02 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/12.01, allocations: 110.9 kB / 5.05 GB, free: 69.91 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005151/12.01, allocations: 144.9 kB / 5.05 GB, free: 69.77 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004088/12.01, allocations: 1.574 MB / 5.051 GB, free: 68.12 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.002e-05/12.01, allocations: 7.938 kB / 5.052 GB, free: 68.11 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002319/12.01, allocations: 56 kB / 5.052 GB, free: 68.06 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-05/12.01, allocations: 46.52 kB / 5.052 GB, free: 68.01 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003139/12.01, allocations: 1.278 MB / 5.053 GB, free: 66.73 MB / 1.01 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.01135/12.03, allocations: 7.494 MB / 5.06 GB, free: 58.66 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/12.03, allocations: 1.487 MB / 5.062 GB, free: 57.04 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008254/12.03, allocations: 491.5 kB / 5.062 GB, free: 56.55 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009112/12.03, allocations: 0.7595 MB / 5.063 GB, free: 55.64 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009441/12.03, allocations: 0.5205 MB / 5.063 GB, free: 55.11 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009999/12.03, allocations: 131.1 kB / 5.063 GB, free: 54.98 MB / 1.01 GB Notification: Performance of pre-optimization done (n=86): time 4.859e-06/12.03, allocations: 0 / 5.063 GB, free: 54.98 MB / 1.01 GB Notification: Performance of matching and sorting (n=86): time 0.0033/12.03, allocations: 1.515 MB / 5.065 GB, free: 53.44 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/12.03, allocations: 111.8 kB / 5.065 GB, free: 53.31 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/12.04, allocations: 1.528 MB / 5.067 GB, free: 51.78 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/12.04, allocations: 49.7 kB / 5.067 GB, free: 51.73 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006839/12.04, allocations: 0.9163 MB / 5.067 GB, free: 50.8 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000229/12.04, allocations: 307.6 kB / 5.068 GB, free: 50.5 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/12.04, allocations: 20 kB / 5.068 GB, free: 50.48 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.772e-05/12.04, allocations: 349.9 kB / 5.068 GB, free: 50.13 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007623/12.04, allocations: 398.4 kB / 5.069 GB, free: 49.74 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009338/12.04, allocations: 0.7752 MB / 5.069 GB, free: 48.8 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/12.04, allocations: 1.134 MB / 5.07 GB, free: 47.54 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/12.04, allocations: 4 kB / 5.07 GB, free: 47.54 MB / 1.01 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002467/12.04, allocations: 1.337 MB / 5.072 GB, free: 46.19 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001781/12.04, allocations: 382 kB / 5.072 GB, free: 45.69 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/12.04, allocations: 8 kB / 5.072 GB, free: 45.68 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.169e-05/12.04, allocations: 16 kB / 5.072 GB, free: 45.66 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009988/12.04, allocations: 267.6 kB / 5.072 GB, free: 45.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.362e-05/12.04, allocations: 15.94 kB / 5.072 GB, free: 45.39 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/12.05, allocations: 147.7 kB / 5.072 GB, free: 45.24 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/12.05, allocations: 55.98 kB / 5.073 GB, free: 45.19 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/12.05, allocations: 5.406 kB / 5.073 GB, free: 45.18 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001928/12.05, allocations: 1.154 MB / 5.074 GB, free: 44.02 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/12.05, allocations: 8 kB / 5.074 GB, free: 44.02 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/12.05, allocations: 16.06 kB / 5.074 GB, free: 44 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009709/12.05, allocations: 267.5 kB / 5.074 GB, free: 43.74 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.209e-05/12.05, allocations: 19.92 kB / 5.074 GB, free: 43.72 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/12.05, allocations: 147.7 kB / 5.074 GB, free: 43.57 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/12.05, allocations: 55.92 kB / 5.074 GB, free: 43.52 MB / 1.01 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): 132 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.001141/12.05, allocations: 0.5358 MB / 5.075 GB, free: 42.97 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003859/12.05, allocations: 177.8 kB / 5.075 GB, free: 42.8 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/12.06, allocations: 1.122 MB / 5.076 GB, free: 41.66 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/12.06, allocations: 8 kB / 5.076 GB, free: 41.66 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/12.06, allocations: 0 / 5.076 GB, free: 41.66 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001604/12.06, allocations: 1.184 MB / 5.077 GB, free: 40.38 MB / 1.01 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.005546/12.06, allocations: 2.839 MB / 5.08 GB, free: 37.44 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/12.06, allocations: 7.938 kB / 5.08 GB, free: 37.43 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008257/12.06, allocations: 179.9 kB / 5.08 GB, free: 37.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002177/12.06, allocations: 48.83 kB / 5.08 GB, free: 37.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.487e-05/12.06, allocations: 23.98 kB / 5.08 GB, free: 37.18 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/12.06, allocations: 1.417 MB / 5.082 GB, free: 35.63 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/12.06, allocations: 144 / 5.082 GB, free: 35.63 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/12.07, allocations: 1.688 MB / 5.083 GB, free: 33.91 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008669/12.07, allocations: 334.7 kB / 5.083 GB, free: 33.56 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000369/12.07, allocations: 23.98 kB / 5.084 GB, free: 33.54 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/12.07, allocations: 139.7 kB / 5.084 GB, free: 33.4 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/12.07, allocations: 64.84 kB / 5.084 GB, free: 33.34 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.728e-05/12.07, allocations: 39.98 kB / 5.084 GB, free: 33.3 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001811/12.07, allocations: 1.026 MB / 5.085 GB, free: 32.28 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.21e-07/12.07, allocations: 0 / 5.085 GB, free: 32.28 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004979/12.08, allocations: 1.279 MB / 5.086 GB, free: 31 MB / 1.01 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.s[1],mov.filter.s[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 (86): * Single equations (assignments): 83 * 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.00616/12.08, allocations: 3.62 MB / 5.09 GB, free: 27.22 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003348/12.09, allocations: 1.683 MB / 5.091 GB, free: 25.52 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/12.09, allocations: 0 / 5.091 GB, free: 25.52 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/12.09, allocations: 0.5911 MB / 5.092 GB, free: 24.92 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004256/12.09, allocations: 0.7674 MB / 5.093 GB, free: 24.16 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007281/12.1, allocations: 4.318 MB / 5.097 GB, free: 19.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/12.1, allocations: 1.487 MB / 5.098 GB, free: 18.27 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002328/12.1, allocations: 466.3 kB / 5.099 GB, free: 17.81 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/12.1, allocations: 139.4 kB / 5.099 GB, free: 17.68 MB / 1.01 GB Notification: Performance of SimCode: time 6.92e-07/12.1, allocations: 0 / 5.099 GB, free: 17.68 MB / 1.01 GB Notification: Performance of Templates: time 0.6853/12.79, allocations: 62.24 MB / 5.16 GB, free: 118.8 MB / 1.026 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)