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.001018/0.001018, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.008236/0.008236, allocations: 171.8 kB / 16.27 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.542/1.542, allocations: 252 MB / 0.5105 GB, free: 4.719 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.0006273/0.0006275, allocations: 16 kB / 0.6249 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5744/0.575, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.9147/1.49, allocations: 231 MB / 0.9543 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02658/1.516, allocations: 18.64 MB / 0.9725 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004625/1.521, allocations: 75.34 kB / 0.9726 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004447/1.525, allocations: 1.185 MB / 0.9737 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0105/1.536, allocations: 3.248 MB / 0.9769 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01027/1.546, allocations: 3.28 MB / 0.9801 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009849/1.556, allocations: 6.633 MB / 0.9866 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00358/1.56, allocations: 1.604 MB / 0.9881 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00653/1.566, allocations: 2.307 MB / 0.9904 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004309/1.571, allocations: 1.561 MB / 0.9919 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004003/1.571, allocations: 80.22 kB / 0.992 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008175/1.579, allocations: 3.864 MB / 0.9958 GB, free: 440 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001105/1.58, allocations: 0.6391 MB / 0.9964 GB, free: 252 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001964/1.582, allocations: 1.089 MB / 0.9975 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009592/1.592, allocations: 4.446 MB / 1.002 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.592, allocations: 0.9062 kB / 1.002 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.633e-06/1.592, allocations: 0 / 1.002 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.835e-05/1.592, allocations: 0 / 1.002 GB, free: 13.71 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.005542/1.598, allocations: 2.475 MB / 1.004 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.598, allocations: 12.5 kB / 1.004 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004746/1.602, allocations: 0.7979 MB / 1.005 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003342/1.606, allocations: 1.668 MB / 1.007 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003928/1.606, allocations: 179.8 kB / 1.007 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/1.606, allocations: 145.4 kB / 1.007 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003316/1.61, allocations: 1.709 MB / 1.009 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/1.61, allocations: 0 / 1.009 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/1.61, allocations: 58.62 kB / 1.009 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.815e-05/1.61, allocations: 50.06 kB / 1.009 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/1.613, allocations: 1.494 MB / 1.01 GB, free: 8.465 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.01099/1.624, allocations: 7.558 MB / 1.018 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00267/1.627, allocations: 1.644 MB / 1.019 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/1.628, allocations: 0.5291 MB / 1.02 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/1.629, allocations: 0.8155 MB / 1.02 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/1.631, allocations: 0.5785 MB / 1.021 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001026/1.632, allocations: 124.1 kB / 1.021 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=84): time 4.689e-06/1.632, allocations: 3.984 kB / 1.021 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84): time 0.004195/1.636, allocations: 1.65 MB / 1.023 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/1.636, allocations: 115.8 kB / 1.023 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002264/1.638, allocations: 1.6 MB / 1.024 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/1.638, allocations: 49.7 kB / 1.024 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008377/1.639, allocations: 0.9232 MB / 1.025 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/1.64, allocations: 302.2 kB / 1.026 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/1.64, allocations: 97.67 kB / 1.026 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001581/1.64, allocations: 353.9 kB / 1.026 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/1.641, allocations: 485 kB / 1.027 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/1.642, allocations: 0.8481 MB / 1.027 GB, free: 8.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/1.645, allocations: 1.287 MB / 1.029 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.645, allocations: 2.438 kB / 1.029 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003235/1.648, allocations: 1.508 MB / 1.03 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003346/1.648, allocations: 390.4 kB / 1.031 GB, free: 5.621 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/1.648, allocations: 8 kB / 1.031 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/1.648, allocations: 16 kB / 1.031 GB, free: 5.598 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/1.65, allocations: 275.1 kB / 1.031 GB, free: 5.344 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.631e-05/1.65, allocations: 25.14 kB / 1.031 GB, free: 5.324 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/1.652, allocations: 156.4 kB / 1.031 GB, free: 5.172 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/1.652, allocations: 55.73 kB / 1.031 GB, free: 5.121 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/1.652, allocations: 4 kB / 1.031 GB, free: 5.117 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00277/1.655, allocations: 1.302 MB / 1.032 GB, free: 3.863 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/1.655, allocations: 11.98 kB / 1.032 GB, free: 3.852 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/1.655, allocations: 16.88 kB / 1.032 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/1.656, allocations: 275.2 kB / 1.033 GB, free: 3.582 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/1.656, allocations: 18.62 kB / 1.033 GB, free: 3.566 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/1.657, allocations: 168.3 kB / 1.033 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-05/1.658, allocations: 54.52 kB / 1.033 GB, free: 3.352 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (135): * Single equations (assignments): 131 * 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.001149/1.659, allocations: 0.5463 MB / 1.033 GB, free: 2.812 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/1.659, allocations: 177.8 kB / 1.034 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/1.662, allocations: 1.215 MB / 1.035 GB, free: 1.41 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/1.662, allocations: 8 kB / 1.035 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/1.662, allocations: 0 / 1.035 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002285/1.664, allocations: 1.272 MB / 1.036 GB, free: 44 kB / 0.7481 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.005896/1.67, allocations: 2.932 MB / 1.039 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.67, allocations: 0 / 1.039 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009823/1.671, allocations: 199.6 kB / 1.039 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002369/1.671, allocations: 44.81 kB / 1.039 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.975e-05/1.671, allocations: 27.98 kB / 1.039 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/1.673, allocations: 1.424 MB / 1.04 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.673, allocations: 0 / 1.04 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003925/1.677, allocations: 1.829 MB / 1.042 GB, free: 9.367 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/1.678, allocations: 346.6 kB / 1.043 GB, free: 9.008 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/1.678, allocations: 16 kB / 1.043 GB, free: 8.992 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/1.679, allocations: 155.8 kB / 1.043 GB, free: 8.84 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/1.68, allocations: 68.45 kB / 1.043 GB, free: 8.773 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.335e-05/1.68, allocations: 35.98 kB / 1.043 GB, free: 8.738 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001798/1.681, allocations: 1.07 MB / 1.044 GB, free: 7.645 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.51e-07/1.681, allocations: 0 / 1.044 GB, free: 7.645 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003155/1.685, allocations: 0.9935 MB / 1.045 GB, free: 6.648 MB / 0.7637 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.001852/1.687, allocations: 0.637 MB / 1.045 GB, free: 6.176 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004281/1.691, allocations: 1.944 MB / 1.047 GB, free: 4.266 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/1.691, allocations: 4 kB / 1.047 GB, free: 4.262 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001419/1.692, allocations: 0.63 MB / 1.048 GB, free: 3.633 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004576/1.697, allocations: 0.8059 MB / 1.049 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008874/1.706, allocations: 4.559 MB / 1.053 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/1.707, allocations: 1.495 MB / 1.055 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002301/1.709, allocations: 450.6 kB / 1.055 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/1.71, allocations: 135.4 kB / 1.055 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of SimCode: time 1.263e-06/1.71, allocations: 2.812 kB / 1.055 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of Templates: time 0.06258/1.772, allocations: 31.65 MB / 1.086 GB, free: 13 MB / 0.8106 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: