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.001517/0.001517, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001868/0.001868, allocations: 198.9 kB / 16.26 MB, free: 6.621 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.364/1.364, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.722/2.722, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 61.44 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3603, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.04355/0.4039, allocations: 41.65 MB / 1.108 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.417, allocations: 8.812 MB / 1.117 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.4185, allocations: 39.75 kB / 1.117 GB, free: 8.113 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.4203, allocations: 0.5016 MB / 1.118 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003526/0.4239, allocations: 1.167 MB / 1.119 GB, free: 6.438 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003064/0.427, allocations: 1.093 MB / 1.12 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003546/0.4305, allocations: 2.7 MB / 1.122 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.4319, allocations: 0.9226 MB / 1.123 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002324/0.4343, allocations: 1.045 MB / 1.124 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.4353, allocations: 0.7701 MB / 1.125 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.4355, allocations: 120 kB / 1.125 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.4377, allocations: 1.193 MB / 1.126 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003247/0.438, allocations: 334.9 kB / 1.127 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000666/0.4387, allocations: 0.6455 MB / 1.127 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002892/0.4416, allocations: 2.318 MB / 1.13 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4416, allocations: 3.984 kB / 1.13 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4416, allocations: 0 / 1.13 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.158e-05/0.4416, allocations: 4 kB / 1.13 GB, free: 11.26 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.002685/0.4443, allocations: 1.736 MB / 1.131 GB, free: 9.426 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.4444, allocations: 12.03 kB / 1.131 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/0.4447, allocations: 127.4 kB / 1.131 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.4463, allocations: 1.058 MB / 1.132 GB, free: 8.184 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/0.4464, allocations: 49.31 kB / 1.132 GB, free: 8.137 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.4465, allocations: 68 kB / 1.133 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.4479, allocations: 0.8136 MB / 1.133 GB, free: 7.234 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.4479, allocations: 0 / 1.133 GB, free: 7.234 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-05/0.448, allocations: 28 kB / 1.133 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.4481, allocations: 19.98 kB / 1.133 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.4492, allocations: 0.6141 MB / 1.134 GB, free: 6.57 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.004053/0.4532, allocations: 3.208 MB / 1.137 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008029/0.454, allocations: 454.9 kB / 1.138 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004668/0.4545, allocations: 316.1 kB / 1.138 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008217/0.4553, allocations: 0.7674 MB / 1.139 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.4554, allocations: 46.44 kB / 1.139 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=38): time 2.054e-06/0.4554, allocations: 0 / 1.139 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of matching and sorting (n=38): time 0.001709/0.4571, allocations: 0.9984 MB / 1.14 GB, free: 428 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.4572, allocations: 136.5 kB / 1.14 GB, free: 260 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.4586, allocations: 1.079 MB / 1.141 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/0.4586, allocations: 37.7 kB / 1.141 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/0.459, allocations: 468.5 kB / 1.141 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.4592, allocations: 126.2 kB / 1.141 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.4594, allocations: 114 kB / 1.141 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.4595, allocations: 329.9 kB / 1.142 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005381/0.46, allocations: 350.6 kB / 1.142 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006115/0.4607, allocations: 450.8 kB / 1.143 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.4618, allocations: 0.9793 MB / 1.144 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4618, allocations: 0 / 1.144 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001582/0.4634, allocations: 1.1 MB / 1.145 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.4636, allocations: 187.8 kB / 1.145 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4636, allocations: 0 / 1.145 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.4636, allocations: 4.062 kB / 1.145 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.464, allocations: 95.83 kB / 1.145 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.464, allocations: 4 kB / 1.145 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/0.4647, allocations: 107.5 kB / 1.145 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.687e-05/0.4647, allocations: 23.98 kB / 1.145 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008527/0.4656, allocations: 0.5986 MB / 1.146 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000605/0.4662, allocations: 442.8 kB / 1.146 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001124/0.4673, allocations: 0.963 MB / 1.147 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.617e-06/0.4674, allocations: 7.984 kB / 1.147 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001523/0.4689, allocations: 1.102 MB / 1.148 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.469, allocations: 182.2 kB / 1.148 GB, free: 7.129 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.469, allocations: 3.938 kB / 1.148 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/0.469, allocations: 4 kB / 1.148 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.4694, allocations: 96.09 kB / 1.148 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.4694, allocations: 7.938 kB / 1.148 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/0.47, allocations: 87.53 kB / 1.148 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.762e-05/0.4701, allocations: 20 kB / 1.148 GB, free: 6.914 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.0002426/0.4703, allocations: 305.8 kB / 1.149 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.4705, allocations: 98.78 kB / 1.149 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.472, allocations: 0.9135 MB / 1.15 GB, free: 5.555 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.472, allocations: 4 kB / 1.15 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.472, allocations: 0 / 1.15 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001177/0.4732, allocations: 0.9875 MB / 1.151 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.4764, allocations: 2.114 MB / 1.153 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.4764, allocations: 4 kB / 1.153 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.4767, allocations: 63.91 kB / 1.153 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.4767, allocations: 11.92 kB / 1.153 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.4768, allocations: 12 kB / 1.153 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.4768, allocations: 7.938 kB / 1.153 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.4768, allocations: 4 kB / 1.153 GB, free: 2.141 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.4787, allocations: 1.394 MB / 1.154 GB, free: 0.6875 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.4791, allocations: 283.5 kB / 1.154 GB, free: 400 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.4792, allocations: 24 kB / 1.154 GB, free: 376 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005412/0.4798, allocations: 44.02 kB / 1.155 GB, free: 332 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.4799, allocations: 47.95 kB / 1.155 GB, free: 284 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.48, allocations: 23.98 kB / 1.155 GB, free: 260 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001038/0.481, allocations: 0.7727 MB / 1.155 GB, free: 15.47 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.481, allocations: 0 / 1.155 GB, free: 15.47 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001345/0.4824, allocations: 0.5226 MB / 1.156 GB, free: 14.95 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.0008257/0.4832, allocations: 382.6 kB / 1.156 GB, free: 14.58 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002392/0.4856, allocations: 1.977 MB / 1.158 GB, free: 12.45 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4856, allocations: 0 / 1.158 GB, free: 12.45 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006813/0.4863, allocations: 0.5386 MB / 1.159 GB, free: 11.88 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.4885, allocations: 0.5504 MB / 1.159 GB, free: 11.34 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.4914, allocations: 2.226 MB / 1.161 GB, free: 9.055 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006493/0.4921, allocations: 1.064 MB / 1.162 GB, free: 7.961 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006927/0.4928, allocations: 209.3 kB / 1.163 GB, free: 7.766 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.493, allocations: 83.41 kB / 1.163 GB, free: 7.684 MB / 0.92 GB Notification: Performance of SimCode: time 5.21e-07/0.493, allocations: 0 / 1.163 GB, free: 7.684 MB / 0.92 GB Notification: Performance of Templates: time 0.03836/0.5314, allocations: 23.98 MB / 1.186 GB, free: 36 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)