Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 98.27 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.008227/0.008227, allocations: 168.9 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 473.4 MB / 0.7469 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003556, allocations: 6.625 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.309, allocations: 162.2 MB / 1.074 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03656/0.3456, allocations: 40.89 MB / 1.114 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01266/0.3583, allocations: 8.878 MB / 1.123 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002384/0.3608, allocations: 35.75 kB / 1.123 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.3628, allocations: 485.7 kB / 1.123 GB, free: 5.18 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004601/0.3674, allocations: 1.167 MB / 1.124 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003336/0.3708, allocations: 1.055 MB / 1.125 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004372/0.3752, allocations: 3.358 MB / 1.129 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.3764, allocations: 0.7339 MB / 1.129 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.378, allocations: 0.8398 MB / 1.13 GB, free: 14 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008444/0.3789, allocations: 0.692 MB / 1.131 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.064e-05/0.379, allocations: 40 kB / 1.131 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.3812, allocations: 1.053 MB / 1.132 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.3814, allocations: 255 kB / 1.132 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005533/0.382, allocations: 0.5651 MB / 1.133 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002699/0.3847, allocations: 2.227 MB / 1.135 GB, free: 9.148 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3847, allocations: 7.938 kB / 1.135 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3847, allocations: 0 / 1.135 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.3847, allocations: 0 / 1.135 GB, free: 9.141 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.0022/0.387, allocations: 1.518 MB / 1.136 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.387, allocations: 8.031 kB / 1.136 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002641/0.3873, allocations: 139.3 kB / 1.137 GB, free: 7.383 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.3889, allocations: 1.062 MB / 1.138 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.233e-05/0.3889, allocations: 49.31 kB / 1.138 GB, free: 6.227 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.389, allocations: 68 kB / 1.138 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.3905, allocations: 0.8136 MB / 1.139 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.3905, allocations: 0 / 1.139 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/0.3906, allocations: 28 kB / 1.139 GB, free: 5.297 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/0.3906, allocations: 16 kB / 1.139 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.3917, allocations: 0.618 MB / 1.139 GB, free: 4.66 MB / 0.8887 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.003908/0.3957, allocations: 3.22 MB / 1.142 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008179/0.3965, allocations: 466.8 kB / 1.143 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000508/0.397, allocations: 313.3 kB / 1.143 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007999/0.3978, allocations: 0.7831 MB / 1.144 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.3979, allocations: 42.48 kB / 1.144 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=38): time 2.164e-06/0.3979, allocations: 4 kB / 1.144 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=38): time 0.001664/0.3995, allocations: 1.01 MB / 1.145 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/0.3996, allocations: 144.5 kB / 1.145 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.4012, allocations: 1.067 MB / 1.146 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.4013, allocations: 33.7 kB / 1.146 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004701/0.4018, allocations: 476.5 kB / 1.147 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.4019, allocations: 126.1 kB / 1.147 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.756e-05/0.402, allocations: 53.69 kB / 1.147 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4022, allocations: 326 kB / 1.147 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006072/0.4028, allocations: 356.8 kB / 1.147 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006614/0.4034, allocations: 458.6 kB / 1.148 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.4048, allocations: 0.9871 MB / 1.149 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.4048, allocations: 0 / 1.149 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001649/0.4064, allocations: 1.115 MB / 1.15 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002391/0.4067, allocations: 319.4 kB / 1.15 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4067, allocations: 4 kB / 1.15 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.4067, allocations: 4 kB / 1.15 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.4071, allocations: 99.81 kB / 1.15 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.4071, allocations: 4 kB / 1.15 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007001/0.4078, allocations: 107.3 kB / 1.15 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.296e-05/0.4079, allocations: 27.94 kB / 1.15 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.4079, allocations: 7.938 kB / 1.15 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00168/0.4096, allocations: 1.113 MB / 1.151 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4096, allocations: 4 kB / 1.151 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.64e-06/0.4096, allocations: 4 kB / 1.151 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.41, allocations: 87.89 kB / 1.152 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.41, allocations: 11.92 kB / 1.152 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005747/0.4106, allocations: 95.55 kB / 1.152 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/0.4107, allocations: 23.98 kB / 1.152 GB, free: 7.141 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * 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.0005728/0.4112, allocations: 486 kB / 1.152 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.4114, allocations: 102.7 kB / 1.152 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.4129, allocations: 0.9272 MB / 1.153 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.413, allocations: 7.984 kB / 1.153 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.413, allocations: 0 / 1.153 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001188/0.4142, allocations: 0.9839 MB / 1.154 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.4172, allocations: 2.133 MB / 1.156 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4172, allocations: 4 kB / 1.156 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.4175, allocations: 71.89 kB / 1.156 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.4175, allocations: 4 kB / 1.156 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.4175, allocations: 12 kB / 1.156 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.353e-06/0.4175, allocations: 11.88 kB / 1.156 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4176, allocations: 0 / 1.156 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.4196, allocations: 1.421 MB / 1.158 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/0.42, allocations: 299.6 kB / 1.158 GB, free: 360 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.4202, allocations: 16.06 kB / 1.158 GB, free: 344 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/0.4208, allocations: 55.88 kB / 1.158 GB, free: 288 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.4209, allocations: 47.95 kB / 1.158 GB, free: 240 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.352e-05/0.421, allocations: 23.98 kB / 1.158 GB, free: 216 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001159/0.4222, allocations: 0.7727 MB / 1.159 GB, free: 15.43 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.6e-07/0.4222, allocations: 0 / 1.159 GB, free: 15.43 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001452/0.4236, allocations: 0.5187 MB / 1.159 GB, free: 14.91 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008901/0.4245, allocations: 390.4 kB / 1.16 GB, free: 14.53 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002438/0.427, allocations: 1.958 MB / 1.162 GB, free: 12.43 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.427, allocations: 0 / 1.162 GB, free: 12.43 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007346/0.4277, allocations: 0.5618 MB / 1.162 GB, free: 11.83 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/0.4305, allocations: 0.5176 MB / 1.163 GB, free: 11.32 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.4335, allocations: 2.275 MB / 1.165 GB, free: 8.98 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/0.4342, allocations: 1.068 MB / 1.166 GB, free: 7.883 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007926/0.435, allocations: 208.5 kB / 1.166 GB, free: 7.688 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.4352, allocations: 71.42 kB / 1.166 GB, free: 7.617 MB / 0.92 GB Notification: Performance of SimCode: time 9.62e-07/0.4353, allocations: 0 / 1.166 GB, free: 7.617 MB / 0.92 GB Notification: Performance of Templates: time 0.04058/0.4758, allocations: 23.61 MB / 1.189 GB, free: 324 kB / 0.9356 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)