Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001573/0.001574, 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.001917/0.001917, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.747/2.747, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 66.91 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2979, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.0388/0.3368, allocations: 41.75 MB / 1.108 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01216/0.349, allocations: 8.984 MB / 1.117 GB, free: 8.02 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.3503, allocations: 35.75 kB / 1.117 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.352, allocations: 0.4938 MB / 1.118 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003035/0.355, allocations: 1.162 MB / 1.119 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.3577, allocations: 1.049 MB / 1.12 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003487/0.3612, allocations: 3.355 MB / 1.123 GB, free: 1.918 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.3624, allocations: 0.7652 MB / 1.124 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.3641, allocations: 0.8633 MB / 1.125 GB, free: 268 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.3652, allocations: 0.7349 MB / 1.125 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001864/0.3654, allocations: 59.94 kB / 1.125 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.3675, allocations: 1.068 MB / 1.126 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003389/0.3678, allocations: 274.9 kB / 1.127 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007633/0.3686, allocations: 0.5635 MB / 1.127 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00287/0.3715, allocations: 2.279 MB / 1.129 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3715, allocations: 0 / 1.129 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3715, allocations: 4 kB / 1.129 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.67e-05/0.3716, allocations: 0 / 1.129 GB, free: 11.27 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.002924/0.3745, allocations: 1.738 MB / 1.131 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3745, allocations: 12.03 kB / 1.131 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003578/0.3749, allocations: 131.4 kB / 1.131 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.3766, allocations: 1.066 MB / 1.132 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.138e-05/0.3767, allocations: 49.31 kB / 1.132 GB, free: 8.141 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.3768, allocations: 64 kB / 1.132 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.3782, allocations: 0.8135 MB / 1.133 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.3782, allocations: 0 / 1.133 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.607e-05/0.3783, allocations: 32 kB / 1.133 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.3783, allocations: 16 kB / 1.133 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.3794, allocations: 0.6102 MB / 1.134 GB, free: 6.582 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.003955/0.3834, allocations: 3.208 MB / 1.137 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008109/0.3842, allocations: 457.7 kB / 1.137 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004782/0.3847, allocations: 324.5 kB / 1.138 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007976/0.3855, allocations: 0.7713 MB / 1.139 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.3856, allocations: 34.56 kB / 1.139 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=38): time 1.794e-06/0.3856, allocations: 0 / 1.139 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of matching and sorting (n=38): time 0.001757/0.3873, allocations: 0.9906 MB / 1.14 GB, free: 448 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.876e-05/0.3874, allocations: 148.5 kB / 1.14 GB, free: 268 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.389, allocations: 1.067 MB / 1.141 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.389, allocations: 37.7 kB / 1.141 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/0.3894, allocations: 468.5 kB / 1.141 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.3895, allocations: 134.1 kB / 1.141 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.3897, allocations: 114 kB / 1.141 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3898, allocations: 326 kB / 1.142 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/0.3904, allocations: 362.5 kB / 1.142 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006247/0.391, allocations: 446.8 kB / 1.143 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.3922, allocations: 0.9754 MB / 1.143 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3922, allocations: 0 / 1.143 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001552/0.3937, allocations: 1.1 MB / 1.145 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.3939, allocations: 186.2 kB / 1.145 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.3939, allocations: 0 / 1.145 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3939, allocations: 4 kB / 1.145 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.3943, allocations: 100 kB / 1.145 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.3943, allocations: 4 kB / 1.145 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006627/0.395, allocations: 103.3 kB / 1.145 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/0.395, allocations: 20 kB / 1.145 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008219/0.3959, allocations: 0.5907 MB / 1.146 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006039/0.3965, allocations: 454.8 kB / 1.146 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001156/0.3976, allocations: 0.9669 MB / 1.147 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-06/0.3977, allocations: 0 / 1.147 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001545/0.3992, allocations: 1.106 MB / 1.148 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.92e-05/0.3993, allocations: 186.4 kB / 1.148 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.3993, allocations: 4 kB / 1.148 GB, free: 7.129 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.731e-06/0.3993, allocations: 4 kB / 1.148 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.3997, allocations: 87.89 kB / 1.148 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.3997, allocations: 11.88 kB / 1.148 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00062/0.4003, allocations: 87.53 kB / 1.148 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.4004, allocations: 20 kB / 1.148 GB, free: 6.922 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.0002151/0.4006, allocations: 301.2 kB / 1.149 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.4008, allocations: 102.7 kB / 1.149 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.4023, allocations: 0.922 MB / 1.15 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.4023, allocations: 7.984 kB / 1.15 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.4023, allocations: 0 / 1.15 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001171/0.4035, allocations: 0.9838 MB / 1.151 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/0.4065, allocations: 2.109 MB / 1.153 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.4065, allocations: 4 kB / 1.153 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/0.4068, allocations: 67.89 kB / 1.153 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.4069, allocations: 7.938 kB / 1.153 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/0.4069, allocations: 12 kB / 1.153 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.4069, allocations: 8.219 kB / 1.153 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4069, allocations: 8 kB / 1.153 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.4088, allocations: 1.39 MB / 1.154 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000377/0.4092, allocations: 283.5 kB / 1.154 GB, free: 408 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.4093, allocations: 15.94 kB / 1.154 GB, free: 392 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/0.4099, allocations: 48.02 kB / 1.154 GB, free: 344 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.41, allocations: 47.94 kB / 1.155 GB, free: 296 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/0.4101, allocations: 20 kB / 1.155 GB, free: 276 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00106/0.4112, allocations: 0.7806 MB / 1.155 GB, free: 15.48 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4112, allocations: 0 / 1.155 GB, free: 15.48 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001306/0.4125, allocations: 0.5148 MB / 1.156 GB, free: 14.96 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.000851/0.4133, allocations: 395.2 kB / 1.156 GB, free: 14.58 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002283/0.4156, allocations: 1.949 MB / 1.158 GB, free: 12.48 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4157, allocations: 0.875 kB / 1.158 GB, free: 12.48 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006884/0.4164, allocations: 0.5494 MB / 1.159 GB, free: 11.9 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.4187, allocations: 0.4961 MB / 1.159 GB, free: 11.4 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.4216, allocations: 2.22 MB / 1.161 GB, free: 9.121 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006465/0.4223, allocations: 1.072 MB / 1.162 GB, free: 8.02 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007432/0.4231, allocations: 210.6 kB / 1.163 GB, free: 7.824 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.4232, allocations: 75.42 kB / 1.163 GB, free: 7.75 MB / 0.92 GB Notification: Performance of SimCode: time 4.11e-07/0.4232, allocations: 0 / 1.163 GB, free: 7.75 MB / 0.92 GB Notification: Performance of Templates: time 0.03609/0.4593, allocations: 23.2 MB / 1.185 GB, free: 0.8633 MB / 0.9356 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)