Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.896/1.896, allocations: 287.5 MB / 302.6 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001043, allocations: 185.1 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.4 MB / 0.6298 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007569/0.0007566, allocations: 88.86 kB / 0.7432 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 25.11 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2099, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.6484/0.8584, allocations: 226.8 MB / 1.2 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01701/0.8755, allocations: 11.14 MB / 1.211 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002641/0.8781, allocations: 60.88 kB / 1.211 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00245/0.8806, allocations: 0.701 MB / 1.212 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.007397/0.888, allocations: 2.4 MB / 1.214 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003665/0.8917, allocations: 1.166 MB / 1.215 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007039/0.8988, allocations: 5.411 MB / 1.221 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.9011, allocations: 1.214 MB / 1.222 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00488/0.906, allocations: 1.671 MB / 1.223 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003018/0.9091, allocations: 1.232 MB / 1.225 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.000332/0.9094, allocations: 60 kB / 1.225 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004452/0.9139, allocations: 1.306 MB / 1.226 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0006432/0.9145, allocations: 438.3 kB / 1.226 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0008215/0.9154, allocations: 392.8 kB / 1.227 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003525/0.9189, allocations: 2.307 MB / 1.229 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.9189, allocations: 0 / 1.229 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9189, allocations: 0 / 1.229 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.408e-05/0.919, allocations: 0 / 1.229 GB, free: 11.48 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003851/0.9229, allocations: 1.902 MB / 1.231 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.9229, allocations: 16.03 kB / 1.231 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/0.9245, allocations: 349.5 kB / 1.231 GB, free: 9.16 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/0.9269, allocations: 1.351 MB / 1.232 GB, free: 7.754 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.615e-05/0.927, allocations: 86.16 kB / 1.233 GB, free: 7.668 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.9271, allocations: 120 kB / 1.233 GB, free: 7.551 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.9292, allocations: 1.217 MB / 1.234 GB, free: 6.285 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/0.9293, allocations: 4 kB / 1.234 GB, free: 6.281 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.24e-05/0.9294, allocations: 44 kB / 1.234 GB, free: 6.238 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.808e-05/0.9294, allocations: 50.06 kB / 1.234 GB, free: 6.188 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.9312, allocations: 0.9609 MB / 1.235 GB, free: 5.219 MB / 0.7605 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.006997/0.9382, allocations: 5.543 MB / 1.24 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.9396, allocations: 0.8681 MB / 1.241 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000668/0.9403, allocations: 417 kB / 1.242 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000622/0.9409, allocations: 0.6058 MB / 1.242 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.941, allocations: 39.12 kB / 1.242 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 3.677e-06/0.941, allocations: 0 / 1.242 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.003582/0.9446, allocations: 1.461 MB / 1.244 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.9446, allocations: 59.97 kB / 1.244 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.9461, allocations: 1.184 MB / 1.245 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.644e-05/0.9462, allocations: 45.7 kB / 1.245 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/0.9468, allocations: 0.6848 MB / 1.246 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.947, allocations: 244.4 kB / 1.246 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.947, allocations: 16 kB / 1.246 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.9472, allocations: 341.9 kB / 1.246 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005724/0.9478, allocations: 301.8 kB / 1.246 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007511/0.9485, allocations: 0.5309 MB / 1.247 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.9498, allocations: 0.738 MB / 1.248 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.9498, allocations: 0 / 1.248 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00235/0.9521, allocations: 1.079 MB / 1.249 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.9523, allocations: 167.4 kB / 1.249 GB, free: 6.043 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.9523, allocations: 7.938 kB / 1.249 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008072/0.9531, allocations: 153.5 kB / 1.249 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007885/0.9539, allocations: 175.8 kB / 1.249 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.9551, allocations: 1.765 MB / 1.251 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.9565, allocations: 163.3 kB / 1.251 GB, free: 3.707 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.341e-05/0.9566, allocations: 35.98 kB / 1.251 GB, free: 3.672 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.9566, allocations: 4 kB / 1.251 GB, free: 3.668 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001655/0.9582, allocations: 0.8604 MB / 1.252 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.9583, allocations: 4 kB / 1.252 GB, free: 2.797 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002817/0.9585, allocations: 97.8 kB / 1.252 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/0.9592, allocations: 163.8 kB / 1.252 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002772/0.962, allocations: 3.145 MB / 1.255 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.9633, allocations: 167.9 kB / 1.255 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.098e-05/0.9634, allocations: 31.98 kB / 1.255 GB, free: 14.91 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007167/0.9641, allocations: 436.9 kB / 1.256 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/0.9644, allocations: 146.2 kB / 1.256 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/0.9663, allocations: 0.9586 MB / 1.257 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.9663, allocations: 8 kB / 1.257 GB, free: 13.35 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.9663, allocations: 0 / 1.257 GB, free: 13.35 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0015/0.9678, allocations: 1.079 MB / 1.258 GB, free: 12.18 MB / 0.7917 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.003997/0.9718, allocations: 2.47 MB / 1.26 GB, free: 9.602 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.9719, allocations: 4 kB / 1.26 GB, free: 9.598 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007147/0.9726, allocations: 164 kB / 1.261 GB, free: 9.438 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002687/0.9729, allocations: 93.77 kB / 1.261 GB, free: 9.34 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.302e-05/0.9729, allocations: 24.06 kB / 1.261 GB, free: 9.316 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.974, allocations: 1.737 MB / 1.262 GB, free: 7.504 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.974, allocations: 7.922 kB / 1.262 GB, free: 7.496 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002421/0.9764, allocations: 1.462 MB / 1.264 GB, free: 5.98 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000708/0.9772, allocations: 327.1 kB / 1.264 GB, free: 5.641 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.9773, allocations: 23.98 kB / 1.264 GB, free: 5.617 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009505/0.9783, allocations: 115.7 kB / 1.264 GB, free: 5.504 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.9784, allocations: 44.44 kB / 1.264 GB, free: 5.461 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.33e-05/0.9785, allocations: 31.98 kB / 1.264 GB, free: 5.43 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001272/0.9798, allocations: 0.8044 MB / 1.265 GB, free: 4.625 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.974e-06/0.9798, allocations: 0 / 1.265 GB, free: 4.625 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002431/0.9822, allocations: 0.8105 MB / 1.266 GB, free: 3.812 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007997/0.983, allocations: 384.5 kB / 1.266 GB, free: 3.438 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002977/0.986, allocations: 1.464 MB / 1.268 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.986, allocations: 0 / 1.268 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0008109/0.9869, allocations: 411.2 kB / 1.268 GB, free: 1.547 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004152/0.991, allocations: 0.7869 MB / 1.269 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004593/0.9956, allocations: 3.248 MB / 1.272 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008922/0.9966, allocations: 1.281 MB / 1.273 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001597/0.9982, allocations: 340.5 kB / 1.274 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.9984, allocations: 115.3 kB / 1.274 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of SimCode: time 7.81e-07/0.9984, allocations: 0 / 1.274 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of Templates: time 0.04722/1.046, allocations: 27.42 MB / 1.301 GB, free: 0.5625 MB / 0.823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)