Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.509/1.509, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 178.4 kB / 327.3 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.4 MB / 0.5783 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00077/0.00077, allocations: 93.17 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003433, allocations: 11.16 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2427, allocations: 106.3 MB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.8054/1.048, allocations: 215.5 MB / 1.111 GB, free: 3.586 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02481/1.073, allocations: 17.22 MB / 1.128 GB, free: 3.172 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004027/1.077, allocations: 73.97 kB / 1.128 GB, free: 3.172 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003665/1.081, allocations: 0.9009 MB / 1.129 GB, free: 3.148 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008858/1.09, allocations: 2.568 MB / 1.132 GB, free: 3.023 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009274/1.099, allocations: 2.876 MB / 1.134 GB, free: 2.93 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009024/1.108, allocations: 5.656 MB / 1.14 GB, free: 2.914 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003179/1.111, allocations: 1.395 MB / 1.141 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006996/1.118, allocations: 2.115 MB / 1.143 GB, free: 2.715 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004592/1.123, allocations: 1.517 MB / 1.145 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006833/1.124, allocations: 83.31 kB / 1.145 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007366/1.131, allocations: 2.218 MB / 1.147 GB, free: 2.066 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001508/1.133, allocations: 0.6355 MB / 1.148 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001497/1.134, allocations: 471.1 kB / 1.148 GB, free: 17.83 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.006145/1.14, allocations: 3.109 MB / 1.151 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/1.14, allocations: 3.984 kB / 1.151 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.005e-06/1.14, allocations: 2.938 kB / 1.151 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.021e-05/1.14, allocations: 0 / 1.151 GB, free: 16.31 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.007135/1.147, allocations: 2.51 MB / 1.154 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.148, allocations: 9.688 kB / 1.154 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005261/1.153, allocations: 0.8 MB / 1.154 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004028/1.157, allocations: 1.587 MB / 1.156 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000444/1.157, allocations: 181.2 kB / 1.156 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002986/1.158, allocations: 149.8 kB / 1.156 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003608/1.161, allocations: 1.7 MB / 1.158 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/1.161, allocations: 6.062 kB / 1.158 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/1.161, allocations: 56.09 kB / 1.158 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.998e-05/1.162, allocations: 48.8 kB / 1.158 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003388/1.165, allocations: 1.492 MB / 1.159 GB, free: 12.77 MB / 0.7136 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.01353/1.178, allocations: 7.627 MB / 1.167 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/1.181, allocations: 1.649 MB / 1.169 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/1.182, allocations: 0.5311 MB / 1.169 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/1.184, allocations: 0.814 MB / 1.17 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001314/1.185, allocations: 0.5905 MB / 1.17 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001298/1.187, allocations: 122.1 kB / 1.171 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=84): time 6.242e-06/1.187, allocations: 0 / 1.171 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84): time 0.004337/1.191, allocations: 1.651 MB / 1.172 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.68e-05/1.191, allocations: 140.5 kB / 1.172 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002603/1.194, allocations: 1.635 MB / 1.174 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001848/1.194, allocations: 47.64 kB / 1.174 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009081/1.195, allocations: 0.9322 MB / 1.175 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003578/1.195, allocations: 296.9 kB / 1.175 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/1.195, allocations: 23.61 kB / 1.175 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001874/1.195, allocations: 348.8 kB / 1.176 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/1.197, allocations: 468.9 kB / 1.176 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/1.198, allocations: 0.8328 MB / 1.177 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/1.199, allocations: 0.571 MB / 1.177 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/1.199, allocations: 5.875 kB / 1.177 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00324/1.202, allocations: 1.478 MB / 1.179 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000282/1.203, allocations: 368.4 kB / 1.179 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/1.203, allocations: 8 kB / 1.179 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.158e-05/1.203, allocations: 16 kB / 1.179 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/1.204, allocations: 288.2 kB / 1.179 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.507e-05/1.204, allocations: 25.34 kB / 1.179 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/1.206, allocations: 155.5 kB / 1.18 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/1.206, allocations: 55.64 kB / 1.18 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/1.206, allocations: 7.938 kB / 1.18 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002639/1.209, allocations: 1.294 MB / 1.181 GB, free: 344 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/1.209, allocations: 8 kB / 1.181 GB, free: 336 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.209, allocations: 16 kB / 1.181 GB, free: 320 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/1.21, allocations: 283.6 kB / 1.181 GB, free: 64 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/1.21, allocations: 14.62 kB / 1.181 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/1.212, allocations: 165.9 kB / 1.181 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/1.212, allocations: 54.48 kB / 1.181 GB, free: 15.86 MB / 0.7292 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.001258/1.213, allocations: 0.5354 MB / 1.182 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004898/1.214, allocations: 181.8 kB / 1.182 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/1.217, allocations: 1.223 MB / 1.183 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/1.217, allocations: 8 kB / 1.183 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/1.217, allocations: 0 / 1.183 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002515/1.219, allocations: 1.28 MB / 1.185 GB, free: 13.32 MB / 0.7292 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.006885/1.226, allocations: 2.967 MB / 1.187 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.226, allocations: 0 / 1.187 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/1.227, allocations: 201.8 kB / 1.188 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002748/1.228, allocations: 51.7 kB / 1.188 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.244e-05/1.228, allocations: 24.86 kB / 1.188 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/1.229, allocations: 1.427 MB / 1.189 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.229, allocations: 2.531 kB / 1.189 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004138/1.233, allocations: 1.835 MB / 1.191 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/1.235, allocations: 354.2 kB / 1.191 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006406/1.235, allocations: 25.42 kB / 1.191 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/1.237, allocations: 155.1 kB / 1.191 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/1.237, allocations: 67.75 kB / 1.192 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/1.237, allocations: 30.8 kB / 1.192 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002387/1.24, allocations: 1.097 MB / 1.193 GB, free: 6.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.31e-07/1.24, allocations: 0 / 1.193 GB, free: 6.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004117/1.244, allocations: 1.004 MB / 1.194 GB, free: 5.711 MB / 0.7292 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.002008/1.246, allocations: 0.6352 MB / 1.194 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00474/1.251, allocations: 1.924 MB / 1.196 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.251, allocations: 6.688 kB / 1.196 GB, free: 3.785 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001504/1.252, allocations: 0.6261 MB / 1.197 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005112/1.257, allocations: 0.814 MB / 1.197 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.268, allocations: 4.601 MB / 1.202 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/1.27, allocations: 1.502 MB / 1.203 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007747/1.271, allocations: 143 kB / 1.204 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/1.271, allocations: 0 / 1.204 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of Templates: time 0.06593/1.337, allocations: 35.07 MB / 1.238 GB, free: 10.25 MB / 0.7761 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)