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.933/1.933, allocations: 288.4 MB / 303.4 MB, free: 8.184 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.001395/0.001395, allocations: 172.5 kB / 372 MB, free: 10.26 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.713/1.713, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.0008478/0.0008475, allocations: 86.36 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004427, allocations: 15.83 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.263, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.8769/1.14, allocations: 218.8 MB / 1.193 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01429/1.154, allocations: 6.744 MB / 1.2 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003277/1.158, allocations: 41.72 kB / 1.2 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002643/1.16, allocations: 473.9 kB / 1.2 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.006704/1.167, allocations: 1.521 MB / 1.202 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00602/1.173, allocations: 1.448 MB / 1.203 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006339/1.18, allocations: 3.749 MB / 1.207 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/1.181, allocations: 0.8112 MB / 1.208 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004476/1.186, allocations: 1.429 MB / 1.209 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002703/1.188, allocations: 0.9062 MB / 1.21 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002774/1.189, allocations: 52.66 kB / 1.21 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004797/1.194, allocations: 1.393 MB / 1.211 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0006401/1.194, allocations: 387.6 kB / 1.212 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0007098/1.195, allocations: 286.6 kB / 1.212 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00339/1.198, allocations: 1.784 MB / 1.214 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/1.198, allocations: 0 / 1.214 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.825e-06/1.198, allocations: 4 kB / 1.214 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.424e-05/1.198, allocations: 2.906 kB / 1.214 GB, free: 9.512 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.003197/1.202, allocations: 1.476 MB / 1.215 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.202, allocations: 9.156 kB / 1.215 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002807/1.205, allocations: 431.6 kB / 1.216 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/1.207, allocations: 0.9106 MB / 1.217 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.161e-05/1.207, allocations: 61.88 kB / 1.217 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/1.207, allocations: 81.91 kB / 1.217 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/1.209, allocations: 0.8737 MB / 1.218 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/1.209, allocations: 3.938 kB / 1.218 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.888e-05/1.209, allocations: 35.81 kB / 1.218 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.142e-05/1.209, allocations: 26.75 kB / 1.218 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/1.211, allocations: 0.8248 MB / 1.218 GB, free: 6.195 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.005519/1.216, allocations: 3.643 MB / 1.222 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/1.218, allocations: 1.089 MB / 1.223 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/1.218, allocations: 384.1 kB / 1.223 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000783/1.219, allocations: 424.9 kB / 1.224 GB, free: 200 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/1.219, allocations: 43.06 kB / 1.224 GB, free: 148 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=60): time 3.286e-06/1.219, allocations: 4 kB / 1.224 GB, free: 144 kB / 0.7448 GB Notification: Performance of matching and sorting (n=60): time 0.002281/1.221, allocations: 0.9819 MB / 1.225 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/1.222, allocations: 55.97 kB / 1.225 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/1.223, allocations: 0.8239 MB / 1.226 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.944e-05/1.223, allocations: 41.7 kB / 1.226 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/1.223, allocations: 476.2 kB / 1.226 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/1.224, allocations: 212.8 kB / 1.226 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/1.224, allocations: 8 kB / 1.226 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002068/1.224, allocations: 330 kB / 1.227 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005186/1.224, allocations: 253 kB / 1.227 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006177/1.225, allocations: 384.2 kB / 1.227 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005636/1.226, allocations: 302.1 kB / 1.228 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.226, allocations: 0 / 1.228 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001377/1.227, allocations: 0.7476 MB / 1.228 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.02e-05/1.227, allocations: 122.8 kB / 1.228 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/1.227, allocations: 0 / 1.228 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/1.227, allocations: 4 kB / 1.228 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/1.228, allocations: 135.8 kB / 1.229 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/1.228, allocations: 4 kB / 1.229 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/1.229, allocations: 126 kB / 1.229 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/1.229, allocations: 20 kB / 1.229 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/1.229, allocations: 8 kB / 1.229 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001127/1.23, allocations: 0.6183 MB / 1.229 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.23, allocations: 4 kB / 1.229 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/1.23, allocations: 4 kB / 1.229 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005341/1.231, allocations: 135.8 kB / 1.229 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/1.231, allocations: 4 kB / 1.229 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008986/1.231, allocations: 125.1 kB / 1.23 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/1.232, allocations: 23.98 kB / 1.23 GB, free: 10.13 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.0006357/1.232, allocations: 380.9 kB / 1.23 GB, free: 9.746 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/1.232, allocations: 98.78 kB / 1.23 GB, free: 9.648 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/1.234, allocations: 0.7702 MB / 1.231 GB, free: 8.867 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.234, allocations: 7.953 kB / 1.231 GB, free: 8.859 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.234, allocations: 3.938 kB / 1.231 GB, free: 8.855 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001212/1.235, allocations: 0.919 MB / 1.232 GB, free: 7.848 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004149/1.239, allocations: 2.259 MB / 1.234 GB, free: 5.449 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.239, allocations: 0 / 1.234 GB, free: 5.449 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000875/1.24, allocations: 143.8 kB / 1.234 GB, free: 5.309 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.626e-05/1.24, allocations: 11.94 kB / 1.234 GB, free: 5.297 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.915e-05/1.24, allocations: 20 kB / 1.234 GB, free: 5.277 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/1.24, allocations: 4.281 kB / 1.234 GB, free: 5.273 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/1.24, allocations: 15.88 kB / 1.234 GB, free: 5.258 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/1.242, allocations: 1.288 MB / 1.235 GB, free: 3.914 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005574/1.243, allocations: 255.8 kB / 1.236 GB, free: 3.645 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/1.243, allocations: 20 kB / 1.236 GB, free: 3.625 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008394/1.244, allocations: 103.8 kB / 1.236 GB, free: 3.523 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/1.244, allocations: 48.27 kB / 1.236 GB, free: 3.477 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/1.244, allocations: 20 kB / 1.236 GB, free: 3.457 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0008546/1.245, allocations: 0.5743 MB / 1.236 GB, free: 2.871 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/1.245, allocations: 4 kB / 1.236 GB, free: 2.867 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001432/1.246, allocations: 0.5338 MB / 1.237 GB, free: 2.332 MB / 0.7605 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.0005766/1.247, allocations: 232.6 kB / 1.237 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001914/1.249, allocations: 0.9624 MB / 1.238 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.249, allocations: 0 / 1.238 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006111/1.25, allocations: 355.2 kB / 1.238 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/1.253, allocations: 0.6257 MB / 1.239 GB, free: 188 kB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004408/1.257, allocations: 2.614 MB / 1.242 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007767/1.258, allocations: 1.124 MB / 1.243 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001303/1.259, allocations: 292.1 kB / 1.243 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/1.26, allocations: 79.38 kB / 1.243 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of SimCode: time 1.793e-06/1.26, allocations: 4 kB / 1.243 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of Templates: time 0.03664/1.296, allocations: 19.1 MB / 1.262 GB, free: 9.109 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)