Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.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_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.535/2.535, allocations: 285 MB / 292.5 MB, free: 10.57 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.001473/0.001472, allocations: 180.9 kB / 360.7 MB, free: 7.273 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.979/1.979, allocations: 205.3 MB / 0.6192 GB, free: 12.16 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.001083/0.001083, allocations: 93.2 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.197e-05/2.209e-05, allocations: 4 kB / 0.8509 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8124/0.8125, allocations: 115.3 MB / 0.9634 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.739/7.552, allocations: 2.127 GB / 3.091 GB, free: 280.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/7.552, allocations: 96.78 kB / 3.091 GB, free: 280.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.55/18.11, allocations: 2.048 GB / 5.138 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.165e-06/18.11, allocations: 0 / 5.138 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004038/18.11, allocations: 59.09 kB / 5.138 GB, free: 115.1 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.009102/18.12, allocations: 2.442 MB / 5.141 GB, free: 113.9 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/18.12, allocations: 10 kB / 5.141 GB, free: 113.9 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008175/18.12, allocations: 0.7754 MB / 5.142 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009318/18.13, allocations: 2.214 MB / 5.144 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.995e-05/18.13, allocations: 44.5 kB / 5.144 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004776/18.13, allocations: 89.88 kB / 5.144 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003405/18.14, allocations: 1.071 MB / 5.145 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003987/18.14, allocations: 1.33 MB / 5.146 GB, free: 113 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.225e-05/18.14, allocations: 0 / 5.146 GB, free: 113 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002043/18.14, allocations: 6.906 kB / 5.146 GB, free: 113 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-05/18.14, allocations: 45.78 kB / 5.146 GB, free: 113 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.01501/18.16, allocations: 7.173 MB / 5.153 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/18.16, allocations: 1.358 MB / 5.155 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000901/18.16, allocations: 404.2 kB / 5.155 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/18.16, allocations: 0.7488 MB / 5.156 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/18.16, allocations: 456.3 kB / 5.156 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001286/18.16, allocations: 106.5 kB / 5.156 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=84): time 5.28e-06/18.16, allocations: 0 / 5.156 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=84): time 0.009747/18.17, allocations: 1.499 MB / 5.158 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/18.17, allocations: 173.2 kB / 5.158 GB, free: 106 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002729/18.18, allocations: 1.229 MB / 5.159 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003124/18.18, allocations: 29.36 kB / 5.159 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/18.18, allocations: 0.931 MB / 5.16 GB, free: 104.7 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004218/18.18, allocations: 281.7 kB / 5.16 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.077e-05/18.18, allocations: 1.031 kB / 5.16 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001052/18.18, allocations: 351.7 kB / 5.161 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007873/18.18, allocations: 336.3 kB / 5.161 GB, free: 104 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/18.18, allocations: 0.7146 MB / 5.162 GB, free: 103.4 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007676/18.19, allocations: 1.025 MB / 5.163 GB, free: 103.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.642e-05/18.19, allocations: 0 / 5.163 GB, free: 103.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.009857/18.2, allocations: 1.746 MB / 5.164 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008275/18.2, allocations: 3.482 MB / 5.168 GB, free: 99 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.644e-05/18.2, allocations: 10.47 kB / 5.168 GB, free: 99 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.184e-05/18.2, allocations: 16.75 kB / 5.168 GB, free: 99 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002163/18.2, allocations: 261.9 kB / 5.168 GB, free: 98.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.141e-05/18.2, allocations: 23.11 kB / 5.168 GB, free: 98.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/18.2, allocations: 125.1 kB / 5.168 GB, free: 98.96 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/18.2, allocations: 52.8 kB / 5.168 GB, free: 98.95 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/18.2, allocations: 3.812 kB / 5.168 GB, free: 98.95 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009034/18.21, allocations: 1.51 MB / 5.17 GB, free: 98.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/18.21, allocations: 9.969 kB / 5.17 GB, free: 98.59 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/18.21, allocations: 14.91 kB / 5.17 GB, free: 98.59 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/18.22, allocations: 259.1 kB / 5.17 GB, free: 98.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/18.22, allocations: 15.69 kB / 5.17 GB, free: 98.56 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/18.22, allocations: 133 kB / 5.17 GB, free: 98.55 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002133/18.22, allocations: 50.25 kB / 5.17 GB, free: 98.54 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.000382/18.22, allocations: 140.2 kB / 5.17 GB, free: 98.41 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004515/18.22, allocations: 178.1 kB / 5.17 GB, free: 98.32 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00929/18.23, allocations: 1.527 MB / 5.172 GB, free: 97.89 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/18.23, allocations: 6.531 kB / 5.172 GB, free: 97.89 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/18.23, allocations: 1.938 kB / 5.172 GB, free: 97.89 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008353/18.24, allocations: 1.598 MB / 5.174 GB, free: 97.17 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.01346/18.25, allocations: 3.067 MB / 5.177 GB, free: 95.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/18.25, allocations: 0 / 5.177 GB, free: 95.93 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/18.25, allocations: 187.7 kB / 5.177 GB, free: 95.91 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002885/18.25, allocations: 40.06 kB / 5.177 GB, free: 95.9 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/18.25, allocations: 17.09 kB / 5.177 GB, free: 95.89 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/18.25, allocations: 1.384 MB / 5.178 GB, free: 94.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/18.25, allocations: 2.125 kB / 5.178 GB, free: 94.59 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/18.26, allocations: 2.107 MB / 5.18 GB, free: 93.75 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/18.27, allocations: 337 kB / 5.18 GB, free: 93.51 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003235/18.27, allocations: 7.891 kB / 5.18 GB, free: 93.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/18.27, allocations: 130.1 kB / 5.181 GB, free: 93.5 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/18.27, allocations: 59.44 kB / 5.181 GB, free: 93.49 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/18.27, allocations: 32.77 kB / 5.181 GB, free: 93.48 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001871/18.27, allocations: 0.9176 MB / 5.182 GB, free: 93.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.784e-06/18.27, allocations: 0 / 5.182 GB, free: 93.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006586/18.28, allocations: 1.213 MB / 5.183 GB, free: 92.76 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.007236/18.28, allocations: 3.747 MB / 5.186 GB, free: 91.23 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003544/18.29, allocations: 1.572 MB / 5.188 GB, free: 90.52 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/18.29, allocations: 3.219 kB / 5.188 GB, free: 90.52 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/18.29, allocations: 0.4961 MB / 5.188 GB, free: 90.27 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006089/18.29, allocations: 0.7604 MB / 5.189 GB, free: 90.09 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009522/18.3, allocations: 2.815 MB / 5.192 GB, free: 87.56 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/18.31, allocations: 1.541 MB / 5.193 GB, free: 86.3 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004846/18.31, allocations: 0.6579 MB / 5.194 GB, free: 85.85 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005756/18.31, allocations: 103 kB / 5.194 GB, free: 85.75 MB / 0.9792 GB Notification: Performance of SimCode: time 1.242e-06/18.31, allocations: 0 / 5.194 GB, free: 85.75 MB / 0.9792 GB Notification: Performance of Templates: time 0.1192/18.43, allocations: 47.71 MB / 5.241 GB, free: 41.2 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)