Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.742/1.742, allocations: 297.8 MB / 313.7 MB, free: 116 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009903/0.0009904, allocations: 184.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.2 MB / 0.6626 GB, free: 4.254 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008787/0.0008787, allocations: 95.25 kB / 0.7808 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004921, allocations: 16 kB / 0.9088 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.762/0.7626, allocations: 120.3 MB / 1.026 GB, free: 55.77 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.194/4.956, allocations: 1.92 GB / 2.946 GB, free: 281.4 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/4.957, allocations: 96.69 kB / 2.946 GB, free: 281.4 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.778/7.735, allocations: 0.9269 GB / 3.873 GB, free: 108.3 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.124e-06/7.735, allocations: 0 / 3.873 GB, free: 108.3 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001717/7.735, allocations: 39.27 kB / 3.873 GB, free: 108.3 MB / 0.9792 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.004741/7.74, allocations: 1.741 MB / 3.875 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/7.74, allocations: 8.031 kB / 3.875 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002815/7.743, allocations: 418.9 kB / 3.875 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002547/7.745, allocations: 1.098 MB / 3.876 GB, free: 105 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.916e-05/7.745, allocations: 62 kB / 3.876 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002514/7.746, allocations: 103.8 kB / 3.876 GB, free: 104.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/7.747, allocations: 0.8468 MB / 3.877 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/7.747, allocations: 0 / 3.877 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.613e-05/7.747, allocations: 36 kB / 3.877 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/7.747, allocations: 26 kB / 3.877 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/7.749, allocations: 0.7925 MB / 3.878 GB, free: 103.1 MB / 0.9792 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.004651/7.754, allocations: 3.665 MB / 3.881 GB, free: 99.14 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/7.755, allocations: 1.1 MB / 3.883 GB, free: 97.93 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004878/7.755, allocations: 386.9 kB / 3.883 GB, free: 97.55 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005442/7.756, allocations: 400.9 kB / 3.883 GB, free: 97.08 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/7.756, allocations: 39.12 kB / 3.883 GB, free: 97.04 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=60): time 2.905e-06/7.756, allocations: 0 / 3.883 GB, free: 97.04 MB / 0.9792 GB Notification: Performance of matching and sorting (n=60): time 0.001814/7.758, allocations: 1.021 MB / 3.884 GB, free: 96.01 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/7.758, allocations: 63.97 kB / 3.884 GB, free: 95.93 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008557/7.759, allocations: 0.82 MB / 3.885 GB, free: 95.09 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/7.759, allocations: 40.66 kB / 3.885 GB, free: 95.05 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/7.759, allocations: 472.2 kB / 3.886 GB, free: 94.58 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/7.759, allocations: 220.9 kB / 3.886 GB, free: 94.36 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/7.759, allocations: 8 kB / 3.886 GB, free: 94.35 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 6.319e-05/7.759, allocations: 334 kB / 3.886 GB, free: 94.02 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/7.759, allocations: 257 kB / 3.886 GB, free: 93.77 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004876/7.76, allocations: 424.4 kB / 3.887 GB, free: 93.3 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008419/7.761, allocations: 0.6164 MB / 3.887 GB, free: 92.67 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/7.761, allocations: 4 kB / 3.887 GB, free: 92.66 MB / 0.9792 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001069/7.762, allocations: 0.7595 MB / 3.888 GB, free: 91.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/7.762, allocations: 122.6 kB / 3.888 GB, free: 91.76 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/7.762, allocations: 4 kB / 3.888 GB, free: 91.75 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/7.762, allocations: 8.094 kB / 3.888 GB, free: 91.75 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005377/7.763, allocations: 135.9 kB / 3.888 GB, free: 91.61 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/7.763, allocations: 7.938 kB / 3.888 GB, free: 91.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009064/7.763, allocations: 131.3 kB / 3.889 GB, free: 91.48 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/7.764, allocations: 23.98 kB / 3.889 GB, free: 91.45 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/7.764, allocations: 4 kB / 3.889 GB, free: 91.45 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009377/7.765, allocations: 0.6378 MB / 3.889 GB, free: 90.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/7.765, allocations: 3.938 kB / 3.889 GB, free: 90.81 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/7.765, allocations: 8.125 kB / 3.889 GB, free: 90.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/7.765, allocations: 131.4 kB / 3.889 GB, free: 90.68 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/7.765, allocations: 11.92 kB / 3.889 GB, free: 90.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007621/7.766, allocations: 131.3 kB / 3.89 GB, free: 90.54 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/7.766, allocations: 23.94 kB / 3.89 GB, free: 90.51 MB / 0.9792 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.0004916/7.766, allocations: 381.7 kB / 3.89 GB, free: 90.13 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/7.766, allocations: 102.8 kB / 3.89 GB, free: 90.03 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/7.768, allocations: 0.7977 MB / 3.891 GB, free: 89.22 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/7.768, allocations: 7.938 kB / 3.891 GB, free: 89.21 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/7.768, allocations: 0 / 3.891 GB, free: 89.21 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009268/7.769, allocations: 0.9502 MB / 3.892 GB, free: 88.18 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002932/7.772, allocations: 2.263 MB / 3.894 GB, free: 85.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/7.772, allocations: 4 kB / 3.894 GB, free: 85.77 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006558/7.772, allocations: 159.8 kB / 3.894 GB, free: 85.61 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/7.772, allocations: 7.938 kB / 3.894 GB, free: 85.61 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/7.772, allocations: 16 kB / 3.894 GB, free: 85.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/7.772, allocations: 8.188 kB / 3.894 GB, free: 85.58 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/7.772, allocations: 4 kB / 3.894 GB, free: 85.58 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/7.774, allocations: 1.284 MB / 3.895 GB, free: 84.24 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004304/7.774, allocations: 259.7 kB / 3.896 GB, free: 83.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/7.775, allocations: 23.94 kB / 3.896 GB, free: 83.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008242/7.775, allocations: 127.7 kB / 3.896 GB, free: 83.82 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/7.776, allocations: 52.36 kB / 3.896 GB, free: 83.77 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.485e-05/7.776, allocations: 27.94 kB / 3.896 GB, free: 83.74 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0006737/7.776, allocations: 0.5704 MB / 3.896 GB, free: 83.16 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.4e-07/7.776, allocations: 0 / 3.896 GB, free: 83.16 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002088/7.778, allocations: 0.776 MB / 3.897 GB, free: 82.38 MB / 0.9792 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.002978/7.781, allocations: 2.346 MB / 3.899 GB, free: 79.88 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001632/7.783, allocations: 0.9822 MB / 3.9 GB, free: 78.9 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/7.783, allocations: 0 / 3.9 GB, free: 78.9 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004738/7.784, allocations: 355 kB / 3.901 GB, free: 78.55 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003447/7.787, allocations: 0.6715 MB / 3.901 GB, free: 77.89 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/7.79, allocations: 2.614 MB / 3.904 GB, free: 75.21 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/7.79, allocations: 1.128 MB / 3.905 GB, free: 74.05 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0012/7.792, allocations: 292.1 kB / 3.905 GB, free: 73.76 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/7.792, allocations: 83.42 kB / 3.905 GB, free: 73.68 MB / 0.9792 GB Notification: Performance of SimCode: time 7.42e-07/7.792, allocations: 0 / 3.905 GB, free: 73.68 MB / 0.9792 GB Notification: Performance of Templates: time 0.05682/7.849, allocations: 46.82 MB / 3.951 GB, free: 27.15 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)