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.648/1.648, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.0014/0.0014, allocations: 172.9 kB / 361.4 MB, free: 6.809 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.611/1.611, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.00087/0.0008701, allocations: 97.81 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.293e-05/2.296e-05, allocations: 4 kB / 0.8517 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.719/0.7191, allocations: 115.3 MB / 0.9644 GB, free: 78.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.775/6.494, allocations: 2.121 GB / 3.085 GB, free: 279.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/6.495, allocations: 94.45 kB / 3.085 GB, free: 279.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.115/13.61, allocations: 1.962 GB / 5.047 GB, free: 119.5 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.525e-06/13.61, allocations: 0 / 5.047 GB, free: 119.5 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002625/13.61, allocations: 69.58 kB / 5.047 GB, free: 119.5 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.007114/13.62, allocations: 2.6 MB / 5.05 GB, free: 118.4 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/13.62, allocations: 11.41 kB / 5.05 GB, free: 118.4 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005466/13.62, allocations: 0.7975 MB / 5.051 GB, free: 118.2 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005886/13.63, allocations: 2.34 MB / 5.053 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.306e-05/13.63, allocations: 49.17 kB / 5.053 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/13.63, allocations: 98.89 kB / 5.053 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002387/13.63, allocations: 1.269 MB / 5.054 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/13.63, allocations: 1.499 MB / 5.056 GB, free: 117.6 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/13.63, allocations: 1.969 kB / 5.056 GB, free: 117.6 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/13.63, allocations: 6.938 kB / 5.056 GB, free: 117.6 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.685e-05/13.63, allocations: 54.77 kB / 5.056 GB, free: 117.6 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.01078/13.64, allocations: 7.787 MB / 5.064 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/13.65, allocations: 1.611 MB / 5.065 GB, free: 113 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007045/13.65, allocations: 0.5376 MB / 5.066 GB, free: 113 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00042/13.65, allocations: 215.3 kB / 5.066 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000788/13.65, allocations: 0.5406 MB / 5.066 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00113/13.65, allocations: 99.52 kB / 5.067 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=102): time 4.789e-06/13.65, allocations: 0 / 5.067 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=105): time 0.005854/13.65, allocations: 2.769 MB / 5.069 GB, free: 112.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/13.65, allocations: 164.5 kB / 5.069 GB, free: 111.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/13.66, allocations: 1.2 MB / 5.071 GB, free: 111.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.852e-05/13.66, allocations: 29.2 kB / 5.071 GB, free: 111.6 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007799/13.66, allocations: 0.9705 MB / 5.072 GB, free: 111.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/13.66, allocations: 349.1 kB / 5.072 GB, free: 111.1 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/13.66, allocations: 0 / 5.072 GB, free: 111.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001026/13.66, allocations: 356.2 kB / 5.072 GB, free: 110.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005724/13.66, allocations: 426.9 kB / 5.073 GB, free: 110.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007362/13.66, allocations: 0.7804 MB / 5.073 GB, free: 110.3 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.004516/13.66, allocations: 1.793 MB / 5.075 GB, free: 110.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/13.66, allocations: 6.922 kB / 5.075 GB, free: 110.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002577/13.67, allocations: 1.402 MB / 5.077 GB, free: 110 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006488/13.67, allocations: 3.031 MB / 5.079 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/13.67, allocations: 13.25 kB / 5.079 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000164/13.67, allocations: 42.94 kB / 5.08 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/13.67, allocations: 286.6 kB / 5.08 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009621/13.67, allocations: 1.444 MB / 5.081 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/13.67, allocations: 133.8 kB / 5.081 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/13.67, allocations: 56.09 kB / 5.081 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/13.67, allocations: 3.906 kB / 5.081 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002033/13.67, allocations: 1.169 MB / 5.083 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/13.67, allocations: 8.75 kB / 5.083 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001132/13.67, allocations: 51.38 kB / 5.083 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/13.67, allocations: 280.8 kB / 5.083 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000833/13.68, allocations: 1.436 MB / 5.084 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/13.68, allocations: 141 kB / 5.084 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/13.68, allocations: 61.22 kB / 5.084 GB, free: 104.2 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.0003848/13.68, allocations: 140.4 kB / 5.085 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/13.68, allocations: 195.5 kB / 5.085 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/13.68, allocations: 1.205 MB / 5.086 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/13.68, allocations: 10.47 kB / 5.086 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/13.68, allocations: 7.234 kB / 5.086 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001414/13.68, allocations: 0.9859 MB / 5.087 GB, free: 103.8 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.005224/13.69, allocations: 3.157 MB / 5.09 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/13.69, allocations: 0 / 5.09 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/13.69, allocations: 231.2 kB / 5.09 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002125/13.69, allocations: 71.25 kB / 5.09 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.705e-05/13.69, allocations: 13.42 kB / 5.09 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/13.69, allocations: 2.671 MB / 5.093 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/13.69, allocations: 7.234 kB / 5.093 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/13.69, allocations: 1.947 MB / 5.095 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009383/13.69, allocations: 367.1 kB / 5.095 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/13.69, allocations: 9.266 kB / 5.095 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/13.7, allocations: 133.9 kB / 5.095 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/13.7, allocations: 84.58 kB / 5.095 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.018e-05/13.7, allocations: 43.34 kB / 5.095 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001361/13.7, allocations: 0.9009 MB / 5.096 GB, free: 99.94 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.7e-07/13.7, allocations: 0 / 5.096 GB, free: 99.94 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004195/13.7, allocations: 1.166 MB / 5.097 GB, free: 99.88 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.005277/13.71, allocations: 3.65 MB / 5.101 GB, free: 98.51 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003167/13.71, allocations: 2.129 MB / 5.103 GB, free: 98.08 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/13.71, allocations: 3.5 kB / 5.103 GB, free: 98.08 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008966/13.71, allocations: 0.7207 MB / 5.104 GB, free: 97.87 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004565/13.72, allocations: 0.9389 MB / 5.105 GB, free: 97.84 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006354/13.72, allocations: 3.138 MB / 5.108 GB, free: 97.03 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/13.72, allocations: 1.626 MB / 5.109 GB, free: 96.29 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003145/13.73, allocations: 0.6874 MB / 5.11 GB, free: 96.27 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/13.73, allocations: 121.4 kB / 5.11 GB, free: 96.27 MB / 0.9792 GB Notification: Performance of SimCode: time 1.212e-06/13.73, allocations: 0 / 5.11 GB, free: 96.27 MB / 0.9792 GB Notification: Performance of Templates: time 0.08012/13.81, allocations: 53.5 MB / 5.162 GB, free: 92.97 MB / 0.9792 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)