Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.386/2.386, allocations: 285 MB / 292.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001505, allocations: 188.8 kB / 360.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.3 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 89.84 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.734e-05/2.731e-05, allocations: 4 kB / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8132/0.8133, allocations: 115.3 MB / 0.9634 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.628/7.442, allocations: 2.121 GB / 3.084 GB, free: 277.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/7.442, allocations: 92.56 kB / 3.084 GB, free: 277.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.22/17.66, allocations: 1.962 GB / 5.046 GB, free: 123.2 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.615e-06/17.66, allocations: 0 / 5.046 GB, free: 123.2 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004647/17.66, allocations: 63.55 kB / 5.046 GB, free: 123.2 MB / 0.9792 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.009881/17.67, allocations: 2.607 MB / 5.049 GB, free: 122.1 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/17.67, allocations: 9.219 kB / 5.049 GB, free: 122.1 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008444/17.68, allocations: 0.7962 MB / 5.05 GB, free: 121.9 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009986/17.69, allocations: 2.35 MB / 5.052 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/17.69, allocations: 48.97 kB / 5.052 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007729/17.69, allocations: 97.62 kB / 5.052 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004455/17.7, allocations: 1.261 MB / 5.053 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005231/17.7, allocations: 1.494 MB / 5.055 GB, free: 121.3 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.868e-05/17.7, allocations: 9.812 kB / 5.055 GB, free: 121.3 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002433/17.7, allocations: 3.312 kB / 5.055 GB, free: 121.3 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.88e-05/17.7, allocations: 53.2 kB / 5.055 GB, free: 121.3 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.01843/17.72, allocations: 7.792 MB / 5.063 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002536/17.73, allocations: 1.6 MB / 5.064 GB, free: 116.7 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/17.73, allocations: 0.5385 MB / 5.065 GB, free: 116.7 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000661/17.73, allocations: 214 kB / 5.065 GB, free: 116.5 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001342/17.73, allocations: 0.5457 MB / 5.065 GB, free: 116.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001532/17.73, allocations: 105.2 kB / 5.065 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=102): time 7.044e-06/17.73, allocations: 0 / 5.065 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=105): time 0.01115/17.74, allocations: 2.758 MB / 5.068 GB, free: 115.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/17.74, allocations: 177.1 kB / 5.068 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/17.74, allocations: 1.201 MB / 5.069 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0004119/17.75, allocations: 29.3 kB / 5.07 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001229/17.75, allocations: 0.956 MB / 5.07 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006488/17.75, allocations: 352.1 kB / 5.071 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/17.75, allocations: 6.75 kB / 5.071 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001194/17.75, allocations: 350.1 kB / 5.071 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009933/17.75, allocations: 419.9 kB / 5.072 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/17.75, allocations: 0.7829 MB / 5.072 GB, free: 114 MB / 0.9792 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.008924/17.76, allocations: 1.794 MB / 5.074 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/17.76, allocations: 3.75 kB / 5.074 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004586/17.76, allocations: 1.408 MB / 5.075 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006872/17.76, allocations: 3.035 MB / 5.078 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.384e-05/17.76, allocations: 9.484 kB / 5.078 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002794/17.76, allocations: 51.89 kB / 5.078 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/17.77, allocations: 285.3 kB / 5.079 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/17.77, allocations: 1.435 MB / 5.08 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/17.77, allocations: 136.2 kB / 5.08 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004231/17.77, allocations: 52.94 kB / 5.08 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/17.77, allocations: 5.094 kB / 5.08 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003679/17.78, allocations: 1.173 MB / 5.081 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-05/17.78, allocations: 10.5 kB / 5.081 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001766/17.78, allocations: 45.8 kB / 5.082 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/17.78, allocations: 280.4 kB / 5.082 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/17.78, allocations: 1.443 MB / 5.083 GB, free: 107.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003437/17.78, allocations: 136.3 kB / 5.083 GB, free: 107.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00039/17.78, allocations: 52.55 kB / 5.083 GB, free: 107.9 MB / 0.9792 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005065/17.78, allocations: 147.9 kB / 5.084 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006159/17.78, allocations: 189.7 kB / 5.084 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/17.79, allocations: 1.215 MB / 5.085 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/17.79, allocations: 10.12 kB / 5.085 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/17.79, allocations: 7.281 kB / 5.085 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002778/17.79, allocations: 0.9854 MB / 5.086 GB, free: 107.4 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.009556/17.8, allocations: 3.158 MB / 5.089 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/17.8, allocations: 1.406 kB / 5.089 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002192/17.8, allocations: 239.4 kB / 5.089 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003757/17.8, allocations: 71.72 kB / 5.089 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/17.8, allocations: 13.45 kB / 5.089 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/17.81, allocations: 2.656 MB / 5.092 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/17.81, allocations: 0 / 5.092 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004817/17.81, allocations: 1.947 MB / 5.094 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/17.81, allocations: 367.8 kB / 5.094 GB, free: 103.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006645/17.81, allocations: 6.031 kB / 5.094 GB, free: 103.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00309/17.82, allocations: 139.2 kB / 5.094 GB, free: 103.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003778/17.82, allocations: 76.78 kB / 5.094 GB, free: 103.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/17.82, allocations: 38.27 kB / 5.094 GB, free: 103.8 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002163/17.82, allocations: 0.9045 MB / 5.095 GB, free: 103.6 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.91e-07/17.82, allocations: 0 / 5.095 GB, free: 103.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007358/17.83, allocations: 1.174 MB / 5.096 GB, free: 103.5 MB / 0.9792 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 99 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007058/17.83, allocations: 3.65 MB / 5.1 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005118/17.84, allocations: 2.135 MB / 5.102 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/17.84, allocations: 3.094 kB / 5.102 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/17.84, allocations: 0.7128 MB / 5.103 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007795/17.85, allocations: 0.9292 MB / 5.104 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/17.86, allocations: 3.145 MB / 5.107 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/17.86, allocations: 1.637 MB / 5.108 GB, free: 99.96 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005671/17.87, allocations: 0.681 MB / 5.109 GB, free: 99.94 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007146/17.87, allocations: 118.4 kB / 5.109 GB, free: 99.93 MB / 0.9792 GB Notification: Performance of SimCode: time 1.563e-06/17.87, allocations: 0 / 5.109 GB, free: 99.93 MB / 0.9792 GB Notification: Performance of Templates: time 0.1482/18.02, allocations: 53.52 MB / 5.161 GB, free: 96.35 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)