Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 101.7 kB / 16.27 MB, free: 6.418 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.001851/0.001851, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.814/1.814, allocations: 292.3 MB / 0.5495 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 67.89 kB / 0.6721 GB, free: 6.602 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2613, allocations: 114.6 MB / 0.784 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.6695/0.9308, allocations: 239.9 MB / 1.018 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01193/0.9428, allocations: 7.146 MB / 1.025 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.9448, allocations: 51.69 kB / 1.025 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002146/0.947, allocations: 0.691 MB / 1.026 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005627/0.9527, allocations: 2.061 MB / 1.028 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00525/0.958, allocations: 2.01 MB / 1.03 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005132/0.9631, allocations: 3.244 MB / 1.033 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/0.9652, allocations: 1.137 MB / 1.034 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004174/0.9694, allocations: 1.783 MB / 1.036 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.9714, allocations: 0.9687 MB / 1.037 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002063/0.9716, allocations: 120 kB / 1.037 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004976/0.9766, allocations: 2.49 MB / 1.039 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006479/0.9773, allocations: 462.7 kB / 1.04 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.9785, allocations: 0.7116 MB / 1.041 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005593/0.9841, allocations: 2.669 MB / 1.043 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.9841, allocations: 0 / 1.043 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9841, allocations: 0 / 1.043 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.156e-05/0.9842, allocations: 0 / 1.043 GB, free: 0.9453 MB / 0.8262 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.00297/0.9872, allocations: 1.704 MB / 1.045 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.9872, allocations: 8.031 kB / 1.045 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002662/0.9899, allocations: 422 kB / 1.045 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.9916, allocations: 0.9599 MB / 1.046 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.309e-05/0.9916, allocations: 62 kB / 1.046 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.9918, allocations: 80 kB / 1.046 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.9934, allocations: 0.8624 MB / 1.047 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.9934, allocations: 4 kB / 1.047 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-05/0.9935, allocations: 32 kB / 1.047 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/0.9936, allocations: 26 kB / 1.047 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.995, allocations: 0.812 MB / 1.048 GB, free: 11.88 MB / 0.8419 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.005117/1, allocations: 3.66 MB / 1.052 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/1.002, allocations: 1.096 MB / 1.053 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005848/1.002, allocations: 377.3 kB / 1.053 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007377/1.003, allocations: 408.9 kB / 1.053 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/1.003, allocations: 39.12 kB / 1.053 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 2.986e-06/1.003, allocations: 0 / 1.053 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.002211/1.005, allocations: 0.9546 MB / 1.054 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/1.005, allocations: 59.91 kB / 1.054 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/1.007, allocations: 0.8317 MB / 1.055 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.155e-05/1.007, allocations: 41.7 kB / 1.055 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/1.007, allocations: 476.1 kB / 1.056 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/1.007, allocations: 220.8 kB / 1.056 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/1.007, allocations: 106.2 kB / 1.056 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.008, allocations: 330 kB / 1.056 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004909/1.008, allocations: 255 kB / 1.057 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005822/1.009, allocations: 369 kB / 1.057 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/1.01, allocations: 0.5968 MB / 1.058 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.01, allocations: 0 / 1.058 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001405/1.011, allocations: 0.7359 MB / 1.058 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/1.011, allocations: 4 kB / 1.058 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.011, allocations: 3.938 kB / 1.058 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/1.011, allocations: 4 kB / 1.058 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/1.012, allocations: 127.8 kB / 1.058 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/1.012, allocations: 2.125 kB / 1.058 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008093/1.013, allocations: 76.52 kB / 1.059 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.565e-05/1.013, allocations: 27.98 kB / 1.059 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008568/1.014, allocations: 493 kB / 1.059 GB, free: 40 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000575/1.014, allocations: 378.9 kB / 1.059 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009616/1.015, allocations: 0.5813 MB / 1.06 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.454e-06/1.015, allocations: 0 / 1.06 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001331/1.017, allocations: 0.7165 MB / 1.061 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.017, allocations: 5.25 kB / 1.061 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/1.017, allocations: 4 kB / 1.061 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.204e-06/1.017, allocations: 4 kB / 1.061 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/1.017, allocations: 127.8 kB / 1.061 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/1.017, allocations: 4 kB / 1.061 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/1.018, allocations: 75.62 kB / 1.061 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/1.018, allocations: 20 kB / 1.061 GB, free: 14.09 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002149/1.018, allocations: 208.1 kB / 1.061 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/1.018, allocations: 102.7 kB / 1.061 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/1.02, allocations: 0.7427 MB / 1.062 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/1.02, allocations: 8 kB / 1.062 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.02, allocations: 4 kB / 1.062 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/1.021, allocations: 0.8956 MB / 1.063 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/1.024, allocations: 2.243 MB / 1.065 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.024, allocations: 0 / 1.065 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006413/1.025, allocations: 140.2 kB / 1.065 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/1.025, allocations: 8 kB / 1.065 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.645e-05/1.025, allocations: 19.98 kB / 1.065 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/1.025, allocations: 11.94 kB / 1.065 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.025, allocations: 4 kB / 1.065 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/1.027, allocations: 1.253 MB / 1.066 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004317/1.027, allocations: 259.7 kB / 1.067 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/1.028, allocations: 16 kB / 1.067 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000658/1.028, allocations: 47.95 kB / 1.067 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/1.028, allocations: 48.25 kB / 1.067 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/1.028, allocations: 22.25 kB / 1.067 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007738/1.029, allocations: 0.5821 MB / 1.067 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/1.029, allocations: 3.938 kB / 1.067 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001274/1.03, allocations: 0.5377 MB / 1.068 GB, free: 6.625 MB / 0.8575 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 (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.0005602/1.031, allocations: 238.8 kB / 1.068 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001981/1.033, allocations: 1.009 MB / 1.069 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.033, allocations: 4 kB / 1.069 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006046/1.034, allocations: 343.5 kB / 1.069 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/1.036, allocations: 0.5944 MB / 1.07 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/1.04, allocations: 2.197 MB / 1.072 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/1.04, allocations: 1.124 MB / 1.073 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/1.041, allocations: 79.44 kB / 1.073 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of SimCode: time 1.423e-06/1.041, allocations: 3.938 kB / 1.073 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of Templates: time 0.02505/1.066, allocations: 17.03 MB / 1.09 GB, free: 228 kB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)