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.717/1.717, allocations: 288.3 MB / 303.2 MB, free: 8.07 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.001112/0.001112, allocations: 175.7 kB / 371.8 MB, free: 10.3 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.4 MB / 0.6306 GB, free: 10.04 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.0009899/0.0009897, allocations: 98.84 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004308, allocations: 16.25 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2521, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.7399/0.992, allocations: 193.9 MB / 1.169 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03332/1.025, allocations: 17.14 MB / 1.186 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004771/1.03, allocations: 69.81 kB / 1.186 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.005046/1.035, allocations: 1.196 MB / 1.187 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01337/1.049, allocations: 3.242 MB / 1.19 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01173/1.06, allocations: 3.035 MB / 1.193 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007514/1.068, allocations: 2.937 MB / 1.196 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003174/1.071, allocations: 1.408 MB / 1.197 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005241/1.076, allocations: 1.923 MB / 1.199 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/1.079, allocations: 1.054 MB / 1.2 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0006638/1.08, allocations: 80.81 kB / 1.2 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006213/1.086, allocations: 1.886 MB / 1.202 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001241/1.087, allocations: 0.5766 MB / 1.203 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001459/1.089, allocations: 470.3 kB / 1.203 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006536/1.095, allocations: 2.915 MB / 1.206 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/1.095, allocations: 0 / 1.206 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.961e-06/1.095, allocations: 7.922 kB / 1.206 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001727/1.096, allocations: 0 / 1.206 GB, free: 15.57 MB / 0.7448 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.007091/1.103, allocations: 2.455 MB / 1.208 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/1.103, allocations: 7.625 kB / 1.208 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005297/1.108, allocations: 0.8208 MB / 1.209 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004775/1.113, allocations: 1.612 MB / 1.211 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004346/1.113, allocations: 170.8 kB / 1.211 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004719/1.114, allocations: 144 kB / 1.211 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004226/1.118, allocations: 1.687 MB / 1.213 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/1.118, allocations: 3.984 kB / 1.213 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/1.118, allocations: 52 kB / 1.213 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.208e-05/1.118, allocations: 58.48 kB / 1.213 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003747/1.122, allocations: 1.474 MB / 1.214 GB, free: 7.855 MB / 0.7448 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.01244/1.135, allocations: 7.693 MB / 1.222 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002895/1.137, allocations: 1.652 MB / 1.223 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/1.139, allocations: 0.6401 MB / 1.224 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001242/1.14, allocations: 0.5673 MB / 1.224 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009541/1.141, allocations: 123.2 kB / 1.225 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=84): time 5.36e-06/1.141, allocations: 0 / 1.225 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of matching and sorting (n=84): time 0.004417/1.145, allocations: 1.661 MB / 1.226 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.4e-05/1.145, allocations: 137.5 kB / 1.226 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002601/1.148, allocations: 1.608 MB / 1.228 GB, free: 8.836 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/1.148, allocations: 53.69 kB / 1.228 GB, free: 8.777 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009088/1.149, allocations: 0.9283 MB / 1.229 GB, free: 7.84 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/1.149, allocations: 299.7 kB / 1.229 GB, free: 7.543 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/1.149, allocations: 24 kB / 1.229 GB, free: 7.52 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.15, allocations: 345.9 kB / 1.229 GB, free: 7.176 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/1.151, allocations: 466.3 kB / 1.23 GB, free: 6.719 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/1.152, allocations: 0.8187 MB / 1.231 GB, free: 5.75 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/1.153, allocations: 0.5668 MB / 1.231 GB, free: 5.18 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/1.153, allocations: 8 kB / 1.231 GB, free: 5.172 MB / 0.7605 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003142/1.157, allocations: 1.473 MB / 1.233 GB, free: 3.68 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001638/1.158, allocations: 3.307 MB / 1.236 GB, free: 120 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.489e-05/1.158, allocations: 8 kB / 1.236 GB, free: 112 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-05/1.158, allocations: 16 kB / 1.236 GB, free: 96 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/1.16, allocations: 283.6 kB / 1.236 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-05/1.16, allocations: 19.94 kB / 1.236 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/1.161, allocations: 168.3 kB / 1.236 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/1.162, allocations: 51.98 kB / 1.236 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/1.162, allocations: 4 kB / 1.236 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002736/1.164, allocations: 1.29 MB / 1.238 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/1.164, allocations: 8.406 kB / 1.238 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.164, allocations: 16 kB / 1.238 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/1.166, allocations: 279.6 kB / 1.238 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.73e-05/1.166, allocations: 27.88 kB / 1.238 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/1.167, allocations: 165.5 kB / 1.238 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/1.168, allocations: 51.98 kB / 1.238 GB, free: 13.75 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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.001152/1.169, allocations: 0.5337 MB / 1.239 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003975/1.169, allocations: 185.7 kB / 1.239 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003033/1.172, allocations: 1.212 MB / 1.24 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/1.172, allocations: 8 kB / 1.24 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/1.172, allocations: 4 kB / 1.24 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002315/1.175, allocations: 1.274 MB / 1.241 GB, free: 10.42 MB / 0.7761 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.00604/1.181, allocations: 3.026 MB / 1.244 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/1.181, allocations: 3.984 kB / 1.244 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009811/1.182, allocations: 195.9 kB / 1.245 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002559/1.182, allocations: 48.83 kB / 1.245 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.6e-05/1.182, allocations: 23.98 kB / 1.245 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/1.183, allocations: 1.441 MB / 1.246 GB, free: 5.422 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.183, allocations: 4 kB / 1.246 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/1.187, allocations: 1.896 MB / 1.248 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000831/1.188, allocations: 350.6 kB / 1.248 GB, free: 3.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000323/1.188, allocations: 23.98 kB / 1.248 GB, free: 3.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/1.19, allocations: 155.7 kB / 1.248 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/1.19, allocations: 68.5 kB / 1.248 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.416e-05/1.19, allocations: 31.98 kB / 1.248 GB, free: 2.812 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001936/1.192, allocations: 1.078 MB / 1.25 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.91e-07/1.192, allocations: 0 / 1.25 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003715/1.196, allocations: 1.013 MB / 1.251 GB, free: 0.6953 MB / 0.7761 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.001992/1.198, allocations: 0.6311 MB / 1.251 GB, free: 160 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004352/1.202, allocations: 1.918 MB / 1.253 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.202, allocations: 4 kB / 1.253 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/1.203, allocations: 0.6319 MB / 1.254 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003669/1.207, allocations: 0.8034 MB / 1.254 GB, free: 12.74 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008907/1.216, allocations: 4.455 MB / 1.259 GB, free: 8.242 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/1.218, allocations: 1.538 MB / 1.26 GB, free: 6.668 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002205/1.22, allocations: 450.7 kB / 1.261 GB, free: 6.223 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004717/1.22, allocations: 139.4 kB / 1.261 GB, free: 6.086 MB / 0.7917 GB Notification: Performance of SimCode: time 5.91e-07/1.22, allocations: 0 / 1.261 GB, free: 6.086 MB / 0.7917 GB Notification: Performance of Templates: time 0.0572/1.278, allocations: 31.63 MB / 1.292 GB, free: 6.797 MB / 0.823 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)