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.661/1.661, allocations: 288.3 MB / 303.2 MB, free: 8.199 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.001066/0.001066, allocations: 185 kB / 371.8 MB, free: 10.29 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.656/1.656, allocations: 205.4 MB / 0.6306 GB, free: 9.949 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.0009353/0.0009351, allocations: 98.53 kB / 0.7439 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004459/0.0004459, allocations: 12.56 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2188, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.601/4.82, allocations: 2.128 GB / 3.107 GB, free: 135.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/4.82, allocations: 97.95 kB / 3.107 GB, free: 135.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.276/12.1, allocations: 2.072 GB / 5.179 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.623e-06/12.1, allocations: 0 / 5.179 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003087/12.1, allocations: 58.53 kB / 5.179 GB, free: 124.7 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.009483/12.11, allocations: 2.96 MB / 5.182 GB, free: 123.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/12.11, allocations: 8.125 kB / 5.182 GB, free: 123.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005539/12.11, allocations: 0.7832 MB / 5.183 GB, free: 123.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006757/12.12, allocations: 2.237 MB / 5.185 GB, free: 123.2 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.973e-05/12.12, allocations: 112.2 kB / 5.185 GB, free: 123.2 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000325/12.12, allocations: 146.5 kB / 5.185 GB, free: 123.2 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002883/12.12, allocations: 1.592 MB / 5.187 GB, free: 122.9 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.476e-05/12.12, allocations: 3.719 kB / 5.187 GB, free: 122.9 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/12.12, allocations: 54.81 kB / 5.187 GB, free: 122.9 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.59e-05/12.12, allocations: 50.52 kB / 5.187 GB, free: 122.9 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/12.12, allocations: 1.272 MB / 5.188 GB, free: 122.9 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.009984/12.13, allocations: 7.4 MB / 5.196 GB, free: 119 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/12.14, allocations: 1.496 MB / 5.197 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/12.14, allocations: 0.7563 MB / 5.198 GB, free: 117.6 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009385/12.14, allocations: 0.519 MB / 5.198 GB, free: 117.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00111/12.14, allocations: 129 kB / 5.198 GB, free: 117.5 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=84): time 4.639e-06/12.14, allocations: 2.875 kB / 5.198 GB, free: 117.5 MB / 0.9948 GB Notification: Performance of matching and sorting (n=84): time 0.003403/12.14, allocations: 1.498 MB / 5.2 GB, free: 117.2 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/12.14, allocations: 167 kB / 5.2 GB, free: 117 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/12.15, allocations: 1.362 MB / 5.201 GB, free: 116.8 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001494/12.15, allocations: 46.86 kB / 5.201 GB, free: 116.8 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007396/12.15, allocations: 0.9318 MB / 5.202 GB, free: 116.5 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/12.15, allocations: 299.8 kB / 5.203 GB, free: 116.4 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/12.15, allocations: 18.75 kB / 5.203 GB, free: 116.4 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.4e-05/12.15, allocations: 353.3 kB / 5.203 GB, free: 116.1 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007936/12.15, allocations: 405.9 kB / 5.203 GB, free: 116.1 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009541/12.15, allocations: 0.7915 MB / 5.204 GB, free: 115.6 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008987/12.15, allocations: 0.5273 MB / 5.205 GB, free: 115.6 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/12.15, allocations: 4.594 kB / 5.205 GB, free: 115.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002509/12.15, allocations: 1.359 MB / 5.206 GB, free: 115.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006602/12.15, allocations: 3.487 MB / 5.209 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/12.15, allocations: 14.25 kB / 5.209 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.148e-05/12.15, allocations: 17.94 kB / 5.209 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/12.15, allocations: 262.2 kB / 5.21 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/12.15, allocations: 14.97 kB / 5.21 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/12.16, allocations: 149.5 kB / 5.21 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/12.16, allocations: 54.3 kB / 5.21 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/12.16, allocations: 5.656 kB / 5.21 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002063/12.16, allocations: 1.176 MB / 5.211 GB, free: 111.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/12.16, allocations: 14.52 kB / 5.211 GB, free: 111.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/12.16, allocations: 18.34 kB / 5.211 GB, free: 111.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009566/12.16, allocations: 257.7 kB / 5.211 GB, free: 111.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/12.16, allocations: 23.8 kB / 5.211 GB, free: 111.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/12.16, allocations: 145.7 kB / 5.211 GB, free: 111.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.242e-05/12.16, allocations: 52.94 kB / 5.212 GB, free: 111.7 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.001301/12.16, allocations: 0.5412 MB / 5.212 GB, free: 111.5 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003273/12.16, allocations: 188.1 kB / 5.212 GB, free: 111.4 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/12.16, allocations: 1.1 MB / 5.213 GB, free: 111.3 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/12.16, allocations: 13.16 kB / 5.213 GB, free: 111.3 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/12.16, allocations: 3.938 kB / 5.213 GB, free: 111.3 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00168/12.17, allocations: 1.18 MB / 5.214 GB, free: 110.9 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.005254/12.17, allocations: 2.699 MB / 5.217 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/12.17, allocations: 9.719 kB / 5.217 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008633/12.17, allocations: 175.7 kB / 5.217 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002206/12.17, allocations: 41.42 kB / 5.217 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.56e-05/12.17, allocations: 21.95 kB / 5.217 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/12.17, allocations: 1.429 MB / 5.219 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/12.17, allocations: 3.953 kB / 5.219 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/12.18, allocations: 1.74 MB / 5.22 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009754/12.18, allocations: 336 kB / 5.221 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/12.18, allocations: 20.12 kB / 5.221 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/12.18, allocations: 149.6 kB / 5.221 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/12.18, allocations: 60.88 kB / 5.221 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.828e-05/12.18, allocations: 32.22 kB / 5.221 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001597/12.18, allocations: 1.041 MB / 5.222 GB, free: 108.4 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.91e-07/12.18, allocations: 0 / 5.222 GB, free: 108.4 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004842/12.19, allocations: 1.327 MB / 5.223 GB, free: 108.3 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.005827/12.19, allocations: 3.648 MB / 5.227 GB, free: 106.9 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003487/12.2, allocations: 1.761 MB / 5.229 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/12.2, allocations: 4 kB / 5.229 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/12.2, allocations: 0.5761 MB / 5.229 GB, free: 106.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004182/12.2, allocations: 0.7805 MB / 5.23 GB, free: 106.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008308/12.21, allocations: 4.381 MB / 5.234 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009722/12.21, allocations: 1.536 MB / 5.236 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002311/12.21, allocations: 460.9 kB / 5.236 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/12.21, allocations: 138 kB / 5.236 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of SimCode: time 1.994e-06/12.21, allocations: 0 / 5.236 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of Templates: time 0.08941/12.3, allocations: 62.57 MB / 5.297 GB, free: 101 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)