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.604/1.604, allocations: 288.4 MB / 304.3 MB, free: 7.977 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.0009804/0.0009805, allocations: 181.7 kB / 372.9 MB, free: 10.14 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.469/1.469, allocations: 205.4 MB / 0.6316 GB, free: 9.938 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.0007819/0.000782, allocations: 90.3 kB / 0.745 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004114, allocations: 16.72 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2221, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.7903/1.012, allocations: 215.2 MB / 1.191 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02836/1.041, allocations: 17.12 MB / 1.208 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003907/1.045, allocations: 75.03 kB / 1.208 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004149/1.049, allocations: 1.047 MB / 1.209 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.009271/1.058, allocations: 2.907 MB / 1.212 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.009322/1.068, allocations: 2.954 MB / 1.214 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00877/1.076, allocations: 5.651 MB / 1.22 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003227/1.08, allocations: 1.591 MB / 1.222 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006584/1.086, allocations: 2.276 MB / 1.224 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003193/1.09, allocations: 1.499 MB / 1.225 GB, free: 244 kB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002797/1.09, allocations: 80 kB / 1.225 GB, free: 164 kB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007663/1.098, allocations: 3.776 MB / 1.229 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0008196/1.098, allocations: 0.6306 MB / 1.23 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001427/1.1, allocations: 1.047 MB / 1.231 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004665/1.104, allocations: 3.25 MB / 1.234 GB, free: 7.426 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.104, allocations: 0 / 1.234 GB, free: 7.426 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.026e-06/1.104, allocations: 0 / 1.234 GB, free: 7.426 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.964e-05/1.105, allocations: 3.938 kB / 1.234 GB, free: 7.422 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.004395/1.109, allocations: 2.472 MB / 1.236 GB, free: 4.883 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/1.109, allocations: 12.03 kB / 1.236 GB, free: 4.871 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004495/1.113, allocations: 0.8127 MB / 1.237 GB, free: 4.055 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/1.117, allocations: 1.657 MB / 1.239 GB, free: 2.348 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003754/1.117, allocations: 166.8 kB / 1.239 GB, free: 2.184 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/1.117, allocations: 148 kB / 1.239 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/1.12, allocations: 1.699 MB / 1.241 GB, free: 268 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/1.12, allocations: 0 / 1.241 GB, free: 268 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/1.12, allocations: 64 kB / 1.241 GB, free: 204 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.266e-05/1.12, allocations: 54.45 kB / 1.241 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003244/1.124, allocations: 1.485 MB / 1.242 GB, free: 14.65 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 preOpt removeSimpleEquations (simulation): time 0.009841/1.134, allocations: 7.628 MB / 1.25 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/1.136, allocations: 1.664 MB / 1.251 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/1.137, allocations: 0.5354 MB / 1.252 GB, free: 4.141 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/1.139, allocations: 0.8103 MB / 1.253 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/1.14, allocations: 0.579 MB / 1.253 GB, free: 2.594 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007537/1.141, allocations: 127.2 kB / 1.253 GB, free: 2.469 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=84): time 3.647e-06/1.141, allocations: 4 kB / 1.253 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of matching and sorting (n=84): time 0.004005/1.145, allocations: 1.656 MB / 1.255 GB, free: 0.7773 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/1.145, allocations: 141.5 kB / 1.255 GB, free: 0.6094 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002168/1.147, allocations: 1.624 MB / 1.257 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.948e-05/1.147, allocations: 49.7 kB / 1.257 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000821/1.148, allocations: 0.9319 MB / 1.258 GB, free: 13.94 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/1.148, allocations: 295.8 kB / 1.258 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/1.148, allocations: 24 kB / 1.258 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001707/1.148, allocations: 349.9 kB / 1.258 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/1.149, allocations: 474.3 kB / 1.259 GB, free: 12.82 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/1.151, allocations: 0.8274 MB / 1.259 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/1.153, allocations: 1.255 MB / 1.261 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/1.153, allocations: 8 kB / 1.261 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002973/1.156, allocations: 1.481 MB / 1.262 GB, free: 8.953 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.000247/1.156, allocations: 366.8 kB / 1.262 GB, free: 8.473 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/1.156, allocations: 11.94 kB / 1.262 GB, free: 8.461 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/1.156, allocations: 12 kB / 1.262 GB, free: 8.449 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/1.158, allocations: 279.6 kB / 1.263 GB, free: 8.176 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.258e-05/1.158, allocations: 19.92 kB / 1.263 GB, free: 8.156 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/1.159, allocations: 173.4 kB / 1.263 GB, free: 7.992 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.934e-05/1.159, allocations: 47.98 kB / 1.263 GB, free: 7.945 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 7.704e-06/1.159, allocations: 4 kB / 1.263 GB, free: 7.941 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002475/1.162, allocations: 1.302 MB / 1.264 GB, free: 6.637 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.162, allocations: 12 kB / 1.264 GB, free: 6.625 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/1.162, allocations: 12.41 kB / 1.264 GB, free: 6.613 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/1.163, allocations: 279.6 kB / 1.265 GB, free: 6.34 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/1.163, allocations: 27.91 kB / 1.265 GB, free: 6.312 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/1.164, allocations: 160.4 kB / 1.265 GB, free: 6.156 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.797e-05/1.164, allocations: 48 kB / 1.265 GB, free: 6.109 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.0008639/1.165, allocations: 0.5474 MB / 1.265 GB, free: 5.551 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/1.165, allocations: 181.8 kB / 1.265 GB, free: 5.371 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/1.168, allocations: 1.216 MB / 1.267 GB, free: 4.137 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002167/1.17, allocations: 1.277 MB / 1.268 GB, free: 2.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/1.17, allocations: 8 kB / 1.268 GB, free: 2.762 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000624/1.171, allocations: 346.7 kB / 1.268 GB, free: 2.402 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/1.171, allocations: 19.98 kB / 1.268 GB, free: 2.383 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/1.172, allocations: 143.7 kB / 1.268 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/1.172, allocations: 60.84 kB / 1.268 GB, free: 2.184 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003027/1.175, allocations: 1.267 MB / 1.27 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003308/1.179, allocations: 1.892 MB / 1.272 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000981/1.18, allocations: 0.4919 MB / 1.272 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001441/1.181, allocations: 1.089 MB / 1.273 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of Backend: time 3.21e-07/1.181, allocations: 0 / 1.273 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006107/1.187, allocations: 2.638 MB / 1.276 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of SimCode: time 0.007656/1.195, allocations: 5.115 MB / 1.281 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of Templates: time 0.07049/1.265, allocations: 42.2 MB / 1.322 GB, free: 11.78 MB / 0.8542 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)