Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.679/1.679, allocations: 288.3 MB / 303.2 MB, free: 8.195 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.001305/0.001305, allocations: 186.5 kB / 371.8 MB, free: 10.25 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.657/1.657, allocations: 205.4 MB / 0.6306 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 83.2 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004244/0.0004245, allocations: 16.3 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2116, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.504/4.716, allocations: 2.122 GB / 3.101 GB, free: 146.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/4.716, allocations: 98.39 kB / 3.101 GB, free: 146.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.478/11.19, allocations: 1.985 GB / 5.086 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.505e-06/11.19, allocations: 0 / 5.086 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004583/11.19, allocations: 67.92 kB / 5.086 GB, free: 13.37 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.0113/11.21, allocations: 3.129 MB / 5.089 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/11.21, allocations: 12.03 kB / 5.089 GB, free: 10.15 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006211/11.21, allocations: 0.7891 MB / 5.09 GB, free: 9.355 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008376/11.22, allocations: 2.368 MB / 5.092 GB, free: 6.938 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/11.22, allocations: 119 kB / 5.092 GB, free: 6.82 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007094/11.22, allocations: 164 kB / 5.093 GB, free: 6.66 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005083/11.23, allocations: 1.796 MB / 5.094 GB, free: 4.785 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.875e-05/11.23, allocations: 3.984 kB / 5.094 GB, free: 4.781 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000345/11.23, allocations: 64 kB / 5.094 GB, free: 4.719 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.948e-05/11.23, allocations: 54.91 kB / 5.095 GB, free: 4.664 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003628/11.23, allocations: 1.456 MB / 5.096 GB, free: 3.203 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.6704/11.9, allocations: 8.047 MB / 5.104 GB, free: 121.4 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002862/11.9, allocations: 1.756 MB / 5.106 GB, free: 120.6 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005147/11.9, allocations: 208.9 kB / 5.106 GB, free: 120.4 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001506/11.91, allocations: 0.6346 MB / 5.106 GB, free: 120.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001611/11.91, allocations: 122.4 kB / 5.106 GB, free: 120.4 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=102): time 4.849e-06/11.91, allocations: 0 / 5.106 GB, free: 120.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=105): time 0.01094/11.92, allocations: 3.48 MB / 5.11 GB, free: 119.6 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/11.92, allocations: 167.7 kB / 5.11 GB, free: 119.4 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002849/11.92, allocations: 1.332 MB / 5.111 GB, free: 119.2 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002265/11.92, allocations: 53.42 kB / 5.111 GB, free: 119.2 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001103/11.92, allocations: 0.973 MB / 5.112 GB, free: 118.9 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004317/11.92, allocations: 366.3 kB / 5.113 GB, free: 118.8 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/11.92, allocations: 25.16 kB / 5.113 GB, free: 118.8 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001158/11.92, allocations: 353.9 kB / 5.113 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/11.93, allocations: 0.4895 MB / 5.114 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/11.93, allocations: 0.8611 MB / 5.114 GB, free: 118 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.01064/11.94, allocations: 2.328 MB / 5.117 GB, free: 117.9 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/11.94, allocations: 2.219 kB / 5.117 GB, free: 117.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004166/11.94, allocations: 1.591 MB / 5.118 GB, free: 117.7 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006423/11.94, allocations: 3.04 MB / 5.121 GB, free: 114.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.764e-05/11.94, allocations: 9.172 kB / 5.121 GB, free: 114.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002469/11.94, allocations: 56.62 kB / 5.121 GB, free: 114.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/11.94, allocations: 277.2 kB / 5.121 GB, free: 114.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/11.95, allocations: 1.578 MB / 5.123 GB, free: 113.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/11.95, allocations: 154.8 kB / 5.123 GB, free: 113.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002342/11.95, allocations: 57.45 kB / 5.123 GB, free: 113.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/11.95, allocations: 7.344 kB / 5.123 GB, free: 113.2 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003191/11.95, allocations: 1.405 MB / 5.125 GB, free: 113.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.126e-05/11.95, allocations: 12.84 kB / 5.125 GB, free: 113.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001803/11.95, allocations: 51.33 kB / 5.125 GB, free: 113.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/11.95, allocations: 282.2 kB / 5.125 GB, free: 113.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/11.95, allocations: 1.573 MB / 5.126 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/11.96, allocations: 165.2 kB / 5.127 GB, free: 111.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002113/11.96, allocations: 54.25 kB / 5.127 GB, free: 111.7 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.001727/11.96, allocations: 0.5903 MB / 5.127 GB, free: 111.6 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007253/11.96, allocations: 191 kB / 5.127 GB, free: 111.5 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003671/11.96, allocations: 1.37 MB / 5.129 GB, free: 111.4 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/11.96, allocations: 10.62 kB / 5.129 GB, free: 111.4 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/11.96, allocations: 2.25 kB / 5.129 GB, free: 111.4 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002378/11.97, allocations: 1.113 MB / 5.13 GB, free: 111.2 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.009107/11.97, allocations: 3.432 MB / 5.133 GB, free: 110.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/11.97, allocations: 0 / 5.133 GB, free: 110.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/11.98, allocations: 228.4 kB / 5.133 GB, free: 110.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002833/11.98, allocations: 83.03 kB / 5.134 GB, free: 110.6 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/11.98, allocations: 27.78 kB / 5.134 GB, free: 110.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/11.98, allocations: 2.937 MB / 5.136 GB, free: 108 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/11.98, allocations: 0 / 5.136 GB, free: 108 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003957/11.98, allocations: 2.144 MB / 5.138 GB, free: 107.6 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001406/11.98, allocations: 379.9 kB / 5.139 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000595/11.98, allocations: 25.59 kB / 5.139 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/11.99, allocations: 154.8 kB / 5.139 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/11.99, allocations: 75.84 kB / 5.139 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/11.99, allocations: 40.27 kB / 5.139 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002211/11.99, allocations: 1.032 MB / 5.14 GB, free: 107.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.1e-07/11.99, allocations: 2.562 kB / 5.14 GB, free: 107.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006149/11.99, allocations: 1.31 MB / 5.141 GB, free: 107.3 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.005898/12, allocations: 3.49 MB / 5.145 GB, free: 106 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004989/12.01, allocations: 2.356 MB / 5.147 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/12.01, allocations: 2.219 kB / 5.147 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/12.01, allocations: 0.8196 MB / 5.148 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005323/12.01, allocations: 0.9783 MB / 5.149 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/12.02, allocations: 4.82 MB / 5.154 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001904/12.02, allocations: 1.632 MB / 5.155 GB, free: 102.6 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003353/12.03, allocations: 0.5049 MB / 5.156 GB, free: 102.6 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007308/12.03, allocations: 146.5 kB / 5.156 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of SimCode: time 1.082e-06/12.03, allocations: 0 / 5.156 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of Templates: time 0.1044/12.13, allocations: 68.88 MB / 5.223 GB, free: 100.7 MB / 0.9948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)