Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.689/1.689, allocations: 287.5 MB / 302.6 MB, free: 8.355 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.001212/0.001212, allocations: 180.8 kB / 371.2 MB, free: 10.82 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.51/1.51, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.00127/0.001269, allocations: 100.8 kB / 0.7432 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003873, allocations: 11 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.227, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.7739/1.001, allocations: 237.7 MB / 1.211 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.03108/1.032, allocations: 18.36 MB / 1.229 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004147/1.036, allocations: 77.84 kB / 1.229 GB, free: 11 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.004172/1.04, allocations: 0.9506 MB / 1.23 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01095/1.051, allocations: 2.929 MB / 1.233 GB, free: 7.73 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01004/1.061, allocations: 2.863 MB / 1.235 GB, free: 4.891 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.009928/1.071, allocations: 6.733 MB / 1.242 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004095/1.076, allocations: 1.748 MB / 1.244 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00658/1.082, allocations: 2.194 MB / 1.246 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003832/1.086, allocations: 1.685 MB / 1.247 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0008251/1.087, allocations: 92 kB / 1.248 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007707/1.095, allocations: 2.498 MB / 1.25 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001641/1.096, allocations: 0.7124 MB / 1.251 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001521/1.098, allocations: 0.5121 MB / 1.251 GB, free: 4.629 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.007248/1.105, allocations: 3.581 MB / 1.255 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.105, allocations: 0 / 1.255 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.843e-06/1.105, allocations: 4 kB / 1.255 GB, free: 1.035 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001676/1.105, allocations: 0 / 1.255 GB, free: 1.035 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 0.006806/1.112, allocations: 2.698 MB / 1.257 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.112, allocations: 12.03 kB / 1.257 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005014/1.117, allocations: 0.8242 MB / 1.258 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004547/1.122, allocations: 1.798 MB / 1.26 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004704/1.122, allocations: 182.9 kB / 1.26 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006122/1.123, allocations: 164 kB / 1.26 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004642/1.128, allocations: 1.874 MB / 1.262 GB, free: 9.293 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/1.128, allocations: 0 / 1.262 GB, free: 9.293 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/1.128, allocations: 64 kB / 1.262 GB, free: 9.23 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.459e-05/1.128, allocations: 58.89 kB / 1.262 GB, free: 9.172 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003693/1.132, allocations: 1.604 MB / 1.264 GB, free: 7.562 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 preOpt removeSimpleEquations (simulation): time 0.01326/1.145, allocations: 8.361 MB / 1.272 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002807/1.148, allocations: 1.836 MB / 1.274 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/1.149, allocations: 0.6837 MB / 1.274 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005231/1.15, allocations: 247.1 kB / 1.275 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001476/1.151, allocations: 0.6922 MB / 1.275 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001033/1.152, allocations: 123.1 kB / 1.275 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=101): time 5.441e-06/1.152, allocations: 0 / 1.275 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=104): time 0.009158/1.161, allocations: 3.747 MB / 1.279 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.385e-05/1.162, allocations: 145.5 kB / 1.279 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002645/1.164, allocations: 1.601 MB / 1.281 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001667/1.164, allocations: 53.7 kB / 1.281 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009559/1.165, allocations: 0.9561 MB / 1.282 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003852/1.166, allocations: 370.6 kB / 1.282 GB, free: 3.758 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.475e-05/1.166, allocations: 31.98 kB / 1.282 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.166, allocations: 357.9 kB / 1.282 GB, free: 3.371 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/1.167, allocations: 0.5686 MB / 1.283 GB, free: 2.801 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/1.169, allocations: 0.9342 MB / 1.284 GB, free: 1.723 MB / 0.8073 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01567/1.185, allocations: 4.693 MB / 1.289 GB, free: 12.89 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/1.185, allocations: 0 / 1.289 GB, free: 12.89 MB / 0.823 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003932/1.189, allocations: 1.757 MB / 1.29 GB, free: 11.12 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002769/1.189, allocations: 346.9 kB / 1.291 GB, free: 10.67 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/1.189, allocations: 8 kB / 1.291 GB, free: 10.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002322/1.189, allocations: 44.84 kB / 1.291 GB, free: 10.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/1.19, allocations: 311.6 kB / 1.291 GB, free: 10.31 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/1.192, allocations: 1.51 MB / 1.292 GB, free: 8.668 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/1.194, allocations: 200.8 kB / 1.293 GB, free: 8.477 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/1.194, allocations: 51.98 kB / 1.293 GB, free: 8.426 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.255e-06/1.194, allocations: 4 kB / 1.293 GB, free: 8.422 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003125/1.197, allocations: 1.57 MB / 1.294 GB, free: 6.84 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/1.197, allocations: 12.03 kB / 1.294 GB, free: 6.828 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001408/1.197, allocations: 48.83 kB / 1.294 GB, free: 6.777 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/1.199, allocations: 307.5 kB / 1.295 GB, free: 6.477 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/1.2, allocations: 1.514 MB / 1.296 GB, free: 4.828 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/1.202, allocations: 189.7 kB / 1.296 GB, free: 4.645 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.926e-05/1.202, allocations: 59.92 kB / 1.296 GB, free: 4.586 MB / 0.823 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TSet.T_start,$PRE.TSet.count,$whenCondition1,TSet.T_start,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 (152): * Single equations (assignments): 146 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001059/1.203, allocations: 0.5961 MB / 1.297 GB, free: 3.98 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002929/1.203, allocations: 193.6 kB / 1.297 GB, free: 3.789 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/1.206, allocations: 1.467 MB / 1.298 GB, free: 2.309 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/1.206, allocations: 12 kB / 1.298 GB, free: 2.297 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.206, allocations: 0 / 1.298 GB, free: 2.297 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002492/1.209, allocations: 1.219 MB / 1.3 GB, free: 1.059 MB / 0.823 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.006548/1.215, allocations: 3.644 MB / 1.303 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/1.216, allocations: 0 / 1.303 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/1.217, allocations: 259.7 kB / 1.303 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/1.217, allocations: 77.67 kB / 1.304 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.552e-05/1.217, allocations: 31.98 kB / 1.304 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/1.219, allocations: 2.764 MB / 1.306 GB, free: 9.895 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.219, allocations: 4.031 kB / 1.306 GB, free: 9.891 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004346/1.224, allocations: 2.255 MB / 1.308 GB, free: 7.598 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008377/1.224, allocations: 386.7 kB / 1.309 GB, free: 7.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/1.225, allocations: 27.98 kB / 1.309 GB, free: 7.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/1.226, allocations: 191.6 kB / 1.309 GB, free: 6.984 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/1.226, allocations: 76.92 kB / 1.309 GB, free: 6.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.992e-05/1.226, allocations: 39.97 kB / 1.309 GB, free: 6.871 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001532/1.228, allocations: 1.071 MB / 1.31 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.91e-07/1.228, allocations: 0 / 1.31 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002777/1.231, allocations: 0.9804 MB / 1.311 GB, free: 4.797 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * 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 (102): * Single equations (assignments): 98 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009139/1.231, allocations: 401.6 kB / 1.312 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.005005/1.237, allocations: 2.59 MB / 1.314 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.237, allocations: 0 / 1.314 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001522/1.238, allocations: 0.8752 MB / 1.315 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004634/1.243, allocations: 0.9708 MB / 1.316 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007778/1.251, allocations: 4.919 MB / 1.321 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/1.252, allocations: 1.579 MB / 1.322 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002246/1.254, allocations: 0.5116 MB / 1.323 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004164/1.254, allocations: 155.3 kB / 1.323 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/1.254, allocations: 0 / 1.323 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of Templates: time 0.06294/1.317, allocations: 37.35 MB / 1.359 GB, free: 3.625 MB / 0.8855 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)