Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 288.4 MB / 303.7 MB, free: 8.008 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.0009998/0.001, allocations: 177 kB / 372.3 MB, free: 10.12 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.738/1.738, allocations: 205.4 MB / 0.631 GB, free: 9.902 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.0007546/0.0007544, allocations: 102.8 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004065, allocations: 12.47 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2366, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.888/1.125, allocations: 218.8 MB / 1.194 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01366/1.138, allocations: 6.744 MB / 1.2 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002618/1.141, allocations: 42.56 kB / 1.2 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002346/1.143, allocations: 0.5062 MB / 1.201 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00689/1.15, allocations: 1.778 MB / 1.203 GB, free: 384 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.006165/1.157, allocations: 1.645 MB / 1.204 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00616/1.163, allocations: 3.77 MB / 1.208 GB, free: 13 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00234/1.165, allocations: 0.9184 MB / 1.209 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004914/1.17, allocations: 1.52 MB / 1.21 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002684/1.173, allocations: 0.9131 MB / 1.211 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0005181/1.173, allocations: 49.25 kB / 1.211 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006756/1.18, allocations: 2.776 MB / 1.214 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.00107/1.181, allocations: 379 kB / 1.214 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002069/1.183, allocations: 0.6267 MB / 1.215 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004078/1.187, allocations: 1.941 MB / 1.217 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/1.187, allocations: 0 / 1.217 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.803e-06/1.187, allocations: 0 / 1.217 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.538e-05/1.187, allocations: 0 / 1.217 GB, free: 7.668 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.003095/1.191, allocations: 1.471 MB / 1.218 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.191, allocations: 8.031 kB / 1.218 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002544/1.193, allocations: 430.1 kB / 1.219 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/1.195, allocations: 0.9521 MB / 1.22 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/1.195, allocations: 62 kB / 1.22 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/1.195, allocations: 84 kB / 1.22 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/1.197, allocations: 0.8701 MB / 1.221 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/1.197, allocations: 4.734 kB / 1.221 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.383e-05/1.197, allocations: 35.98 kB / 1.221 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-05/1.197, allocations: 30 kB / 1.221 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/1.199, allocations: 0.8159 MB / 1.222 GB, free: 3.277 MB / 0.7448 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.005258/1.204, allocations: 3.643 MB / 1.225 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/1.205, allocations: 1.105 MB / 1.226 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000639/1.206, allocations: 376.1 kB / 1.227 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007123/1.207, allocations: 420.9 kB / 1.227 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/1.207, allocations: 43.12 kB / 1.227 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=60): time 4.729e-06/1.207, allocations: 0 / 1.227 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of matching and sorting (n=60): time 0.002224/1.209, allocations: 0.9818 MB / 1.228 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/1.209, allocations: 63.97 kB / 1.228 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/1.21, allocations: 0.8238 MB / 1.229 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.604e-05/1.21, allocations: 37.7 kB / 1.229 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/1.211, allocations: 480.2 kB / 1.229 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/1.211, allocations: 208.9 kB / 1.229 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/1.211, allocations: 12 kB / 1.229 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.211, allocations: 329.9 kB / 1.23 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/1.212, allocations: 261 kB / 1.23 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005907/1.212, allocations: 376.2 kB / 1.23 GB, free: 9.582 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/1.213, allocations: 0.6008 MB / 1.231 GB, free: 8.965 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.213, allocations: 0 / 1.231 GB, free: 8.965 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00147/1.215, allocations: 0.7515 MB / 1.232 GB, free: 8.207 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.626e-05/1.215, allocations: 122.8 kB / 1.232 GB, free: 8.066 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/1.215, allocations: 3.984 kB / 1.232 GB, free: 8.062 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/1.215, allocations: 4 kB / 1.232 GB, free: 8.059 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/1.216, allocations: 131.8 kB / 1.232 GB, free: 7.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/1.216, allocations: 3.984 kB / 1.232 GB, free: 7.926 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/1.217, allocations: 127.4 kB / 1.232 GB, free: 7.801 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/1.217, allocations: 20 kB / 1.232 GB, free: 7.781 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.136e-06/1.217, allocations: 4 kB / 1.232 GB, free: 7.777 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001139/1.218, allocations: 0.6183 MB / 1.233 GB, free: 7.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.218, allocations: 11.97 kB / 1.233 GB, free: 7.148 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.6e-06/1.218, allocations: 4 kB / 1.233 GB, free: 7.145 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/1.218, allocations: 123.9 kB / 1.233 GB, free: 7.023 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.218, allocations: 11.92 kB / 1.233 GB, free: 7.012 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009722/1.219, allocations: 129.8 kB / 1.233 GB, free: 6.887 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/1.22, allocations: 20 kB / 1.233 GB, free: 6.867 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005951/1.22, allocations: 380.9 kB / 1.233 GB, free: 6.484 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/1.22, allocations: 102.7 kB / 1.233 GB, free: 6.383 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/1.222, allocations: 0.7587 MB / 1.234 GB, free: 5.609 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.222, allocations: 4 kB / 1.234 GB, free: 5.605 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.222, allocations: 0 / 1.234 GB, free: 5.605 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001185/1.223, allocations: 0.9229 MB / 1.235 GB, free: 4.598 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003674/1.227, allocations: 2.263 MB / 1.237 GB, free: 2.195 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.227, allocations: 416 / 1.237 GB, free: 2.195 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006541/1.227, allocations: 143.9 kB / 1.237 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/1.227, allocations: 7.938 kB / 1.237 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.663e-05/1.227, allocations: 16 kB / 1.237 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.035e-05/1.227, allocations: 11.94 kB / 1.237 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/1.227, allocations: 7.984 kB / 1.238 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/1.229, allocations: 1.276 MB / 1.239 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005555/1.23, allocations: 271.6 kB / 1.239 GB, free: 404 kB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/1.23, allocations: 20 kB / 1.239 GB, free: 384 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007789/1.231, allocations: 99.81 kB / 1.239 GB, free: 284 kB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/1.231, allocations: 56.19 kB / 1.239 GB, free: 228 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/1.231, allocations: 23.98 kB / 1.239 GB, free: 204 kB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0008415/1.232, allocations: 0.5704 MB / 1.24 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.4e-07/1.232, allocations: 0 / 1.24 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001345/1.233, allocations: 0.5338 MB / 1.24 GB, free: 15.08 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.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 (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006312/1.234, allocations: 240.9 kB / 1.241 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001871/1.236, allocations: 0.9549 MB / 1.241 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.236, allocations: 4 kB / 1.241 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005922/1.236, allocations: 355 kB / 1.242 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003404/1.24, allocations: 0.6081 MB / 1.242 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004624/1.245, allocations: 2.61 MB / 1.245 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009146/1.245, allocations: 1.124 MB / 1.246 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001563/1.247, allocations: 300.1 kB / 1.246 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/1.247, allocations: 79.38 kB / 1.246 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of SimCode: time 1.613e-06/1.247, allocations: 0 / 1.246 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of Templates: time 0.03351/1.281, allocations: 19.45 MB / 1.265 GB, free: 5.504 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)