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.001391/0.001391, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001671/0.001671, allocations: 193.8 kB / 16.13 MB, free: 6.652 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.496/1.496, allocations: 205.1 MB / 222 MB, free: 4.762 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.708/1.708, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.001845/0.001845, allocations: 64.34 kB / 0.6708 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2691, allocations: 114.6 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.806/1.075, allocations: 233.9 MB / 1.011 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02891/1.104, allocations: 18.77 MB / 1.029 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005128/1.109, allocations: 79.62 kB / 1.029 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004719/1.114, allocations: 1.192 MB / 1.031 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01071/1.125, allocations: 3.166 MB / 1.034 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01052/1.135, allocations: 3.271 MB / 1.037 GB, free: 5.926 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.009203/1.145, allocations: 6.574 MB / 1.043 GB, free: 2.332 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003138/1.148, allocations: 1.65 MB / 1.045 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006204/1.154, allocations: 2.416 MB / 1.047 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003687/1.158, allocations: 1.603 MB / 1.049 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0004084/1.158, allocations: 106 kB / 1.049 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007701/1.166, allocations: 3.883 MB / 1.053 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001097/1.167, allocations: 0.6687 MB / 1.053 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002015/1.169, allocations: 1.104 MB / 1.054 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.009714/1.179, allocations: 4.503 MB / 1.059 GB, free: 7.742 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/1.179, allocations: 0 / 1.059 GB, free: 7.742 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.874e-06/1.179, allocations: 0 / 1.059 GB, free: 7.742 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.995e-05/1.179, allocations: 0 / 1.059 GB, free: 7.742 MB / 0.7637 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.005719/1.184, allocations: 2.873 MB / 1.062 GB, free: 4.801 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.185, allocations: 12.03 kB / 1.062 GB, free: 4.789 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004871/1.189, allocations: 0.7736 MB / 1.062 GB, free: 4.012 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003234/1.193, allocations: 1.657 MB / 1.064 GB, free: 2.305 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003683/1.193, allocations: 166.8 kB / 1.064 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/1.193, allocations: 151.9 kB / 1.064 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/1.197, allocations: 1.674 MB / 1.066 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/1.197, allocations: 4 kB / 1.066 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/1.197, allocations: 52 kB / 1.066 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-05/1.197, allocations: 58.52 kB / 1.066 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003219/1.2, allocations: 1.442 MB / 1.068 GB, free: 14.68 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 preOpt removeSimpleEquations (simulation): time 0.0106/1.211, allocations: 7.514 MB / 1.075 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002716/1.213, allocations: 1.614 MB / 1.076 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/1.215, allocations: 0.5159 MB / 1.077 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/1.216, allocations: 0.7789 MB / 1.078 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001265/1.217, allocations: 0.5675 MB / 1.078 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000911/1.218, allocations: 115.2 kB / 1.078 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=84): time 3.347e-06/1.218, allocations: 0 / 1.078 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of matching and sorting (n=84): time 0.004127/1.222, allocations: 1.597 MB / 1.08 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/1.222, allocations: 115.8 kB / 1.08 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/1.225, allocations: 1.6 MB / 1.082 GB, free: 15.31 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/1.225, allocations: 45.7 kB / 1.082 GB, free: 15.26 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008118/1.226, allocations: 0.9357 MB / 1.083 GB, free: 14.32 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/1.226, allocations: 299.8 kB / 1.083 GB, free: 14.02 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003202/1.226, allocations: 222.8 kB / 1.083 GB, free: 13.8 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.226, allocations: 349.9 kB / 1.083 GB, free: 13.45 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/1.227, allocations: 473.8 kB / 1.084 GB, free: 12.99 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/1.229, allocations: 0.8313 MB / 1.085 GB, free: 12 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002249/1.231, allocations: 1.253 MB / 1.086 GB, free: 10.62 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.231, allocations: 4 kB / 1.086 GB, free: 10.61 MB / 0.795 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002998/1.234, allocations: 1.481 MB / 1.087 GB, free: 9.117 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.782e-05/1.234, allocations: 41.7 kB / 1.087 GB, free: 9.07 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/1.234, allocations: 11.94 kB / 1.087 GB, free: 9.059 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/1.234, allocations: 16 kB / 1.087 GB, free: 9.043 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/1.235, allocations: 275.6 kB / 1.088 GB, free: 8.773 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.32e-05/1.235, allocations: 23.88 kB / 1.088 GB, free: 8.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/1.237, allocations: 151.1 kB / 1.088 GB, free: 8.605 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.741e-05/1.237, allocations: 51.98 kB / 1.088 GB, free: 8.555 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00171/1.239, allocations: 0.8421 MB / 1.089 GB, free: 7.711 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001306/1.24, allocations: 0.8079 MB / 1.089 GB, free: 6.746 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002324/1.242, allocations: 1.229 MB / 1.091 GB, free: 5.391 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.741e-06/1.242, allocations: 0 / 1.091 GB, free: 5.391 MB / 0.795 GB Notification: Performance of matching and sorting (n=139) (initialization_lambda0): time 0.003061/1.245, allocations: 1.458 MB / 1.092 GB, free: 3.922 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/1.245, allocations: 36.05 kB / 1.092 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/1.245, allocations: 15.98 kB / 1.092 GB, free: 3.867 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/1.245, allocations: 12 kB / 1.092 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/1.246, allocations: 275.7 kB / 1.092 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/1.247, allocations: 15.98 kB / 1.092 GB, free: 3.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/1.248, allocations: 164.2 kB / 1.093 GB, free: 3.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.125e-05/1.248, allocations: 55.98 kB / 1.093 GB, free: 3.355 MB / 0.795 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.0003254/1.249, allocations: 251.9 kB / 1.093 GB, free: 3.102 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/1.249, allocations: 177.8 kB / 1.093 GB, free: 2.926 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/1.252, allocations: 1.181 MB / 1.094 GB, free: 1.727 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/1.252, allocations: 11.94 kB / 1.094 GB, free: 1.715 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.252, allocations: 0 / 1.094 GB, free: 1.715 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00224/1.254, allocations: 1.238 MB / 1.095 GB, free: 396 kB / 0.795 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.00573/1.26, allocations: 2.897 MB / 1.098 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/1.26, allocations: 4 kB / 1.098 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000989/1.261, allocations: 191.9 kB / 1.098 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00022/1.261, allocations: 44.77 kB / 1.099 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.06e-05/1.261, allocations: 23.98 kB / 1.099 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/1.262, allocations: 1.417 MB / 1.1 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.262, allocations: 3.984 kB / 1.1 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003561/1.266, allocations: 1.788 MB / 1.102 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006895/1.267, allocations: 338.7 kB / 1.102 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/1.267, allocations: 16 kB / 1.102 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/1.268, allocations: 147.8 kB / 1.102 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/1.268, allocations: 60.58 kB / 1.102 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.4e-05/1.268, allocations: 31.98 kB / 1.102 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001544/1.27, allocations: 1.069 MB / 1.103 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/1.27, allocations: 0 / 1.103 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002852/1.273, allocations: 1.009 MB / 1.104 GB, free: 7.031 MB / 0.8106 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.001517/1.274, allocations: 0.633 MB / 1.105 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003909/1.278, allocations: 1.9 MB / 1.107 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.278, allocations: 4 kB / 1.107 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/1.279, allocations: 0.6078 MB / 1.107 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003356/1.283, allocations: 0.8035 MB / 1.108 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00784/1.291, allocations: 4.419 MB / 1.112 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/1.292, allocations: 1.495 MB / 1.114 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001935/1.294, allocations: 454.7 kB / 1.114 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/1.294, allocations: 131.4 kB / 1.114 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of SimCode: time 5.91e-07/1.294, allocations: 4 kB / 1.114 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of Templates: time 0.0541/1.348, allocations: 31.87 MB / 1.146 GB, free: 13.14 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (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)