Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001337/0.001337, allocations: 183.3 kB / 377.1 MB, free: 1.539 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.841/1.841, allocations: 205.4 MB / 0.6367 GB, free: 8.535 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.0009369/0.0009366, allocations: 93.72 kB / 0.751 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003746, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.28, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.73/6.01, allocations: 2.123 GB / 3.111 GB, free: 56.49 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/6.01, allocations: 100.6 kB / 3.111 GB, free: 56.39 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.795/14.81, allocations: 1.985 GB / 5.096 GB, free: 107 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.674e-06/14.81, allocations: 0 / 5.096 GB, free: 107 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005164/14.81, allocations: 68.86 kB / 5.096 GB, free: 107 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: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 0.01335/14.82, allocations: 3.14 MB / 5.099 GB, free: 105.9 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/14.82, allocations: 11.09 kB / 5.099 GB, free: 105.9 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006818/14.83, allocations: 0.7899 MB / 5.1 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009387/14.84, allocations: 2.367 MB / 5.102 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/14.84, allocations: 119.2 kB / 5.102 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008889/14.84, allocations: 161.6 kB / 5.103 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004604/14.84, allocations: 1.788 MB / 5.104 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.794e-05/14.84, allocations: 2.906 kB / 5.104 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/14.84, allocations: 71.23 kB / 5.104 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.429e-05/14.84, allocations: 52.5 kB / 5.104 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00321/14.85, allocations: 1.459 MB / 5.106 GB, free: 105.1 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.01437/14.86, allocations: 8.057 MB / 5.114 GB, free: 101.3 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/14.86, allocations: 1.742 MB / 5.115 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004797/14.86, allocations: 210.8 kB / 5.116 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/14.86, allocations: 0.6387 MB / 5.116 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001619/14.87, allocations: 121.4 kB / 5.116 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=102): time 3.707e-06/14.87, allocations: 0 / 5.116 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=105): time 0.009842/14.88, allocations: 3.477 MB / 5.12 GB, free: 99.46 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.175e-05/14.88, allocations: 175.2 kB / 5.12 GB, free: 99.27 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/14.88, allocations: 1.334 MB / 5.121 GB, free: 99.06 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001992/14.88, allocations: 51.92 kB / 5.121 GB, free: 99.03 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/14.88, allocations: 0.9722 MB / 5.122 GB, free: 98.78 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003911/14.88, allocations: 363.8 kB / 5.123 GB, free: 98.6 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/14.88, allocations: 25.91 kB / 5.123 GB, free: 98.6 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001297/14.88, allocations: 351.4 kB / 5.123 GB, free: 98.29 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/14.88, allocations: 496.8 kB / 5.123 GB, free: 98.29 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/14.88, allocations: 0.8663 MB / 5.124 GB, free: 97.88 MB / 0.9948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/14.89, allocations: 2.335 MB / 5.127 GB, free: 97.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.891e-05/14.89, allocations: 2.562 kB / 5.127 GB, free: 97.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005006/14.9, allocations: 1.593 MB / 5.128 GB, free: 97.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001115/14.9, allocations: 3.045 MB / 5.131 GB, free: 94.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-05/14.9, allocations: 8.719 kB / 5.131 GB, free: 94.34 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003009/14.9, allocations: 51.61 kB / 5.131 GB, free: 94.33 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/14.9, allocations: 276.6 kB / 5.131 GB, free: 94.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/14.9, allocations: 1.569 MB / 5.133 GB, free: 93 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/14.91, allocations: 169.7 kB / 5.133 GB, free: 93 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/14.91, allocations: 54.11 kB / 5.133 GB, free: 93 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/14.91, allocations: 4.406 kB / 5.133 GB, free: 93 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003655/14.91, allocations: 1.405 MB / 5.134 GB, free: 92.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.258e-05/14.91, allocations: 13.5 kB / 5.134 GB, free: 92.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001967/14.91, allocations: 51.97 kB / 5.135 GB, free: 92.92 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/14.91, allocations: 275.8 kB / 5.135 GB, free: 92.92 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/14.91, allocations: 1.576 MB / 5.136 GB, free: 91.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003082/14.92, allocations: 153.1 kB / 5.136 GB, free: 91.59 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/14.92, allocations: 53.97 kB / 5.137 GB, free: 91.59 MB / 0.9948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (147): * Single equations (assignments): 142 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002449/14.92, allocations: 0.5918 MB / 5.137 GB, free: 91.4 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007382/14.92, allocations: 190.2 kB / 5.137 GB, free: 91.3 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003455/14.92, allocations: 1.375 MB / 5.139 GB, free: 91.2 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/14.92, allocations: 9.969 kB / 5.139 GB, free: 91.2 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/14.92, allocations: 1.062 kB / 5.139 GB, free: 91.2 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002322/14.93, allocations: 1.115 MB / 5.14 GB, free: 91.09 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.008077/14.93, allocations: 3.431 MB / 5.143 GB, free: 90.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/14.93, allocations: 2.125 kB / 5.143 GB, free: 90.48 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/14.94, allocations: 232.6 kB / 5.143 GB, free: 90.48 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000261/14.94, allocations: 81.14 kB / 5.143 GB, free: 90.46 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.207e-05/14.94, allocations: 28.34 kB / 5.143 GB, free: 90.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/14.94, allocations: 2.938 MB / 5.146 GB, free: 87.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/14.94, allocations: 5.078 kB / 5.146 GB, free: 87.88 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004789/14.94, allocations: 2.156 MB / 5.148 GB, free: 87.45 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/14.94, allocations: 372.2 kB / 5.149 GB, free: 87.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002964/14.94, allocations: 26.42 kB / 5.149 GB, free: 87.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/14.95, allocations: 151.1 kB / 5.149 GB, free: 87.25 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/14.95, allocations: 76.95 kB / 5.149 GB, free: 87.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/14.95, allocations: 40.05 kB / 5.149 GB, free: 87.25 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002033/14.95, allocations: 1.035 MB / 5.15 GB, free: 87.11 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.31e-07/14.95, allocations: 0 / 5.15 GB, free: 87.11 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006145/14.95, allocations: 1.311 MB / 5.151 GB, free: 87.05 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * 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 (102): * Single equations (assignments): 98 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006137/14.96, allocations: 3.489 MB / 5.155 GB, free: 85.65 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004561/14.97, allocations: 2.358 MB / 5.157 GB, free: 85.21 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/14.97, allocations: 0 / 5.157 GB, free: 85.21 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/14.97, allocations: 0.8298 MB / 5.158 GB, free: 84.98 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004938/14.97, allocations: 0.9612 MB / 5.159 GB, free: 84.95 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00873/14.98, allocations: 4.823 MB / 5.163 GB, free: 82.96 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/14.98, allocations: 1.633 MB / 5.165 GB, free: 82.22 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002805/14.98, allocations: 0.5048 MB / 5.166 GB, free: 82.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004517/14.98, allocations: 144.2 kB / 5.166 GB, free: 82.2 MB / 0.9948 GB Notification: Performance of SimCode: time 1.172e-06/14.99, allocations: 0 / 5.166 GB, free: 82.2 MB / 0.9948 GB Notification: Performance of Templates: time 0.1119/15.1, allocations: 68.88 MB / 5.233 GB, free: 79.03 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)