Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.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_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.739/1.739, allocations: 285.4 MB / 298 MB, free: 6.004 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.001499/0.001498, allocations: 176.9 kB / 366.4 MB, free: 2.09 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.726/1.726, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.000896/0.0008962, allocations: 101.1 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.262e-05/3.265e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7922/0.7922, allocations: 115.3 MB / 0.9709 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.021/6.813, allocations: 2.128 GB / 3.099 GB, free: 278.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/6.813, allocations: 95.95 kB / 3.099 GB, free: 278.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.542/14.36, allocations: 2.07 GB / 5.169 GB, free: 81.09 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.673e-06/14.36, allocations: 0 / 5.169 GB, free: 81.09 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004664/14.36, allocations: 62.98 kB / 5.169 GB, free: 81.04 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.009075/14.37, allocations: 2.444 MB / 5.171 GB, free: 78.54 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/14.37, allocations: 12.03 kB / 5.171 GB, free: 78.53 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006167/14.37, allocations: 0.7813 MB / 5.172 GB, free: 77.75 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008549/14.38, allocations: 2.207 MB / 5.174 GB, free: 75.49 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/14.38, allocations: 106.6 kB / 5.174 GB, free: 75.39 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007074/14.38, allocations: 147.9 kB / 5.174 GB, free: 75.24 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003809/14.38, allocations: 1.524 MB / 5.176 GB, free: 73.62 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.993e-05/14.38, allocations: 0 / 5.176 GB, free: 73.62 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/14.39, allocations: 60 kB / 5.176 GB, free: 73.57 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.268e-05/14.39, allocations: 46.48 kB / 5.176 GB, free: 73.52 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/14.39, allocations: 1.131 MB / 5.177 GB, free: 72.38 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.009843/14.4, allocations: 7.4 MB / 5.184 GB, free: 64.42 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/14.4, allocations: 1.359 MB / 5.186 GB, free: 62.93 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005978/14.4, allocations: 419.6 kB / 5.186 GB, free: 62.51 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/14.4, allocations: 0.7593 MB / 5.187 GB, free: 61.61 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006825/14.4, allocations: 466 kB / 5.187 GB, free: 61.14 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001071/14.4, allocations: 123.2 kB / 5.187 GB, free: 61.02 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=84): time 3.266e-06/14.4, allocations: 0 / 5.187 GB, free: 61.02 MB / 0.9792 GB Notification: Performance of matching and sorting (n=84): time 0.001824/14.4, allocations: 0.929 MB / 5.188 GB, free: 60.07 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/14.4, allocations: 174.9 kB / 5.188 GB, free: 59.87 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/14.41, allocations: 1.334 MB / 5.19 GB, free: 58.48 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.388e-05/14.41, allocations: 49.7 kB / 5.19 GB, free: 58.43 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007378/14.41, allocations: 0.9321 MB / 5.191 GB, free: 57.49 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/14.41, allocations: 303.6 kB / 5.191 GB, free: 57.19 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/14.41, allocations: 24 kB / 5.191 GB, free: 57.16 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.727e-05/14.41, allocations: 349.9 kB / 5.191 GB, free: 56.82 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/14.41, allocations: 346.5 kB / 5.192 GB, free: 56.48 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006826/14.41, allocations: 0.7344 MB / 5.192 GB, free: 55.57 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006387/14.41, allocations: 480.8 kB / 5.193 GB, free: 55.1 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/14.41, allocations: 4 kB / 5.193 GB, free: 55.09 MB / 0.9792 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00183/14.41, allocations: 1.241 MB / 5.194 GB, free: 53.84 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007348/14.41, allocations: 3.486 MB / 5.197 GB, free: 50.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/14.41, allocations: 8 kB / 5.197 GB, free: 50.07 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.385e-05/14.41, allocations: 16 kB / 5.197 GB, free: 50.05 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/14.41, allocations: 259.6 kB / 5.198 GB, free: 49.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.105e-05/14.41, allocations: 19.94 kB / 5.198 GB, free: 49.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/14.41, allocations: 147.7 kB / 5.198 GB, free: 49.63 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/14.41, allocations: 51.98 kB / 5.198 GB, free: 49.58 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/14.41, allocations: 4.938 kB / 5.198 GB, free: 49.58 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001532/14.42, allocations: 1.062 MB / 5.199 GB, free: 48.51 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/14.42, allocations: 15.94 kB / 5.199 GB, free: 48.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/14.42, allocations: 16 kB / 5.199 GB, free: 48.48 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009309/14.42, allocations: 256 kB / 5.199 GB, free: 48.23 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/14.42, allocations: 19.94 kB / 5.199 GB, free: 48.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/14.42, allocations: 143.8 kB / 5.199 GB, free: 48.07 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.415e-05/14.42, allocations: 51.98 kB / 5.199 GB, free: 48.02 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (134): * Single equations (assignments): 130 * 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.0002677/14.42, allocations: 176.6 kB / 5.199 GB, free: 47.84 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/14.42, allocations: 185.7 kB / 5.2 GB, free: 47.66 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/14.42, allocations: 0.9962 MB / 5.201 GB, free: 46.65 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/14.42, allocations: 8 kB / 5.201 GB, free: 46.64 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/14.42, allocations: 0 / 5.201 GB, free: 46.64 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/14.42, allocations: 1.054 MB / 5.202 GB, free: 45.5 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.004419/14.43, allocations: 2.69 MB / 5.204 GB, free: 42.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/14.43, allocations: 4 kB / 5.204 GB, free: 42.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008551/14.43, allocations: 171.8 kB / 5.204 GB, free: 42.53 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002208/14.43, allocations: 44.95 kB / 5.205 GB, free: 42.48 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.229e-05/14.43, allocations: 27.98 kB / 5.205 GB, free: 42.46 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/14.43, allocations: 1.409 MB / 5.206 GB, free: 40.91 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/14.43, allocations: 4 kB / 5.206 GB, free: 40.91 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/14.43, allocations: 1.566 MB / 5.207 GB, free: 39.27 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008371/14.43, allocations: 334.7 kB / 5.208 GB, free: 38.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/14.43, allocations: 27.98 kB / 5.208 GB, free: 38.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/14.43, allocations: 139.7 kB / 5.208 GB, free: 38.76 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/14.43, allocations: 64.62 kB / 5.208 GB, free: 38.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.819e-05/14.43, allocations: 27.98 kB / 5.208 GB, free: 38.67 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001653/14.43, allocations: 1.039 MB / 5.209 GB, free: 37.6 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.3e-07/14.43, allocations: 0 / 5.209 GB, free: 37.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006199/14.44, allocations: 1.329 MB / 5.21 GB, free: 36.27 MB / 0.9792 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) * 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.006227/14.45, allocations: 3.594 MB / 5.214 GB, free: 32.54 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002606/14.45, allocations: 1.642 MB / 5.215 GB, free: 30.86 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/14.45, allocations: 8.125 kB / 5.215 GB, free: 30.86 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007955/14.45, allocations: 0.515 MB / 5.216 GB, free: 30.33 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004107/14.45, allocations: 0.7874 MB / 5.217 GB, free: 29.56 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006423/14.46, allocations: 2.875 MB / 5.22 GB, free: 26.66 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008826/14.46, allocations: 1.542 MB / 5.221 GB, free: 25.08 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003007/14.47, allocations: 0.6592 MB / 5.222 GB, free: 24.45 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/14.47, allocations: 111.4 kB / 5.222 GB, free: 24.34 MB / 0.9792 GB Notification: Performance of SimCode: time 1.713e-06/14.47, allocations: 0 / 5.222 GB, free: 24.34 MB / 0.9792 GB Notification: Performance of Templates: time 0.8366/15.3, allocations: 73.32 MB / 5.293 GB, free: 126.8 MB / 0.9948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)