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.632/1.632, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001046/0.001046, allocations: 171.5 kB / 326.5 MB, free: 2.676 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.698/1.698, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0007492/0.0007489, allocations: 83.75 kB / 0.6803 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003632, allocations: 11.98 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.278, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.8623/1.14, allocations: 233.8 MB / 1.125 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02791/1.168, allocations: 18.87 MB / 1.144 GB, free: 480 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00501/1.173, allocations: 79.22 kB / 1.144 GB, free: 480 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004712/1.178, allocations: 1.184 MB / 1.145 GB, free: 440 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01146/1.19, allocations: 3.237 MB / 1.148 GB, free: 260 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01193/1.202, allocations: 3.316 MB / 1.151 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01083/1.212, allocations: 6.642 MB / 1.158 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003429/1.216, allocations: 1.583 MB / 1.159 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006541/1.222, allocations: 2.323 MB / 1.161 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004544/1.227, allocations: 1.606 MB / 1.163 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0008133/1.228, allocations: 81.72 kB / 1.163 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009542/1.237, allocations: 3.868 MB / 1.167 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001637/1.239, allocations: 0.6462 MB / 1.168 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.003433/1.243, allocations: 1.077 MB / 1.169 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.006869/1.249, allocations: 3.273 MB / 1.172 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.25, allocations: 4 kB / 1.172 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.204e-06/1.25, allocations: 0 / 1.172 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001586/1.25, allocations: 0 / 1.172 GB, free: 7.801 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.007118/1.257, allocations: 2.482 MB / 1.174 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/1.257, allocations: 9.844 kB / 1.174 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005656/1.263, allocations: 0.8035 MB / 1.175 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004507/1.267, allocations: 1.653 MB / 1.177 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004548/1.268, allocations: 180.6 kB / 1.177 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004767/1.268, allocations: 157 kB / 1.177 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004532/1.273, allocations: 1.712 MB / 1.179 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.662e-05/1.273, allocations: 0 / 1.179 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/1.273, allocations: 58.97 kB / 1.179 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.609e-05/1.273, allocations: 48.45 kB / 1.179 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0042/1.277, allocations: 1.503 MB / 1.18 GB, free: 2.391 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.01255/1.29, allocations: 7.636 MB / 1.188 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/1.293, allocations: 1.648 MB / 1.189 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/1.294, allocations: 0.5431 MB / 1.19 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/1.295, allocations: 0.809 MB / 1.191 GB, free: 7.066 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00137/1.297, allocations: 0.594 MB / 1.191 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001103/1.298, allocations: 123.2 kB / 1.191 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=84): time 3.677e-06/1.298, allocations: 0 / 1.191 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=84): time 0.004568/1.302, allocations: 1.654 MB / 1.193 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.852e-05/1.303, allocations: 145.5 kB / 1.193 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002609/1.305, allocations: 1.64 MB / 1.195 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/1.305, allocations: 49.7 kB / 1.195 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009382/1.306, allocations: 0.9344 MB / 1.196 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003061/1.307, allocations: 294.7 kB / 1.196 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/1.307, allocations: 101.7 kB / 1.196 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001866/1.307, allocations: 345.9 kB / 1.196 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/1.308, allocations: 490.3 kB / 1.197 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/1.31, allocations: 0.8491 MB / 1.198 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00252/1.312, allocations: 1.291 MB / 1.199 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.312, allocations: 0 / 1.199 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003456/1.316, allocations: 1.512 MB / 1.2 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002531/1.316, allocations: 371.8 kB / 1.201 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/1.316, allocations: 8 kB / 1.201 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/1.316, allocations: 16 kB / 1.201 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/1.317, allocations: 282.7 kB / 1.201 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-05/1.317, allocations: 21.91 kB / 1.201 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/1.319, allocations: 162.4 kB / 1.201 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/1.319, allocations: 55.98 kB / 1.201 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/1.319, allocations: 4 kB / 1.201 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002728/1.322, allocations: 1.304 MB / 1.202 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/1.322, allocations: 12.03 kB / 1.202 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/1.322, allocations: 12 kB / 1.202 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/1.323, allocations: 283.2 kB / 1.203 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/1.323, allocations: 18.94 kB / 1.203 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/1.325, allocations: 164.4 kB / 1.203 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/1.325, allocations: 55.92 kB / 1.203 GB, free: 9.961 MB / 0.7448 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001123/1.326, allocations: 0.541 MB / 1.203 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000433/1.327, allocations: 181.7 kB / 1.204 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/1.33, allocations: 1.227 MB / 1.205 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/1.33, allocations: 8 kB / 1.205 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.33, allocations: 0 / 1.205 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002452/1.332, allocations: 1.284 MB / 1.206 GB, free: 6.633 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 postOpt removeSimpleEquations (simulation): time 0.00649/1.339, allocations: 2.967 MB / 1.209 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/1.339, allocations: 0 / 1.209 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/1.34, allocations: 201 kB / 1.209 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002586/1.34, allocations: 48.83 kB / 1.209 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.967e-05/1.34, allocations: 23.98 kB / 1.209 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/1.341, allocations: 1.421 MB / 1.211 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.341, allocations: 3.188 kB / 1.211 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004159/1.346, allocations: 1.85 MB / 1.212 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/1.347, allocations: 354.6 kB / 1.213 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005253/1.347, allocations: 20 kB / 1.213 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/1.349, allocations: 167 kB / 1.213 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/1.349, allocations: 60.56 kB / 1.213 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.849e-05/1.349, allocations: 35.92 kB / 1.213 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001825/1.351, allocations: 1.113 MB / 1.214 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.31e-07/1.351, allocations: 0 / 1.214 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003497/1.355, allocations: 1.001 MB / 1.215 GB, free: 13.12 MB / 0.7605 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001679/1.356, allocations: 0.6457 MB / 1.216 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004378/1.361, allocations: 1.949 MB / 1.218 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/1.361, allocations: 5.438 kB / 1.218 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/1.362, allocations: 0.6275 MB / 1.218 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00443/1.367, allocations: 0.8124 MB / 1.219 GB, free: 9.262 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009772/1.376, allocations: 4.552 MB / 1.224 GB, free: 4.668 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/1.378, allocations: 1.503 MB / 1.225 GB, free: 3.129 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007219/1.378, allocations: 151.4 kB / 1.225 GB, free: 2.98 MB / 0.7605 GB Notification: Performance of SimCode: time 8.21e-07/1.378, allocations: 0 / 1.225 GB, free: 2.98 MB / 0.7605 GB Notification: Performance of Templates: time 0.05846/1.437, allocations: 35.03 MB / 1.259 GB, free: 76 kB / 0.7917 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)