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.001449/0.001449, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00179/0.00179, allocations: 195.8 kB / 16.14 MB, free: 6.688 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.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.732/2.732, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.38 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3042, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.04048/0.3447, allocations: 41.76 MB / 1.108 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.357, allocations: 8.985 MB / 1.117 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.3585, allocations: 35.81 kB / 1.117 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.36, allocations: 0.4898 MB / 1.118 GB, free: 7.434 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003312/0.3633, allocations: 1.162 MB / 1.119 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.3661, allocations: 1.06 MB / 1.12 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003751/0.3699, allocations: 3.347 MB / 1.123 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.371, allocations: 0.7807 MB / 1.124 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.3727, allocations: 0.8711 MB / 1.125 GB, free: 188 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009404/0.3737, allocations: 0.7195 MB / 1.125 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.3738, allocations: 52 kB / 1.125 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002159/0.376, allocations: 1.072 MB / 1.126 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002714/0.3763, allocations: 271 kB / 1.127 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006004/0.3769, allocations: 0.5712 MB / 1.127 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.3794, allocations: 2.283 MB / 1.129 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3795, allocations: 4 kB / 1.129 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of FrontEnd: time 7.21e-07/0.3795, allocations: 0 / 1.129 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.3795, allocations: 0 / 1.129 GB, free: 11.2 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.002528/0.382, allocations: 1.732 MB / 1.131 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3821, allocations: 12.03 kB / 1.131 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/0.3824, allocations: 127.4 kB / 1.131 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.384, allocations: 1.066 MB / 1.132 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.384, allocations: 49.31 kB / 1.132 GB, free: 8.082 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.3841, allocations: 67.98 kB / 1.132 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.3854, allocations: 0.8097 MB / 1.133 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.3855, allocations: 0 / 1.133 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.508e-05/0.3855, allocations: 27.98 kB / 1.133 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.3856, allocations: 16 kB / 1.133 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.3867, allocations: 0.6102 MB / 1.134 GB, free: 6.527 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.003779/0.3904, allocations: 3.212 MB / 1.137 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008002/0.3913, allocations: 458.9 kB / 1.137 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004653/0.3917, allocations: 310.6 kB / 1.138 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007905/0.3925, allocations: 0.7674 MB / 1.139 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.3926, allocations: 38.56 kB / 1.139 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=38): time 2.324e-06/0.3926, allocations: 3.938 kB / 1.139 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of matching and sorting (n=38): time 0.001634/0.3942, allocations: 0.9983 MB / 1.14 GB, free: 384 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.3943, allocations: 140.5 kB / 1.14 GB, free: 212 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.3956, allocations: 1.075 MB / 1.141 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.3957, allocations: 37.7 kB / 1.141 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.3961, allocations: 464.5 kB / 1.141 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.3962, allocations: 134.1 kB / 1.141 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.3964, allocations: 118 kB / 1.141 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3965, allocations: 326 kB / 1.142 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005291/0.397, allocations: 354.6 kB / 1.142 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005934/0.3976, allocations: 450.8 kB / 1.143 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.3988, allocations: 0.9754 MB / 1.143 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3988, allocations: 0 / 1.143 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001495/0.4003, allocations: 1.108 MB / 1.145 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.4004, allocations: 186.2 kB / 1.145 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.4004, allocations: 0 / 1.145 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.4004, allocations: 4 kB / 1.145 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.4008, allocations: 87.89 kB / 1.145 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.4008, allocations: 4 kB / 1.145 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000645/0.4015, allocations: 103.4 kB / 1.145 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.4015, allocations: 23.98 kB / 1.145 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008248/0.4024, allocations: 0.5947 MB / 1.146 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005998/0.403, allocations: 454.8 kB / 1.146 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001099/0.4041, allocations: 0.9669 MB / 1.147 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.4041, allocations: 0 / 1.147 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001535/0.4057, allocations: 1.102 MB / 1.148 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.4058, allocations: 183.6 kB / 1.148 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4058, allocations: 0 / 1.148 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.541e-06/0.4058, allocations: 7.938 kB / 1.148 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.4061, allocations: 95.81 kB / 1.148 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.4062, allocations: 4.219 kB / 1.148 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006489/0.4068, allocations: 83.53 kB / 1.148 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/0.4069, allocations: 20 kB / 1.148 GB, free: 6.871 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.0002485/0.4071, allocations: 313.8 kB / 1.149 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.4073, allocations: 98.78 kB / 1.149 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.4087, allocations: 0.9162 MB / 1.15 GB, free: 5.504 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.4087, allocations: 4 kB / 1.15 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.4088, allocations: 3.938 kB / 1.15 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/0.4099, allocations: 0.9837 MB / 1.151 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/0.4128, allocations: 2.105 MB / 1.153 GB, free: 2.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.4128, allocations: 8.031 kB / 1.153 GB, free: 2.191 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.4131, allocations: 72.02 kB / 1.153 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.4131, allocations: 11.88 kB / 1.153 GB, free: 2.109 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.4131, allocations: 12 kB / 1.153 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.4132, allocations: 4 kB / 1.153 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4132, allocations: 4 kB / 1.153 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.415, allocations: 1.39 MB / 1.154 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003785/0.4154, allocations: 287.5 kB / 1.154 GB, free: 348 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.4155, allocations: 15.94 kB / 1.154 GB, free: 332 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/0.4161, allocations: 44.02 kB / 1.154 GB, free: 288 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.4162, allocations: 51.89 kB / 1.154 GB, free: 236 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/0.4163, allocations: 23.98 kB / 1.155 GB, free: 212 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001028/0.4173, allocations: 0.7689 MB / 1.155 GB, free: 15.43 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4173, allocations: 0 / 1.155 GB, free: 15.43 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001337/0.4187, allocations: 0.5187 MB / 1.156 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.0008025/0.4195, allocations: 389.8 kB / 1.156 GB, free: 14.53 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002257/0.4218, allocations: 1.95 MB / 1.158 GB, free: 12.43 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4218, allocations: 0 / 1.158 GB, free: 12.43 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006763/0.4225, allocations: 0.5453 MB / 1.159 GB, free: 11.85 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/0.4248, allocations: 0.5038 MB / 1.159 GB, free: 11.36 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.4276, allocations: 2.228 MB / 1.161 GB, free: 9.066 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006088/0.4282, allocations: 1.072 MB / 1.162 GB, free: 7.965 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007146/0.429, allocations: 205.9 kB / 1.162 GB, free: 7.77 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.4291, allocations: 83.41 kB / 1.163 GB, free: 7.688 MB / 0.92 GB Notification: Performance of SimCode: time 6.91e-07/0.4291, allocations: 0 / 1.163 GB, free: 7.688 MB / 0.92 GB Notification: Performance of Templates: time 0.03723/0.4664, allocations: 23.21 MB / 1.185 GB, free: 0.7969 MB / 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)