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.0008362/0.0008361, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0009857/0.000986, allocations: 168.7 kB / 15.95 MB, free: 204 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.619/1.619, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.607/1.607, allocations: 252 MB / 0.5102 GB, free: 4.836 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.0006031/0.0006033, allocations: 19.44 kB / 0.6243 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5799/0.5805, allocations: 106.3 MB / 0.7281 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.8585/1.439, allocations: 215.5 MB / 0.9386 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02493/1.464, allocations: 17.21 MB / 0.9554 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004494/1.469, allocations: 75.78 kB / 0.9555 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004444/1.473, allocations: 0.9102 MB / 0.9564 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009964/1.483, allocations: 2.563 MB / 0.9589 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01054/1.494, allocations: 2.866 MB / 0.9617 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009365/1.503, allocations: 5.666 MB / 0.9672 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00411/1.507, allocations: 1.395 MB / 0.9686 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006754/1.514, allocations: 2.109 MB / 0.9706 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004135/1.518, allocations: 1.517 MB / 0.9721 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001004/1.519, allocations: 81.25 kB / 0.9722 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007796/1.527, allocations: 2.226 MB / 0.9744 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001801/1.529, allocations: 0.6387 MB / 0.975 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002007/1.531, allocations: 468.7 kB / 0.9754 GB, free: 20.56 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006319/1.537, allocations: 3.103 MB / 0.9785 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/1.537, allocations: 3.031 kB / 0.9785 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.244e-06/1.537, allocations: 0 / 0.9785 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001604/1.537, allocations: 0 / 0.9785 GB, free: 20.32 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.006834/1.544, allocations: 2.512 MB / 0.9809 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.544, allocations: 11.28 kB / 0.9809 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005115/1.549, allocations: 0.8009 MB / 0.9817 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00427/1.554, allocations: 1.586 MB / 0.9833 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004193/1.554, allocations: 176.8 kB / 0.9834 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006004/1.555, allocations: 152.2 kB / 0.9836 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004242/1.559, allocations: 1.703 MB / 0.9852 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.304e-05/1.559, allocations: 4 kB / 0.9852 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/1.559, allocations: 53.59 kB / 0.9853 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.545e-05/1.559, allocations: 51.64 kB / 0.9853 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003688/1.563, allocations: 1.49 MB / 0.9868 GB, free: 16.99 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.01257/1.576, allocations: 7.628 MB / 0.9942 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/1.578, allocations: 1.648 MB / 0.9959 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/1.579, allocations: 0.5382 MB / 0.9964 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/1.581, allocations: 0.8117 MB / 0.9972 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001282/1.582, allocations: 0.5811 MB / 0.9977 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001103/1.583, allocations: 122.9 kB / 0.9979 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=84): time 1.863e-05/1.583, allocations: 0 / 0.9979 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84): time 0.004375/1.588, allocations: 1.657 MB / 0.9995 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.115e-05/1.588, allocations: 140 kB / 0.9996 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003112/1.591, allocations: 1.628 MB / 1.001 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001969/1.591, allocations: 55.83 kB / 1.001 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/1.592, allocations: 0.9316 MB / 1.002 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003721/1.593, allocations: 296.2 kB / 1.002 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.568e-05/1.593, allocations: 19.97 kB / 1.002 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.593, allocations: 350.2 kB / 1.003 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/1.594, allocations: 467 kB / 1.003 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/1.596, allocations: 0.8361 MB / 1.004 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/1.597, allocations: 0.579 MB / 1.005 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/1.597, allocations: 2.406 kB / 1.005 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00327/1.6, allocations: 1.477 MB / 1.006 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003035/1.6, allocations: 371.8 kB / 1.006 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/1.6, allocations: 11.94 kB / 1.006 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.993e-05/1.6, allocations: 18.22 kB / 1.006 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/1.602, allocations: 278.2 kB / 1.007 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.448e-05/1.602, allocations: 18.19 kB / 1.007 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/1.604, allocations: 164 kB / 1.007 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/1.604, allocations: 50.61 kB / 1.007 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/1.604, allocations: 5.5 kB / 1.007 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002666/1.606, allocations: 1.295 MB / 1.008 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-05/1.607, allocations: 19.97 kB / 1.008 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/1.607, allocations: 13.69 kB / 1.008 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/1.608, allocations: 278.7 kB / 1.009 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.912e-05/1.608, allocations: 16.78 kB / 1.009 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/1.61, allocations: 180.3 kB / 1.009 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/1.61, allocations: 47.05 kB / 1.009 GB, free: 5.902 MB / 0.7325 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.001331/1.611, allocations: 0.543 MB / 1.009 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006294/1.612, allocations: 184.2 kB / 1.009 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003076/1.615, allocations: 1.217 MB / 1.011 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/1.615, allocations: 6.062 kB / 1.011 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/1.615, allocations: 3.25 kB / 1.011 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002343/1.617, allocations: 1.277 MB / 1.012 GB, free: 4.668 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.006926/1.624, allocations: 2.963 MB / 1.015 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.624, allocations: 0 / 1.015 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009904/1.625, allocations: 204.6 kB / 1.015 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002488/1.626, allocations: 49.08 kB / 1.015 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.43e-05/1.626, allocations: 24.86 kB / 1.015 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/1.627, allocations: 1.428 MB / 1.016 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/1.627, allocations: 0 / 1.016 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003881/1.631, allocations: 1.845 MB / 1.018 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.632, allocations: 354.7 kB / 1.019 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004721/1.633, allocations: 18 kB / 1.019 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/1.634, allocations: 155.1 kB / 1.019 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/1.635, allocations: 70.58 kB / 1.019 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.722e-05/1.635, allocations: 34.48 kB / 1.019 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002222/1.637, allocations: 1.092 MB / 1.02 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/1.637, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004451/1.641, allocations: 1.01 MB / 1.021 GB, free: 13.98 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.00211/1.644, allocations: 0.6179 MB / 1.022 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004408/1.648, allocations: 1.935 MB / 1.023 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.648, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001417/1.649, allocations: 0.6279 MB / 1.024 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004703/1.654, allocations: 0.8287 MB / 1.025 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/1.665, allocations: 4.482 MB / 1.029 GB, free: 6.734 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00204/1.667, allocations: 1.501 MB / 1.031 GB, free: 5.262 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002887/1.67, allocations: 453.3 kB / 1.031 GB, free: 4.816 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006023/1.67, allocations: 134.8 kB / 1.031 GB, free: 4.688 MB / 0.7481 GB Notification: Performance of SimCode: time 1.132e-06/1.67, allocations: 0 / 1.031 GB, free: 4.688 MB / 0.7481 GB Notification: Performance of Templates: time 0.06412/1.735, allocations: 31.71 MB / 1.062 GB, free: 5.555 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: