Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.311/2.311, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001343/0.001343, allocations: 181.9 kB / 325.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.419/2.419, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000909/0.0009089, allocations: 92.78 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 11.84 kB / 0.7953 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2772, allocations: 106.3 MB / 0.899 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 1.049/1.326, allocations: 215.5 MB / 1.11 GB, free: 3.711 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03504/1.361, allocations: 17.22 MB / 1.126 GB, free: 3.301 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004153/1.365, allocations: 72.47 kB / 1.126 GB, free: 3.301 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004698/1.37, allocations: 0.909 MB / 1.127 GB, free: 3.27 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01101/1.381, allocations: 2.559 MB / 1.13 GB, free: 3.152 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01224/1.394, allocations: 2.871 MB / 1.133 GB, free: 3.059 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01012/1.404, allocations: 5.702 MB / 1.138 GB, free: 3.035 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00381/1.408, allocations: 1.487 MB / 1.14 GB, free: 2.848 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007358/1.415, allocations: 2.107 MB / 1.142 GB, free: 2.828 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004859/1.42, allocations: 1.523 MB / 1.143 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008207/1.421, allocations: 81.94 kB / 1.143 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008742/1.429, allocations: 2.222 MB / 1.145 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001818/1.431, allocations: 0.6376 MB / 1.146 GB, free: 2.09 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001388/1.433, allocations: 466.7 kB / 1.146 GB, free: 18.06 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.007026/1.44, allocations: 3.111 MB / 1.15 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.44, allocations: 0 / 1.15 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.136e-06/1.44, allocations: 0 / 1.15 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.745e-05/1.44, allocations: 0 / 1.15 GB, free: 16.54 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.00788/1.448, allocations: 2.51 MB / 1.152 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.448, allocations: 11.12 kB / 1.152 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007922/1.456, allocations: 0.8051 MB / 1.153 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005836/1.462, allocations: 1.587 MB / 1.154 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007348/1.463, allocations: 173.9 kB / 1.154 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006372/1.463, allocations: 145.3 kB / 1.155 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00609/1.469, allocations: 1.712 MB / 1.156 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-05/1.469, allocations: 2.625 kB / 1.156 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002451/1.47, allocations: 60.3 kB / 1.156 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.866e-05/1.47, allocations: 47.72 kB / 1.156 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006754/1.477, allocations: 1.495 MB / 1.158 GB, free: 12.99 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.01951/1.496, allocations: 7.642 MB / 1.165 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00497/1.501, allocations: 1.637 MB / 1.167 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002164/1.503, allocations: 0.5339 MB / 1.167 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002263/1.506, allocations: 0.8107 MB / 1.168 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002463/1.508, allocations: 0.5869 MB / 1.169 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001433/1.51, allocations: 122 kB / 1.169 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=84): time 6.853e-06/1.51, allocations: 0 / 1.169 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84): time 0.007611/1.517, allocations: 1.654 MB / 1.171 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.981e-05/1.518, allocations: 141.9 kB / 1.171 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003922/1.521, allocations: 1.626 MB / 1.172 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003295/1.522, allocations: 45.83 kB / 1.172 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001177/1.523, allocations: 0.9329 MB / 1.173 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005525/1.524, allocations: 301.9 kB / 1.173 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/1.524, allocations: 22.66 kB / 1.174 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.524, allocations: 350.2 kB / 1.174 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001929/1.526, allocations: 466.8 kB / 1.174 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002485/1.528, allocations: 0.8429 MB / 1.175 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/1.531, allocations: 0.5701 MB / 1.176 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.162e-05/1.531, allocations: 2.906 kB / 1.176 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005863/1.537, allocations: 1.485 MB / 1.177 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003418/1.537, allocations: 370.9 kB / 1.177 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.962e-05/1.537, allocations: 12 kB / 1.177 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.895e-05/1.537, allocations: 13.86 kB / 1.177 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002451/1.54, allocations: 280.8 kB / 1.178 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-05/1.54, allocations: 22.42 kB / 1.178 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003291/1.543, allocations: 167.2 kB / 1.178 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000338/1.544, allocations: 48.11 kB / 1.178 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.544, allocations: 5.406 kB / 1.178 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005288/1.549, allocations: 1.298 MB / 1.179 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.326e-05/1.549, allocations: 11.94 kB / 1.179 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/1.549, allocations: 16 kB / 1.179 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/1.552, allocations: 275.7 kB / 1.18 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-05/1.552, allocations: 18.61 kB / 1.18 GB, free: 452 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/1.555, allocations: 170 kB / 1.18 GB, free: 304 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003037/1.555, allocations: 52.23 kB / 1.18 GB, free: 260 kB / 0.7136 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.001677/1.557, allocations: 0.5452 MB / 1.18 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006643/1.558, allocations: 181.8 kB / 1.18 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005302/1.563, allocations: 1.221 MB / 1.182 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/1.563, allocations: 8 kB / 1.182 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/1.563, allocations: 0 / 1.182 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004175/1.567, allocations: 1.275 MB / 1.183 GB, free: 13.72 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.01048/1.578, allocations: 2.96 MB / 1.186 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/1.578, allocations: 4 kB / 1.186 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002018/1.58, allocations: 198 kB / 1.186 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003763/1.58, allocations: 45.31 kB / 1.186 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/1.58, allocations: 33.23 kB / 1.186 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/1.582, allocations: 1.416 MB / 1.187 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/1.582, allocations: 8.016 kB / 1.187 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007165/1.59, allocations: 1.85 MB / 1.189 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/1.591, allocations: 348.3 kB / 1.19 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000494/1.592, allocations: 15.88 kB / 1.19 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002727/1.594, allocations: 172.6 kB / 1.19 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/1.595, allocations: 60.81 kB / 1.19 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/1.595, allocations: 30.05 kB / 1.19 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002643/1.597, allocations: 1.096 MB / 1.191 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.022e-06/1.597, allocations: 0 / 1.191 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004892/1.602, allocations: 1.014 MB / 1.192 GB, free: 6.094 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.002291/1.605, allocations: 0.6141 MB / 1.193 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.007546/1.612, allocations: 1.934 MB / 1.194 GB, free: 4.207 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/1.612, allocations: 4 kB / 1.194 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002437/1.615, allocations: 0.6287 MB / 1.195 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006993/1.622, allocations: 0.8189 MB / 1.196 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/1.636, allocations: 4.486 MB / 1.2 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/1.638, allocations: 1.5 MB / 1.202 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00337/1.641, allocations: 450.7 kB / 1.202 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007193/1.642, allocations: 141.4 kB / 1.202 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of SimCode: time 1.503e-06/1.642, allocations: 0 / 1.202 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of Templates: time 0.09054/1.732, allocations: 31.72 MB / 1.233 GB, free: 13.52 MB / 0.7761 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)