Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.301/1.301, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009732/0.0009732, allocations: 185.3 kB / 327.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.4 MB / 0.5785 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007385/0.0007386, allocations: 80.89 kB / 0.6831 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003394, allocations: 11.97 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1536, allocations: 106.3 MB / 0.9012 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.111/4.264, allocations: 2.246 GB / 3.148 GB, free: 313.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/4.265, allocations: 102.7 kB / 3.148 GB, free: 313.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.781/10.05, allocations: 1.982 GB / 5.13 GB, free: 47.34 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.733e-06/10.05, allocations: 4 kB / 5.13 GB, free: 47.34 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000405/10.05, allocations: 63.86 kB / 5.13 GB, free: 47.27 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.009254/10.06, allocations: 2.934 MB / 5.133 GB, free: 44.27 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/10.06, allocations: 8.031 kB / 5.133 GB, free: 44.26 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005058/10.06, allocations: 0.7668 MB / 5.134 GB, free: 43.49 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006258/10.07, allocations: 2.271 MB / 5.136 GB, free: 41.17 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/10.07, allocations: 106.6 kB / 5.136 GB, free: 41.07 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000536/10.07, allocations: 148 kB / 5.136 GB, free: 40.92 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003804/10.07, allocations: 1.62 MB / 5.138 GB, free: 39.21 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.702e-05/10.07, allocations: 3.938 kB / 5.138 GB, free: 39.21 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002108/10.07, allocations: 60 kB / 5.138 GB, free: 39.15 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.385e-05/10.07, allocations: 46.55 kB / 5.138 GB, free: 39.1 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/10.07, allocations: 1.279 MB / 5.139 GB, free: 37.82 MB / 0.9167 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.01016/10.08, allocations: 7.448 MB / 5.146 GB, free: 29.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/10.09, allocations: 1.489 MB / 5.148 GB, free: 28.18 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007669/10.09, allocations: 478.2 kB / 5.148 GB, free: 27.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008891/10.09, allocations: 0.7564 MB / 5.149 GB, free: 26.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008877/10.09, allocations: 0.5244 MB / 5.15 GB, free: 26.27 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009262/10.09, allocations: 127.2 kB / 5.15 GB, free: 26.14 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=84): time 4.568e-06/10.09, allocations: 0 / 5.15 GB, free: 26.14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=84): time 0.00319/10.09, allocations: 1.488 MB / 5.151 GB, free: 24.62 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/10.09, allocations: 163.2 kB / 5.151 GB, free: 24.43 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/10.1, allocations: 1.573 MB / 5.153 GB, free: 22.81 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.00014/10.1, allocations: 49.7 kB / 5.153 GB, free: 22.75 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007512/10.1, allocations: 0.936 MB / 5.154 GB, free: 21.81 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/10.1, allocations: 299.8 kB / 5.154 GB, free: 21.51 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/10.1, allocations: 20 kB / 5.154 GB, free: 21.49 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.485e-05/10.1, allocations: 353.8 kB / 5.154 GB, free: 21.14 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007421/10.1, allocations: 410.4 kB / 5.155 GB, free: 20.74 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009184/10.1, allocations: 0.7939 MB / 5.156 GB, free: 19.77 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/10.1, allocations: 1.159 MB / 5.157 GB, free: 18.48 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/10.1, allocations: 0 / 5.157 GB, free: 18.48 MB / 0.9167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002353/10.1, allocations: 1.364 MB / 5.158 GB, free: 17.11 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001672/10.1, allocations: 387.4 kB / 5.158 GB, free: 16.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/10.1, allocations: 12 kB / 5.158 GB, free: 16.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/10.1, allocations: 12 kB / 5.158 GB, free: 16.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009618/10.1, allocations: 263.5 kB / 5.159 GB, free: 16.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.412e-05/10.1, allocations: 19.98 kB / 5.159 GB, free: 16.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/10.11, allocations: 155.6 kB / 5.159 GB, free: 16.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/10.11, allocations: 55.98 kB / 5.159 GB, free: 16.09 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/10.11, allocations: 4 kB / 5.159 GB, free: 16.09 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001902/10.11, allocations: 1.188 MB / 5.16 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/10.11, allocations: 8 kB / 5.16 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/10.11, allocations: 16 kB / 5.16 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009118/10.11, allocations: 264.1 kB / 5.16 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.327e-05/10.11, allocations: 19.92 kB / 5.16 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/10.11, allocations: 143.7 kB / 5.16 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/10.11, allocations: 51.98 kB / 5.161 GB, free: 14.4 MB / 0.9167 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.001053/10.11, allocations: 0.5553 MB / 5.161 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/10.11, allocations: 181.7 kB / 5.161 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/10.11, allocations: 1.103 MB / 5.162 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/10.11, allocations: 12 kB / 5.162 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/10.11, allocations: 0 / 5.162 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00152/10.12, allocations: 1.168 MB / 5.163 GB, free: 11.27 MB / 0.9167 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.005151/10.12, allocations: 2.777 MB / 5.166 GB, free: 8.379 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/10.12, allocations: 128 / 5.166 GB, free: 8.379 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007893/10.12, allocations: 183.8 kB / 5.166 GB, free: 8.199 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/10.12, allocations: 44.83 kB / 5.166 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.335e-05/10.12, allocations: 23.98 kB / 5.166 GB, free: 8.129 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009304/10.12, allocations: 1.425 MB / 5.168 GB, free: 6.574 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/10.12, allocations: 4 kB / 5.168 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/10.13, allocations: 1.667 MB / 5.169 GB, free: 4.867 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009283/10.13, allocations: 342.6 kB / 5.17 GB, free: 4.512 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003861/10.13, allocations: 19.98 kB / 5.17 GB, free: 4.492 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/10.13, allocations: 143.8 kB / 5.17 GB, free: 4.352 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/10.13, allocations: 60.52 kB / 5.17 GB, free: 4.293 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.697e-05/10.13, allocations: 35.97 kB / 5.17 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001584/10.13, allocations: 1.05 MB / 5.171 GB, free: 3.184 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/10.13, allocations: 0 / 5.171 GB, free: 3.184 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004444/10.13, allocations: 1.322 MB / 5.172 GB, free: 1.859 MB / 0.9167 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.006865/10.14, allocations: 3.663 MB / 5.176 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00387/10.15, allocations: 1.763 MB / 5.178 GB, free: 12.26 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/10.15, allocations: 192 / 5.178 GB, free: 12.26 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/10.15, allocations: 0.5726 MB / 5.178 GB, free: 11.67 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00403/10.15, allocations: 0.781 MB / 5.179 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008123/10.16, allocations: 4.397 MB / 5.183 GB, free: 6.453 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/10.16, allocations: 1.499 MB / 5.185 GB, free: 4.918 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002277/10.16, allocations: 474.4 kB / 5.185 GB, free: 4.449 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/10.16, allocations: 139.3 kB / 5.185 GB, free: 4.312 MB / 0.9323 GB Notification: Performance of SimCode: time 9.22e-07/10.16, allocations: 0 / 5.185 GB, free: 4.312 MB / 0.9323 GB Notification: Performance of Templates: time 0.5526/10.72, allocations: 63.4 MB / 5.247 GB, free: 118.8 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)