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.0009397/0.0009396, allocations: 99.55 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.00107/0.00107, 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.32/1.32, allocations: 205.4 MB / 222.1 MB, free: 5.449 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.628/1.628, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0007092/0.0007093, allocations: 12.53 kB / 0.6735 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2366, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.6017/0.8383, allocations: 193.9 MB / 0.9765 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02166/0.8601, allocations: 17.14 MB / 0.9932 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003676/0.8638, allocations: 69.19 kB / 0.9933 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004395/0.8682, allocations: 1.175 MB / 0.9945 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.8783, allocations: 3.241 MB / 0.9976 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008803/0.8871, allocations: 3.053 MB / 1.001 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006451/0.8936, allocations: 2.939 MB / 1.003 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/0.8958, allocations: 1.409 MB / 1.005 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004022/0.8998, allocations: 1.921 MB / 1.007 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.9012, allocations: 1.056 MB / 1.008 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001969/0.9015, allocations: 83.06 kB / 1.008 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004603/0.9061, allocations: 1.887 MB / 1.01 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007424/0.9068, allocations: 0.5736 MB / 1.01 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006366/0.9075, allocations: 467 kB / 1.011 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003931/0.9114, allocations: 2.922 MB / 1.014 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.9114, allocations: 0 / 1.014 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9114, allocations: 0 / 1.014 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.558e-05/0.9115, allocations: 3.938 kB / 1.014 GB, free: 10.02 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.004391/0.9159, allocations: 2.455 MB / 1.016 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.9159, allocations: 8.031 kB / 1.016 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004571/0.9205, allocations: 0.8246 MB / 1.017 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003362/0.9239, allocations: 1.612 MB / 1.018 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003551/0.9243, allocations: 171.6 kB / 1.018 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.9245, allocations: 148.8 kB / 1.019 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/0.9274, allocations: 1.683 MB / 1.02 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.9275, allocations: 2.5 kB / 1.02 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.9276, allocations: 57.78 kB / 1.02 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.333e-05/0.9277, allocations: 54.97 kB / 1.02 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002992/0.9307, allocations: 1.472 MB / 1.022 GB, free: 4.785 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.01003/0.9407, allocations: 7.686 MB / 1.029 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.9433, allocations: 1.656 MB / 1.031 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.9443, allocations: 0.6409 MB / 1.032 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.9455, allocations: 0.5726 MB / 1.032 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008028/0.9463, allocations: 118.7 kB / 1.032 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=84): time 3.236e-06/0.9463, allocations: 0 / 1.032 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84): time 0.003864/0.9502, allocations: 1.659 MB / 1.034 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.275e-05/0.9503, allocations: 144 kB / 1.034 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.9523, allocations: 1.608 MB / 1.036 GB, free: 8.836 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.9525, allocations: 53.7 kB / 1.036 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007549/0.9532, allocations: 0.9322 MB / 1.037 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.9535, allocations: 295.7 kB / 1.037 GB, free: 7.543 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/0.9535, allocations: 20 kB / 1.037 GB, free: 7.523 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.9537, allocations: 349.9 kB / 1.037 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000996/0.9547, allocations: 466.3 kB / 1.038 GB, free: 6.719 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.9559, allocations: 0.8199 MB / 1.038 GB, free: 5.75 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.9571, allocations: 0.5731 MB / 1.039 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.9571, allocations: 0 / 1.039 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002986/0.9601, allocations: 1.476 MB / 1.04 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.001195/0.9613, allocations: 3.312 MB / 1.044 GB, free: 176 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/0.9613, allocations: 8 kB / 1.044 GB, free: 168 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.948e-05/0.9614, allocations: 16 kB / 1.044 GB, free: 152 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.9625, allocations: 287.8 kB / 1.044 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.353e-05/0.9626, allocations: 19.94 kB / 1.044 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.9643, allocations: 164.3 kB / 1.044 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.72e-05/0.9644, allocations: 55.92 kB / 1.044 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.9644, allocations: 4 kB / 1.044 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002488/0.9669, allocations: 1.29 MB / 1.045 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.967, allocations: 8 kB / 1.045 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.967, allocations: 16 kB / 1.045 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.9681, allocations: 283.9 kB / 1.046 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.023e-05/0.9681, allocations: 19.89 kB / 1.046 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.9697, allocations: 156.5 kB / 1.046 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.549e-05/0.9698, allocations: 51.98 kB / 1.046 GB, free: 13.81 MB / 0.7637 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.0009954/0.9708, allocations: 0.5337 MB / 1.046 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.9711, allocations: 185.7 kB / 1.047 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/0.9738, allocations: 1.212 MB / 1.048 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.9738, allocations: 15.98 kB / 1.048 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.9738, allocations: 0 / 1.048 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002185/0.976, allocations: 1.27 MB / 1.049 GB, free: 10.49 MB / 0.7637 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.005451/0.9814, allocations: 3.033 MB / 1.052 GB, free: 7.316 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.9815, allocations: 0 / 1.052 GB, free: 7.316 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009665/0.9824, allocations: 199.9 kB / 1.052 GB, free: 7.121 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000232/0.9827, allocations: 52.83 kB / 1.052 GB, free: 7.066 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.719e-05/0.9828, allocations: 27.98 kB / 1.052 GB, free: 7.039 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.9841, allocations: 1.429 MB / 1.054 GB, free: 5.48 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9841, allocations: 4.031 kB / 1.054 GB, free: 5.477 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003652/0.9878, allocations: 1.896 MB / 1.056 GB, free: 3.512 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008818/0.9887, allocations: 354.9 kB / 1.056 GB, free: 3.145 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/0.9889, allocations: 16 kB / 1.056 GB, free: 3.129 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.9901, allocations: 163.7 kB / 1.056 GB, free: 2.969 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.9902, allocations: 60.56 kB / 1.056 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.256e-05/0.9903, allocations: 35.97 kB / 1.056 GB, free: 2.875 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001649/0.992, allocations: 1.078 MB / 1.057 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.81e-07/0.992, allocations: 0 / 1.057 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002801/0.9948, allocations: 1.013 MB / 1.058 GB, free: 0.7578 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 (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.001412/0.9962, allocations: 0.6357 MB / 1.059 GB, free: 260 kB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003874/1, allocations: 1.925 MB / 1.061 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1, allocations: 0 / 1.061 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/1.001, allocations: 0.6286 MB / 1.061 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003519/1.005, allocations: 0.8007 MB / 1.062 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007661/1.013, allocations: 4.459 MB / 1.066 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/1.014, allocations: 1.538 MB / 1.068 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001974/1.016, allocations: 454.7 kB / 1.068 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003715/1.016, allocations: 147.4 kB / 1.069 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of SimCode: time 1.333e-06/1.016, allocations: 0 / 1.069 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.05242/1.068, allocations: 31.6 MB / 1.099 GB, free: 7 MB / 0.8106 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: