Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.555/2.555, allocations: 287.5 MB / 303.2 MB, free: 8.293 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.002093/0.002093, allocations: 181.9 kB / 371.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 0.6305 GB, free: 10.53 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.001191/0.001191, allocations: 94.33 kB / 0.7438 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005339/0.0005341, allocations: 16.41 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2181, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.409/6.627, allocations: 2.128 GB / 3.107 GB, free: 181.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/6.627, allocations: 99.95 kB / 3.107 GB, free: 181.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.91/17.54, allocations: 2.047 GB / 5.155 GB, free: 135.5 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.214e-06/17.54, allocations: 0 / 5.155 GB, free: 135.5 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000381/17.54, allocations: 53.33 kB / 5.155 GB, free: 135.5 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.01182/17.55, allocations: 2.937 MB / 5.158 GB, free: 134.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/17.55, allocations: 10.62 kB / 5.158 GB, free: 134.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008022/17.56, allocations: 0.7758 MB / 5.158 GB, free: 134.6 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009505/17.57, allocations: 2.258 MB / 5.161 GB, free: 134.1 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/17.57, allocations: 110.9 kB / 5.161 GB, free: 134.1 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000641/17.57, allocations: 144.6 kB / 5.161 GB, free: 134.1 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005629/17.58, allocations: 1.615 MB / 5.162 GB, free: 133.9 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.317e-05/17.58, allocations: 5.688 kB / 5.162 GB, free: 133.9 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002393/17.58, allocations: 57.97 kB / 5.162 GB, free: 133.9 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.344e-05/17.58, allocations: 45.44 kB / 5.162 GB, free: 133.9 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005565/17.58, allocations: 1.272 MB / 5.164 GB, free: 133.8 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.01675/17.6, allocations: 7.404 MB / 5.171 GB, free: 130 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003674/17.6, allocations: 1.506 MB / 5.172 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/17.6, allocations: 483.8 kB / 5.173 GB, free: 129.2 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001574/17.61, allocations: 0.753 MB / 5.174 GB, free: 128.5 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001742/17.61, allocations: 0.5208 MB / 5.174 GB, free: 128.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001419/17.61, allocations: 129.4 kB / 5.174 GB, free: 128.4 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=84): time 6.673e-06/17.61, allocations: 0 / 5.174 GB, free: 128.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=84): time 0.006197/17.62, allocations: 1.495 MB / 5.176 GB, free: 128.2 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/17.62, allocations: 163.9 kB / 5.176 GB, free: 128 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003633/17.62, allocations: 1.57 MB / 5.177 GB, free: 127.7 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003556/17.62, allocations: 47.58 kB / 5.177 GB, free: 127.7 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001256/17.62, allocations: 0.9295 MB / 5.178 GB, free: 127.5 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005396/17.62, allocations: 295.1 kB / 5.179 GB, free: 127.3 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/17.62, allocations: 20.66 kB / 5.179 GB, free: 127.3 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001208/17.62, allocations: 352.4 kB / 5.179 GB, free: 127 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/17.62, allocations: 403.5 kB / 5.179 GB, free: 127 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/17.62, allocations: 0.7999 MB / 5.18 GB, free: 126.6 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003554/17.63, allocations: 1.148 MB / 5.181 GB, free: 126.2 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/17.63, allocations: 3.594 kB / 5.181 GB, free: 126.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005002/17.63, allocations: 1.361 MB / 5.183 GB, free: 126 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002563/17.63, allocations: 382.7 kB / 5.183 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.69e-05/17.63, allocations: 12.58 kB / 5.183 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.822e-05/17.63, allocations: 14.44 kB / 5.183 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/17.64, allocations: 259.9 kB / 5.183 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.011e-05/17.64, allocations: 22.34 kB / 5.183 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002847/17.64, allocations: 142 kB / 5.183 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/17.64, allocations: 52.88 kB / 5.183 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/17.64, allocations: 7.438 kB / 5.183 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004143/17.64, allocations: 1.173 MB / 5.185 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.922e-05/17.64, allocations: 13.02 kB / 5.185 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/17.64, allocations: 18.19 kB / 5.185 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002063/17.65, allocations: 261.3 kB / 5.185 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.222e-05/17.65, allocations: 16.97 kB / 5.185 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002902/17.65, allocations: 141.9 kB / 5.185 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/17.65, allocations: 60.27 kB / 5.185 GB, free: 125.5 MB / 0.9948 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 () * Number of clocked 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.001646/17.65, allocations: 0.5429 MB / 5.186 GB, free: 125.4 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006046/17.65, allocations: 178.5 kB / 5.186 GB, free: 125.3 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004125/17.66, allocations: 1.122 MB / 5.187 GB, free: 125.2 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/17.66, allocations: 8 kB / 5.187 GB, free: 125.2 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/17.66, allocations: 0 / 5.187 GB, free: 125.2 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003222/17.66, allocations: 1.172 MB / 5.188 GB, free: 124.7 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.00874/17.67, allocations: 2.789 MB / 5.191 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/17.67, allocations: 1.312 kB / 5.191 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/17.67, allocations: 181.5 kB / 5.191 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003067/17.67, allocations: 41.81 kB / 5.191 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/17.67, allocations: 30.47 kB / 5.191 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/17.67, allocations: 1.418 MB / 5.192 GB, free: 122.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/17.67, allocations: 1.312 kB / 5.192 GB, free: 122.9 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005683/17.68, allocations: 1.669 MB / 5.194 GB, free: 122.6 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/17.68, allocations: 338.8 kB / 5.194 GB, free: 122.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004072/17.68, allocations: 18.72 kB / 5.194 GB, free: 122.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002257/17.68, allocations: 143.9 kB / 5.194 GB, free: 122.4 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/17.68, allocations: 67.42 kB / 5.195 GB, free: 122.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/17.68, allocations: 35.47 kB / 5.195 GB, free: 122.4 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002143/17.68, allocations: 1.045 MB / 5.196 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.81e-07/17.68, allocations: 0 / 5.196 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006527/17.69, allocations: 1.329 MB / 5.197 GB, free: 122.1 MB / 0.9948 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) * Number of clocked states: 0 () * 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.007124/17.7, allocations: 3.644 MB / 5.2 GB, free: 120.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005485/17.7, allocations: 1.762 MB / 5.202 GB, free: 120.6 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/17.7, allocations: 0 / 5.202 GB, free: 120.6 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/17.7, allocations: 0.5788 MB / 5.203 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007257/17.71, allocations: 0.7834 MB / 5.203 GB, free: 120.4 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/17.72, allocations: 4.382 MB / 5.208 GB, free: 118.6 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001499/17.73, allocations: 1.492 MB / 5.209 GB, free: 117.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003631/17.73, allocations: 467.2 kB / 5.21 GB, free: 117.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000744/17.73, allocations: 132.2 kB / 5.21 GB, free: 117.9 MB / 0.9948 GB Notification: Performance of SimCode: time 1.773e-06/17.73, allocations: 0 / 5.21 GB, free: 117.9 MB / 0.9948 GB Notification: Performance of Templates: time 0.1442/17.87, allocations: 62.74 MB / 5.271 GB, free: 115.8 MB / 0.9948 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)