Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.54/2.54, allocations: 287.5 MB / 303.2 MB, free: 8.207 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.001344/0.001344, allocations: 185.4 kB / 371.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0009345/0.0009342, allocations: 88.73 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.000479, allocations: 16.03 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2083, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.3/6.508, allocations: 2.082 GB / 3.061 GB, free: 248.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/6.508, allocations: 99.94 kB / 3.062 GB, free: 248.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.326/10.83, allocations: 0.9153 GB / 3.977 GB, free: 41.93 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.568e-06/10.83, allocations: 0 / 3.977 GB, free: 41.93 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002296/10.83, allocations: 47.28 kB / 3.977 GB, free: 41.89 MB / 0.948 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.008886/10.84, allocations: 1.73 MB / 3.979 GB, free: 40.12 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/10.84, allocations: 8.031 kB / 3.979 GB, free: 40.11 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006832/10.85, allocations: 422.9 kB / 3.979 GB, free: 39.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004161/10.85, allocations: 1.106 MB / 3.98 GB, free: 38.55 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.388e-05/10.85, allocations: 62 kB / 3.98 GB, free: 38.49 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/10.86, allocations: 91.84 kB / 3.98 GB, free: 38.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/10.86, allocations: 0.8468 MB / 3.981 GB, free: 37.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.139e-05/10.86, allocations: 4 kB / 3.981 GB, free: 37.54 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/10.86, allocations: 36 kB / 3.981 GB, free: 37.51 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.412e-05/10.86, allocations: 26 kB / 3.981 GB, free: 37.48 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/10.86, allocations: 0.7925 MB / 3.982 GB, free: 36.69 MB / 0.948 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.008165/10.87, allocations: 3.662 MB / 3.985 GB, free: 32.74 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/10.87, allocations: 1.109 MB / 3.987 GB, free: 31.52 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009949/10.87, allocations: 382.3 kB / 3.987 GB, free: 31.14 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008654/10.87, allocations: 400.9 kB / 3.987 GB, free: 30.68 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/10.87, allocations: 43.12 kB / 3.987 GB, free: 30.63 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.426e-06/10.87, allocations: 0 / 3.987 GB, free: 30.63 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.003628/10.88, allocations: 1.013 MB / 3.988 GB, free: 29.61 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/10.88, allocations: 55.97 kB / 3.988 GB, free: 29.54 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/10.88, allocations: 0.8316 MB / 3.989 GB, free: 28.68 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002095/10.88, allocations: 37.7 kB / 3.989 GB, free: 28.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000416/10.88, allocations: 480.2 kB / 3.99 GB, free: 28.16 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003068/10.88, allocations: 212.8 kB / 3.99 GB, free: 27.95 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/10.88, allocations: 12 kB / 3.99 GB, free: 27.94 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.726e-05/10.88, allocations: 330 kB / 3.99 GB, free: 27.61 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008165/10.88, allocations: 265 kB / 3.99 GB, free: 27.36 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009569/10.88, allocations: 414.2 kB / 3.991 GB, free: 26.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/10.88, allocations: 0.6278 MB / 3.991 GB, free: 26.26 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/10.88, allocations: 0 / 3.991 GB, free: 26.26 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002282/10.89, allocations: 0.7593 MB / 3.992 GB, free: 25.49 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/10.89, allocations: 126.8 kB / 3.992 GB, free: 25.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/10.89, allocations: 3.984 kB / 3.992 GB, free: 25.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/10.89, allocations: 4 kB / 3.992 GB, free: 25.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/10.89, allocations: 135.8 kB / 3.992 GB, free: 25.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/10.89, allocations: 4 kB / 3.992 GB, free: 25.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/10.89, allocations: 131.4 kB / 3.993 GB, free: 25.08 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/10.89, allocations: 20 kB / 3.993 GB, free: 25.06 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/10.89, allocations: 5.25 kB / 3.993 GB, free: 25.05 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001893/10.89, allocations: 0.6456 MB / 3.993 GB, free: 24.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/10.89, allocations: 4 kB / 3.993 GB, free: 24.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/10.89, allocations: 4 kB / 3.993 GB, free: 24.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/10.89, allocations: 127.9 kB / 3.993 GB, free: 24.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/10.89, allocations: 11.94 kB / 3.993 GB, free: 24.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/10.89, allocations: 127.3 kB / 3.994 GB, free: 24.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/10.89, allocations: 28 kB / 3.994 GB, free: 24.11 MB / 0.948 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.0008037/10.89, allocations: 384.9 kB / 3.994 GB, free: 23.73 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/10.89, allocations: 102.8 kB / 3.994 GB, free: 23.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/10.9, allocations: 0.7938 MB / 3.995 GB, free: 22.83 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/10.9, allocations: 7.938 kB / 3.995 GB, free: 22.82 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/10.9, allocations: 0 / 3.995 GB, free: 22.82 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001829/10.9, allocations: 0.9541 MB / 3.996 GB, free: 21.78 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006033/10.91, allocations: 2.261 MB / 3.998 GB, free: 19.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/10.91, allocations: 7.062 kB / 3.998 GB, free: 19.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/10.91, allocations: 156.2 kB / 3.998 GB, free: 19.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.384e-05/10.91, allocations: 7.938 kB / 3.998 GB, free: 19.22 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.365e-05/10.91, allocations: 19.98 kB / 3.998 GB, free: 19.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/10.91, allocations: 11.94 kB / 3.998 GB, free: 19.19 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/10.91, allocations: 4 kB / 3.998 GB, free: 19.18 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003076/10.91, allocations: 1.28 MB / 3.999 GB, free: 17.85 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008615/10.91, allocations: 263.6 kB / 4 GB, free: 17.57 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/10.91, allocations: 23.92 kB / 4 GB, free: 17.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/10.91, allocations: 127.8 kB / 4 GB, free: 17.42 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002126/10.91, allocations: 48.31 kB / 4 GB, free: 17.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.167e-05/10.91, allocations: 31.92 kB / 4 GB, free: 17.34 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001259/10.91, allocations: 0.5743 MB / 4 GB, free: 16.76 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.11e-07/10.91, allocations: 0 / 4 GB, free: 16.76 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003242/10.92, allocations: 0.7682 MB / 4.001 GB, free: 15.99 MB / 0.948 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 (63): * Single equations (assignments): 63 * 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.00421/10.92, allocations: 2.323 MB / 4.003 GB, free: 13.49 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002957/10.93, allocations: 0.9744 MB / 4.004 GB, free: 12.52 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/10.93, allocations: 0 / 4.004 GB, free: 12.52 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/10.93, allocations: 359 kB / 4.005 GB, free: 12.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006903/10.93, allocations: 0.67 MB / 4.005 GB, free: 11.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005308/10.94, allocations: 2.613 MB / 4.008 GB, free: 8.812 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000741/10.94, allocations: 1.128 MB / 4.009 GB, free: 7.656 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002059/10.94, allocations: 288.1 kB / 4.009 GB, free: 7.371 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004989/10.94, allocations: 87.42 kB / 4.009 GB, free: 7.285 MB / 0.948 GB Notification: Performance of SimCode: time 1.653e-06/10.94, allocations: 0 / 4.009 GB, free: 7.285 MB / 0.948 GB Notification: Performance of Templates: time 0.8363/11.78, allocations: 46.26 MB / 4.055 GB, free: 159.1 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)