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.684/1.684, allocations: 288.4 MB / 303.4 MB, free: 8.09 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.001051/0.001051, allocations: 186.9 kB / 372 MB, free: 10.24 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.748/1.748, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0009214/0.0009214, allocations: 96.22 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004314, allocations: 12.41 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.209, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.767/0.9761, allocations: 215.2 MB / 1.19 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0284/1.004, allocations: 17.12 MB / 1.206 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004163/1.009, allocations: 72.84 kB / 1.207 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003836/1.013, allocations: 0.9007 MB / 1.207 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.009321/1.022, allocations: 2.517 MB / 1.21 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01/1.032, allocations: 2.857 MB / 1.213 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00865/1.041, allocations: 5.598 MB / 1.218 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003399/1.044, allocations: 1.382 MB / 1.219 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006265/1.05, allocations: 2.145 MB / 1.222 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00391/1.054, allocations: 1.482 MB / 1.223 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0008082/1.055, allocations: 84 kB / 1.223 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006838/1.062, allocations: 2.218 MB / 1.225 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001354/1.063, allocations: 0.6268 MB / 1.226 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001401/1.065, allocations: 460.5 kB / 1.226 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.005741/1.07, allocations: 3.098 MB / 1.229 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.07, allocations: 4 kB / 1.229 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.475e-06/1.07, allocations: 0 / 1.229 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001372/1.071, allocations: 0 / 1.229 GB, free: 11.03 MB / 0.7605 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.005963/1.077, allocations: 2.5 MB / 1.232 GB, free: 8.461 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/1.077, allocations: 16.03 kB / 1.232 GB, free: 8.445 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005277/1.082, allocations: 0.8173 MB / 1.233 GB, free: 7.625 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004169/1.086, allocations: 1.581 MB / 1.234 GB, free: 5.996 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004361/1.087, allocations: 174.8 kB / 1.234 GB, free: 5.824 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004387/1.087, allocations: 144 kB / 1.234 GB, free: 5.684 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004277/1.091, allocations: 1.699 MB / 1.236 GB, free: 3.906 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.661e-05/1.091, allocations: 3.938 kB / 1.236 GB, free: 3.902 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001938/1.092, allocations: 56 kB / 1.236 GB, free: 3.848 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.416e-05/1.092, allocations: 58.47 kB / 1.236 GB, free: 3.789 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00387/1.095, allocations: 1.485 MB / 1.238 GB, free: 2.297 MB / 0.7605 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.01191/1.107, allocations: 7.616 MB / 1.245 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/1.11, allocations: 1.664 MB / 1.247 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/1.111, allocations: 0.5362 MB / 1.247 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/1.113, allocations: 0.8141 MB / 1.248 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/1.114, allocations: 0.579 MB / 1.249 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001088/1.115, allocations: 131.2 kB / 1.249 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=84): time 3.848e-06/1.115, allocations: 0 / 1.249 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of matching and sorting (n=84): time 0.004229/1.119, allocations: 1.664 MB / 1.25 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/1.12, allocations: 141.5 kB / 1.251 GB, free: 4.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/1.122, allocations: 1.62 MB / 1.252 GB, free: 2.582 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/1.122, allocations: 53.7 kB / 1.252 GB, free: 2.523 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008116/1.123, allocations: 0.9205 MB / 1.253 GB, free: 1.594 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000281/1.123, allocations: 307.6 kB / 1.253 GB, free: 1.289 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/1.123, allocations: 20 kB / 1.253 GB, free: 1.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.123, allocations: 345.9 kB / 1.254 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/1.124, allocations: 474.3 kB / 1.254 GB, free: 472 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/1.126, allocations: 0.8352 MB / 1.255 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/1.127, allocations: 0.5745 MB / 1.256 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/1.127, allocations: 4 kB / 1.256 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003017/1.13, allocations: 1.489 MB / 1.257 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002535/1.13, allocations: 365.8 kB / 1.257 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/1.13, allocations: 8 kB / 1.257 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.692e-05/1.13, allocations: 16 kB / 1.257 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/1.132, allocations: 279.6 kB / 1.258 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.171e-05/1.132, allocations: 23.92 kB / 1.258 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/1.133, allocations: 152.4 kB / 1.258 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.765e-05/1.133, allocations: 55.98 kB / 1.258 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/1.133, allocations: 4 kB / 1.258 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002661/1.136, allocations: 1.302 MB / 1.259 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/1.136, allocations: 8 kB / 1.259 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.136, allocations: 19.95 kB / 1.259 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/1.137, allocations: 275.9 kB / 1.259 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/1.137, allocations: 23.92 kB / 1.259 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/1.139, allocations: 164.1 kB / 1.26 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.901e-05/1.139, allocations: 48 kB / 1.26 GB, free: 10.54 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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.001413/1.14, allocations: 0.5376 MB / 1.26 GB, free: 9.996 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002977/1.141, allocations: 185.7 kB / 1.26 GB, free: 9.812 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/1.144, allocations: 1.22 MB / 1.262 GB, free: 8.578 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/1.144, allocations: 8 kB / 1.262 GB, free: 8.57 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/1.144, allocations: 0 / 1.262 GB, free: 8.57 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002424/1.146, allocations: 1.278 MB / 1.263 GB, free: 7.203 MB / 0.7917 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.00563/1.152, allocations: 2.976 MB / 1.266 GB, free: 4.109 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.152, allocations: 0 / 1.266 GB, free: 4.109 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/1.153, allocations: 203.9 kB / 1.266 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002388/1.153, allocations: 44.83 kB / 1.266 GB, free: 3.863 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.158e-05/1.153, allocations: 27.98 kB / 1.266 GB, free: 3.836 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/1.154, allocations: 1.425 MB / 1.267 GB, free: 2.277 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.154, allocations: 4.062 kB / 1.267 GB, free: 2.273 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/1.158, allocations: 1.847 MB / 1.269 GB, free: 408 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007757/1.159, allocations: 350.7 kB / 1.269 GB, free: 36 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/1.159, allocations: 19.98 kB / 1.269 GB, free: 16 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/1.161, allocations: 152 kB / 1.27 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/1.161, allocations: 60.52 kB / 1.27 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.489e-05/1.161, allocations: 39.98 kB / 1.27 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001672/1.162, allocations: 1.085 MB / 1.271 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.6e-07/1.162, allocations: 3.938 kB / 1.271 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003103/1.166, allocations: 1.013 MB / 1.272 GB, free: 13.64 MB / 0.8073 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.001557/1.167, allocations: 0.6427 MB / 1.272 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004056/1.171, allocations: 1.931 MB / 1.274 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/1.171, allocations: 4.062 kB / 1.274 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/1.173, allocations: 0.6312 MB / 1.275 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004107/1.177, allocations: 0.8226 MB / 1.276 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007979/1.185, allocations: 4.471 MB / 1.28 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/1.186, allocations: 1.495 MB / 1.282 GB, free: 3.621 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001987/1.188, allocations: 450.7 kB / 1.282 GB, free: 3.176 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/1.188, allocations: 139.4 kB / 1.282 GB, free: 3.039 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/1.188, allocations: 4 kB / 1.282 GB, free: 3.035 MB / 0.8073 GB Notification: Performance of Templates: time 0.05389/1.242, allocations: 31.78 MB / 1.313 GB, free: 3.59 MB / 0.8386 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)