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.619/2.619, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001556/0.001556, allocations: 182.4 kB / 370.8 MB, free: 10.86 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.125/2.125, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001062/0.001062, allocations: 101.2 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004883, allocations: 11.86 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2116, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.9814/1.193, allocations: 193.9 MB / 1.168 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0403/1.233, allocations: 17.15 MB / 1.184 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003912/1.237, allocations: 66.09 kB / 1.184 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.006129/1.244, allocations: 1.182 MB / 1.186 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01457/1.258, allocations: 3.24 MB / 1.189 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01368/1.272, allocations: 3.054 MB / 1.192 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00802/1.28, allocations: 2.929 MB / 1.195 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003263/1.283, allocations: 1.415 MB / 1.196 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006602/1.29, allocations: 1.915 MB / 1.198 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003002/1.293, allocations: 1.059 MB / 1.199 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0006674/1.294, allocations: 80.62 kB / 1.199 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007251/1.301, allocations: 1.886 MB / 1.201 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001485/1.302, allocations: 0.5766 MB / 1.201 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001249/1.304, allocations: 466.1 kB / 1.202 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006972/1.311, allocations: 2.919 MB / 1.205 GB, free: 440 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/1.311, allocations: 4 kB / 1.205 GB, free: 436 kB / 0.7292 GB Notification: Performance of FrontEnd: time 2.605e-06/1.311, allocations: 0 / 1.205 GB, free: 436 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000108/1.311, allocations: 2.406 kB / 1.205 GB, free: 436 kB / 0.7292 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.007741/1.319, allocations: 2.448 MB / 1.207 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/1.319, allocations: 14.78 kB / 1.207 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008079/1.327, allocations: 0.8121 MB / 1.208 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005798/1.333, allocations: 1.613 MB / 1.209 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007546/1.333, allocations: 170.8 kB / 1.21 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005953/1.334, allocations: 144 kB / 1.21 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005976/1.34, allocations: 1.679 MB / 1.211 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.248e-05/1.34, allocations: 7.984 kB / 1.211 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/1.34, allocations: 63.89 kB / 1.211 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/1.341, allocations: 50.53 kB / 1.211 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006814/1.347, allocations: 1.474 MB / 1.213 GB, free: 8.969 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.01927/1.367, allocations: 7.697 MB / 1.22 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005112/1.372, allocations: 1.652 MB / 1.222 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002026/1.374, allocations: 0.6362 MB / 1.223 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002404/1.376, allocations: 0.5754 MB / 1.223 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001245/1.378, allocations: 123.1 kB / 1.223 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=84): time 5.541e-06/1.378, allocations: 0 / 1.223 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=84): time 0.007491/1.385, allocations: 1.653 MB / 1.225 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.728e-05/1.385, allocations: 145.5 kB / 1.225 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003446/1.389, allocations: 1.605 MB / 1.227 GB, free: 9.941 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002721/1.389, allocations: 49.7 kB / 1.227 GB, free: 9.887 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001224/1.39, allocations: 0.9321 MB / 1.228 GB, free: 8.945 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004679/1.391, allocations: 295.7 kB / 1.228 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/1.391, allocations: 24 kB / 1.228 GB, free: 8.629 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.391, allocations: 349.9 kB / 1.228 GB, free: 8.281 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/1.393, allocations: 462.3 kB / 1.229 GB, free: 7.828 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002325/1.395, allocations: 0.8266 MB / 1.229 GB, free: 6.852 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/1.398, allocations: 0.5629 MB / 1.23 GB, free: 6.285 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/1.398, allocations: 4 kB / 1.23 GB, free: 6.281 MB / 0.7605 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005649/1.403, allocations: 1.477 MB / 1.231 GB, free: 4.789 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001571/1.405, allocations: 3.311 MB / 1.235 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.792e-05/1.405, allocations: 12 kB / 1.235 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.046e-05/1.405, allocations: 12 kB / 1.235 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/1.408, allocations: 283.6 kB / 1.235 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.89e-05/1.408, allocations: 15.94 kB / 1.235 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/1.411, allocations: 164.4 kB / 1.235 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002282/1.411, allocations: 51.98 kB / 1.235 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/1.411, allocations: 7.938 kB / 1.235 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005027/1.416, allocations: 1.294 MB / 1.237 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.406e-05/1.416, allocations: 8 kB / 1.237 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-05/1.416, allocations: 20.36 kB / 1.237 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/1.419, allocations: 275.6 kB / 1.237 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.56e-05/1.419, allocations: 27.91 kB / 1.237 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/1.422, allocations: 156.5 kB / 1.237 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/1.422, allocations: 51.98 kB / 1.237 GB, free: 14.85 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.001499/1.423, allocations: 0.5434 MB / 1.238 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005492/1.424, allocations: 181.7 kB / 1.238 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005046/1.429, allocations: 1.224 MB / 1.239 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/1.429, allocations: 8 kB / 1.239 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.429, allocations: 0 / 1.239 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004159/1.433, allocations: 1.274 MB / 1.24 GB, free: 11.52 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.00956/1.443, allocations: 3.018 MB / 1.243 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/1.443, allocations: 4 kB / 1.243 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/1.445, allocations: 203.9 kB / 1.243 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003418/1.445, allocations: 40.83 kB / 1.243 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/1.445, allocations: 27.98 kB / 1.243 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/1.447, allocations: 1.444 MB / 1.245 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.447, allocations: 0 / 1.245 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006877/1.454, allocations: 1.9 MB / 1.247 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/1.456, allocations: 350.6 kB / 1.247 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003386/1.456, allocations: 23.98 kB / 1.247 GB, free: 4.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002373/1.458, allocations: 155.8 kB / 1.247 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/1.459, allocations: 68.5 kB / 1.247 GB, free: 3.938 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/1.459, allocations: 27.98 kB / 1.247 GB, free: 3.91 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002799/1.462, allocations: 1.085 MB / 1.248 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.51e-07/1.462, allocations: 0 / 1.248 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005101/1.467, allocations: 1.009 MB / 1.249 GB, free: 1.789 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.002267/1.469, allocations: 0.6382 MB / 1.25 GB, free: 1.281 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.007194/1.476, allocations: 1.919 MB / 1.252 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.659e-06/1.476, allocations: 0 / 1.252 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002386/1.479, allocations: 0.6275 MB / 1.252 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006679/1.485, allocations: 0.8014 MB / 1.253 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/1.499, allocations: 4.451 MB / 1.258 GB, free: 9.391 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/1.501, allocations: 1.542 MB / 1.259 GB, free: 7.816 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003404/1.504, allocations: 446.7 kB / 1.259 GB, free: 7.375 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008973/1.505, allocations: 139.4 kB / 1.26 GB, free: 7.238 MB / 0.7917 GB Notification: Performance of SimCode: time 1.463e-06/1.505, allocations: 3.938 kB / 1.26 GB, free: 7.234 MB / 0.7917 GB Notification: Performance of Templates: time 0.091/1.596, allocations: 31.61 MB / 1.29 GB, free: 7.93 MB / 0.823 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)