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 3.029/3.029, allocations: 287.5 MB / 302.4 MB, free: 8.234 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.001374/0.001374, allocations: 188.8 kB / 371 MB, free: 10.89 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.054/2.054, allocations: 205.4 MB / 0.6297 GB, free: 10.65 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.0009625/0.0009625, allocations: 85.77 kB / 0.743 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006503/0.0006505, allocations: 13.62 kB / 0.8658 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2231, allocations: 115.3 MB / 0.9784 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.9978/1.221, allocations: 215.2 MB / 1.189 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0391/1.26, allocations: 17.11 MB / 1.205 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003711/1.264, allocations: 68.38 kB / 1.205 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004798/1.269, allocations: 0.8993 MB / 1.206 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0111/1.28, allocations: 2.524 MB / 1.209 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01247/1.292, allocations: 2.858 MB / 1.211 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01076/1.303, allocations: 5.591 MB / 1.217 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003512/1.307, allocations: 1.389 MB / 1.218 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007502/1.314, allocations: 2.136 MB / 1.22 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004303/1.319, allocations: 1.486 MB / 1.222 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0007459/1.319, allocations: 84 kB / 1.222 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008831/1.328, allocations: 2.218 MB / 1.224 GB, free: 476 kB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001702/1.33, allocations: 0.6267 MB / 1.225 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/1.331, allocations: 464.5 kB / 1.225 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.007644/1.339, allocations: 3.102 MB / 1.228 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/1.339, allocations: 3.938 kB / 1.228 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.067e-06/1.339, allocations: 0 / 1.228 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001328/1.339, allocations: 0 / 1.228 GB, free: 12.26 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.007921/1.347, allocations: 2.504 MB / 1.231 GB, free: 9.691 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/1.347, allocations: 12.03 kB / 1.231 GB, free: 9.68 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008089/1.355, allocations: 0.8089 MB / 1.231 GB, free: 8.867 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005512/1.361, allocations: 1.584 MB / 1.233 GB, free: 7.234 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007255/1.362, allocations: 178.8 kB / 1.233 GB, free: 7.059 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004075/1.362, allocations: 140 kB / 1.233 GB, free: 6.922 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005432/1.367, allocations: 1.702 MB / 1.235 GB, free: 5.141 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.699e-05/1.368, allocations: 3.938 kB / 1.235 GB, free: 5.137 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002277/1.368, allocations: 55.95 kB / 1.235 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.628e-05/1.368, allocations: 46.53 kB / 1.235 GB, free: 5.035 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005879/1.374, allocations: 1.493 MB / 1.236 GB, free: 3.535 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.01762/1.391, allocations: 7.62 MB / 1.244 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004878/1.396, allocations: 1.668 MB / 1.246 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/1.398, allocations: 0.5315 MB / 1.246 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002241/1.401, allocations: 0.8142 MB / 1.247 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002149/1.403, allocations: 0.579 MB / 1.247 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001233/1.404, allocations: 119.2 kB / 1.248 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=84): time 4.318e-06/1.404, allocations: 4 kB / 1.248 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of matching and sorting (n=84): time 0.007082/1.411, allocations: 1.664 MB / 1.249 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.411, allocations: 141.5 kB / 1.249 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/1.415, allocations: 1.62 MB / 1.251 GB, free: 3.82 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002663/1.415, allocations: 49.7 kB / 1.251 GB, free: 3.766 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001285/1.416, allocations: 0.9244 MB / 1.252 GB, free: 2.832 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004625/1.417, allocations: 303.6 kB / 1.252 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/1.417, allocations: 28 kB / 1.252 GB, free: 2.504 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002083/1.417, allocations: 345.9 kB / 1.252 GB, free: 2.16 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/1.419, allocations: 470.3 kB / 1.253 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002293/1.422, allocations: 0.8352 MB / 1.254 GB, free: 0.707 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/1.424, allocations: 0.5746 MB / 1.254 GB, free: 132 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/1.424, allocations: 7.953 kB / 1.254 GB, free: 124 kB / 0.7761 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005253/1.429, allocations: 1.481 MB / 1.256 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.000354/1.429, allocations: 369.7 kB / 1.256 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/1.429, allocations: 8 kB / 1.256 GB, free: 14.13 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-05/1.429, allocations: 16 kB / 1.256 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/1.432, allocations: 283.5 kB / 1.256 GB, free: 13.84 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-05/1.432, allocations: 19.94 kB / 1.256 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002632/1.434, allocations: 161.8 kB / 1.257 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/1.435, allocations: 51.98 kB / 1.257 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/1.435, allocations: 4 kB / 1.257 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004615/1.439, allocations: 1.302 MB / 1.258 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-05/1.439, allocations: 15.98 kB / 1.258 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/1.439, allocations: 16 kB / 1.258 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/1.441, allocations: 279.6 kB / 1.258 GB, free: 12 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.767e-05/1.441, allocations: 15.94 kB / 1.258 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/1.444, allocations: 165 kB / 1.258 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/1.444, allocations: 51.97 kB / 1.258 GB, free: 11.77 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.001429/1.446, allocations: 0.539 MB / 1.259 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004349/1.446, allocations: 181.7 kB / 1.259 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004754/1.451, allocations: 1.224 MB / 1.26 GB, free: 9.809 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/1.451, allocations: 8 kB / 1.26 GB, free: 9.801 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.451, allocations: 0 / 1.26 GB, free: 9.801 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003975/1.455, allocations: 1.285 MB / 1.262 GB, free: 8.422 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.008875/1.464, allocations: 2.964 MB / 1.264 GB, free: 5.344 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/1.464, allocations: 0 / 1.264 GB, free: 5.344 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001861/1.466, allocations: 203.9 kB / 1.265 GB, free: 5.145 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003178/1.466, allocations: 52.75 kB / 1.265 GB, free: 5.09 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.882e-05/1.466, allocations: 23.98 kB / 1.265 GB, free: 5.066 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/1.468, allocations: 1.425 MB / 1.266 GB, free: 3.508 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.468, allocations: 0 / 1.266 GB, free: 3.508 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006499/1.475, allocations: 1.854 MB / 1.268 GB, free: 1.621 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/1.476, allocations: 350.7 kB / 1.268 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003223/1.476, allocations: 20 kB / 1.268 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/1.478, allocations: 151.8 kB / 1.268 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/1.479, allocations: 64.52 kB / 1.268 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/1.479, allocations: 31.98 kB / 1.269 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002487/1.481, allocations: 1.089 MB / 1.27 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.11e-07/1.481, allocations: 4 kB / 1.27 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004231/1.486, allocations: 1.013 MB / 1.271 GB, free: 14.86 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.002194/1.488, allocations: 0.6333 MB / 1.271 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00665/1.494, allocations: 1.927 MB / 1.273 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.494, allocations: 0 / 1.273 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00226/1.497, allocations: 0.6352 MB / 1.274 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00659/1.503, allocations: 0.8187 MB / 1.274 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/1.516, allocations: 4.482 MB / 1.279 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001675/1.518, allocations: 1.491 MB / 1.28 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003211/1.521, allocations: 446.8 kB / 1.281 GB, free: 4.438 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006557/1.522, allocations: 135.4 kB / 1.281 GB, free: 4.305 MB / 0.8073 GB Notification: Performance of SimCode: time 1.122e-06/1.522, allocations: 0 / 1.281 GB, free: 4.305 MB / 0.8073 GB Notification: Performance of Templates: time 0.09178/1.614, allocations: 31.78 MB / 1.312 GB, free: 4.828 MB / 0.8386 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)