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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.00105, allocations: 100.9 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.538/1.538, allocations: 251.9 MB / 0.51 GB, free: 4.852 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006953/0.0006954, allocations: 12 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6088/0.6095, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.8522/1.462, allocations: 194.2 MB / 0.9176 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03409/1.496, allocations: 17.25 MB / 0.9345 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00459/1.501, allocations: 66.81 kB / 0.9345 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005146/1.506, allocations: 1.185 MB / 0.9357 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01442/1.52, allocations: 3.263 MB / 0.9389 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01345/1.534, allocations: 3.083 MB / 0.9419 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0087/1.542, allocations: 2.967 MB / 0.9448 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002914/1.545, allocations: 1.423 MB / 0.9462 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005756/1.551, allocations: 1.913 MB / 0.9481 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/1.554, allocations: 1.091 MB / 0.9491 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002855/1.554, allocations: 81.22 kB / 0.9492 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005695/1.56, allocations: 1.832 MB / 0.951 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008456/1.561, allocations: 0.5773 MB / 0.9516 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001412/1.562, allocations: 473.9 kB / 0.952 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005245/1.567, allocations: 2.903 MB / 0.9548 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.567, allocations: 0 / 0.9548 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.943e-06/1.567, allocations: 4 kB / 0.9548 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001159/1.568, allocations: 0 / 0.9548 GB, free: 20.34 MB / 0.7325 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.00601/1.574, allocations: 2.444 MB / 0.9572 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.574, allocations: 11.53 kB / 0.9572 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004971/1.579, allocations: 0.8122 MB / 0.958 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004096/1.583, allocations: 1.605 MB / 0.9596 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004395/1.583, allocations: 181.2 kB / 0.9598 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003653/1.584, allocations: 147.6 kB / 0.9599 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003705/1.587, allocations: 1.685 MB / 0.9616 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/1.587, allocations: 0 / 0.9616 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/1.588, allocations: 61.86 kB / 0.9616 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.888e-05/1.588, allocations: 47.88 kB / 0.9617 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003251/1.591, allocations: 1.484 MB / 0.9631 GB, free: 18.14 MB / 0.7325 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.01262/1.603, allocations: 7.705 MB / 0.9706 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002711/1.606, allocations: 1.646 MB / 0.9722 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/1.607, allocations: 0.6384 MB / 0.9729 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/1.609, allocations: 0.5698 MB / 0.9734 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001173/1.61, allocations: 117.1 kB / 0.9735 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=84): time 7.404e-06/1.61, allocations: 0 / 0.9735 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84): time 0.004486/1.614, allocations: 1.65 MB / 0.9752 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.614, allocations: 137.5 kB / 0.9753 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003178/1.618, allocations: 1.619 MB / 0.9769 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002009/1.618, allocations: 47.14 kB / 0.9769 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009309/1.619, allocations: 0.9391 MB / 0.9778 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/1.619, allocations: 294.1 kB / 0.9781 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/1.619, allocations: 25.19 kB / 0.9781 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001814/1.619, allocations: 355.2 kB / 0.9785 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/1.62, allocations: 462.2 kB / 0.9789 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/1.622, allocations: 0.8129 MB / 0.9797 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/1.623, allocations: 0.5749 MB / 0.9803 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/1.623, allocations: 2.938 kB / 0.9803 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003455/1.627, allocations: 1.469 MB / 0.9817 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.001729/1.628, allocations: 3.303 MB / 0.9849 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.734e-05/1.628, allocations: 10.97 kB / 0.9849 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.476e-05/1.629, allocations: 13.81 kB / 0.985 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/1.63, allocations: 284 kB / 0.9852 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-05/1.63, allocations: 22.59 kB / 0.9852 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/1.632, allocations: 162 kB / 0.9854 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/1.632, allocations: 49.11 kB / 0.9854 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.632, allocations: 4.906 kB / 0.9854 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0028/1.635, allocations: 1.284 MB / 0.9867 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.315e-05/1.635, allocations: 9.594 kB / 0.9867 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/1.635, allocations: 14.94 kB / 0.9867 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/1.636, allocations: 284 kB / 0.987 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.592e-05/1.636, allocations: 15.09 kB / 0.987 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/1.638, allocations: 168 kB / 0.9872 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/1.638, allocations: 48.33 kB / 0.9872 GB, free: 4.953 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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.001266/1.639, allocations: 0.5531 MB / 0.9878 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006841/1.64, allocations: 180.8 kB / 0.9879 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/1.644, allocations: 1.216 MB / 0.9891 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/1.644, allocations: 8.688 kB / 0.9891 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/1.644, allocations: 4.75 kB / 0.9891 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002511/1.647, allocations: 1.274 MB / 0.9904 GB, free: 3.695 MB / 0.7325 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.008347/1.655, allocations: 3.006 MB / 0.9933 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/1.655, allocations: 0 / 0.9933 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/1.656, allocations: 203.9 kB / 0.9935 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003098/1.656, allocations: 45.83 kB / 0.9935 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.629e-05/1.657, allocations: 25.89 kB / 0.9936 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/1.658, allocations: 1.449 MB / 0.995 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.658, allocations: 0 / 0.995 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004275/1.662, allocations: 1.893 MB / 0.9968 GB, free: 484 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/1.664, allocations: 347.3 kB / 0.9972 GB, free: 252 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005197/1.664, allocations: 19.66 kB / 0.9972 GB, free: 252 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/1.666, allocations: 161.6 kB / 0.9973 GB, free: 196 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/1.666, allocations: 67.92 kB / 0.9974 GB, free: 168 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.406e-05/1.666, allocations: 38.38 kB / 0.9974 GB, free: 156 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002417/1.669, allocations: 1.083 MB / 0.9985 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.314e-06/1.669, allocations: 0 / 0.9985 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00439/1.673, allocations: 1.004 MB / 0.9995 GB, free: 15.68 MB / 0.7481 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.001992/1.675, allocations: 0.6355 MB / 1 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004438/1.68, allocations: 1.914 MB / 1.002 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/1.68, allocations: 2.969 kB / 1.002 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001452/1.681, allocations: 0.6273 MB / 1.003 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004415/1.686, allocations: 0.805 MB / 1.003 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/1.696, allocations: 4.47 MB / 1.008 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/1.698, allocations: 1.548 MB / 1.009 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002988/1.701, allocations: 450.7 kB / 1.01 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006955/1.702, allocations: 139.3 kB / 1.01 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of SimCode: time 1.202e-06/1.702, allocations: 0 / 1.01 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of Templates: time 0.06548/1.767, allocations: 31.53 MB / 1.041 GB, free: 10.84 MB / 0.7794 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: