Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009249/0.000925, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0009203/0.0009207, allocations: 172.7 kB / 15.95 MB, free: 208 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.368/1.368, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.643/1.643, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.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.0004905/0.0004905, allocations: 14.19 kB / 0.6737 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2439, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.6799/0.9238, allocations: 215.2 MB / 0.9975 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02515/0.949, allocations: 17.12 MB / 1.014 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003832/0.9529, allocations: 71.94 kB / 1.014 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003612/0.9566, allocations: 0.8941 MB / 1.015 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008704/0.9653, allocations: 2.518 MB / 1.018 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.009019/0.9743, allocations: 2.851 MB / 1.02 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.009569/0.9839, allocations: 5.596 MB / 1.026 GB, free: 304 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003135/0.9871, allocations: 1.389 MB / 1.027 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005428/0.9925, allocations: 2.131 MB / 1.029 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00306/0.9956, allocations: 1.49 MB / 1.031 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000482/0.9961, allocations: 86.56 kB / 1.031 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006324/1.002, allocations: 2.22 MB / 1.033 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001158/1.004, allocations: 0.6258 MB / 1.034 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001354/1.005, allocations: 470.7 kB / 1.034 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006153/1.011, allocations: 3.096 MB / 1.037 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/1.011, allocations: 0 / 1.037 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.294e-06/1.011, allocations: 0 / 1.037 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.663e-05/1.011, allocations: 0 / 1.037 GB, free: 9.559 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.005185/1.017, allocations: 2.503 MB / 1.039 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/1.017, allocations: 8.188 kB / 1.039 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004566/1.021, allocations: 0.8138 MB / 1.04 GB, free: 7.363 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003424/1.025, allocations: 1.587 MB / 1.042 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003435/1.025, allocations: 172.6 kB / 1.042 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002526/1.025, allocations: 147.3 kB / 1.042 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003214/1.028, allocations: 1.702 MB / 1.044 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/1.028, allocations: 2.5 kB / 1.044 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/1.029, allocations: 53 kB / 1.044 GB, free: 4.973 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.808e-05/1.029, allocations: 50.77 kB / 1.044 GB, free: 4.965 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003106/1.032, allocations: 1.493 MB / 1.045 GB, free: 3.547 MB / 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 preOpt removeSimpleEquations (simulation): time 0.01087/1.043, allocations: 7.628 MB / 1.053 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/1.045, allocations: 1.661 MB / 1.054 GB, free: 9.578 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009974/1.046, allocations: 0.5394 MB / 1.055 GB, free: 9.039 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/1.047, allocations: 0.8102 MB / 1.056 GB, free: 8.082 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/1.049, allocations: 0.5832 MB / 1.056 GB, free: 7.484 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009272/1.05, allocations: 119.2 kB / 1.056 GB, free: 7.367 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=84): time 4.168e-06/1.05, allocations: 4 kB / 1.056 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of matching and sorting (n=84): time 0.003764/1.053, allocations: 1.667 MB / 1.058 GB, free: 5.668 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/1.053, allocations: 137.5 kB / 1.058 GB, free: 5.504 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/1.056, allocations: 1.62 MB / 1.06 GB, free: 3.836 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.149e-05/1.056, allocations: 53.64 kB / 1.06 GB, free: 3.777 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008066/1.057, allocations: 0.9244 MB / 1.061 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/1.057, allocations: 299.6 kB / 1.061 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/1.057, allocations: 24 kB / 1.061 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.057, allocations: 353.9 kB / 1.061 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009776/1.058, allocations: 470.3 kB / 1.062 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/1.059, allocations: 0.8274 MB / 1.063 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/1.06, allocations: 0.5862 MB / 1.063 GB, free: 136 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/1.06, allocations: 3.938 kB / 1.063 GB, free: 132 kB / 0.7637 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00277/1.063, allocations: 1.481 MB / 1.065 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002385/1.063, allocations: 364.8 kB / 1.065 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/1.063, allocations: 19.92 kB / 1.065 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.063e-05/1.063, allocations: 12 kB / 1.065 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/1.065, allocations: 279.6 kB / 1.065 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.407e-05/1.065, allocations: 19.92 kB / 1.065 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/1.066, allocations: 160.4 kB / 1.065 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.773e-05/1.066, allocations: 47.98 kB / 1.066 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/1.066, allocations: 4 kB / 1.066 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002412/1.069, allocations: 1.298 MB / 1.067 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/1.069, allocations: 16.39 kB / 1.067 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/1.069, allocations: 19.95 kB / 1.067 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009872/1.07, allocations: 279.6 kB / 1.067 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/1.07, allocations: 15.94 kB / 1.067 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/1.071, allocations: 156.5 kB / 1.067 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.918e-05/1.071, allocations: 55.98 kB / 1.067 GB, free: 11.79 MB / 0.7794 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.001056/1.072, allocations: 0.5451 MB / 1.068 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/1.073, allocations: 185.6 kB / 1.068 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/1.075, allocations: 1.216 MB / 1.069 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/1.075, allocations: 8 kB / 1.069 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/1.075, allocations: 0 / 1.069 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00229/1.078, allocations: 1.285 MB / 1.07 GB, free: 8.445 MB / 0.7794 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.005333/1.083, allocations: 2.968 MB / 1.073 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/1.083, allocations: 4 kB / 1.073 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000933/1.084, allocations: 199.9 kB / 1.074 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002734/1.084, allocations: 48.8 kB / 1.074 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.57e-05/1.084, allocations: 27.98 kB / 1.074 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/1.086, allocations: 1.417 MB / 1.075 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.086, allocations: 4.031 kB / 1.075 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003382/1.089, allocations: 1.847 MB / 1.077 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008/1.09, allocations: 350.7 kB / 1.077 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/1.09, allocations: 20 kB / 1.077 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.091, allocations: 158.8 kB / 1.077 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/1.091, allocations: 68.45 kB / 1.077 GB, free: 1.055 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.577e-05/1.091, allocations: 31.98 kB / 1.077 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001624/1.093, allocations: 1.086 MB / 1.078 GB, free: 15.91 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/1.093, allocations: 8 kB / 1.079 GB, free: 15.9 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002948/1.096, allocations: 1.009 MB / 1.079 GB, free: 14.89 MB / 0.795 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.001532/1.097, allocations: 0.6448 MB / 1.08 GB, free: 14.38 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003711/1.101, allocations: 1.931 MB / 1.082 GB, free: 12.41 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.101, allocations: 0 / 1.082 GB, free: 12.41 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/1.102, allocations: 0.6313 MB / 1.083 GB, free: 11.77 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003547/1.106, allocations: 0.8177 MB / 1.083 GB, free: 10.95 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007969/1.114, allocations: 4.475 MB / 1.088 GB, free: 6.43 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/1.115, allocations: 1.495 MB / 1.089 GB, free: 4.898 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001999/1.117, allocations: 450.8 kB / 1.09 GB, free: 4.453 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003752/1.117, allocations: 139.3 kB / 1.09 GB, free: 4.316 MB / 0.795 GB Notification: Performance of SimCode: time 5.31e-07/1.117, allocations: 0 / 1.09 GB, free: 4.316 MB / 0.795 GB Notification: Performance of Templates: time 0.05375/1.171, allocations: 31.78 MB / 1.121 GB, free: 4.961 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) Environment - environmentSimulation: