Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.787/0.787, allocations: 143.4 MB / 158.3 MB, free: 5.777 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 184.7 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 223.2 MB / 447.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 84.31 kB / 0.5188 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001889/0.001889, allocations: 256.8 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004508, allocations: 15.84 kB / 0.6929 GB, free: 59.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2095, allocations: 82.8 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.668/4.877, allocations: 1.888 GB / 2.662 GB, free: 139.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/4.878, allocations: 98 kB / 2.662 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.961/7.838, allocations: 0.9295 GB / 3.591 GB, free: 40.99 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.203e-06/7.838, allocations: 4 kB / 3.591 GB, free: 40.99 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001852/7.839, allocations: 35.98 kB / 3.591 GB, free: 40.95 MB / 0.7136 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.005261/7.844, allocations: 1.745 MB / 3.593 GB, free: 39.17 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/7.844, allocations: 8.031 kB / 3.593 GB, free: 39.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00306/7.847, allocations: 421.9 kB / 3.594 GB, free: 38.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/7.85, allocations: 1.071 MB / 3.595 GB, free: 37.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/7.85, allocations: 69.95 kB / 3.595 GB, free: 37.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/7.85, allocations: 86.95 kB / 3.595 GB, free: 37.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/7.852, allocations: 0.8389 MB / 3.596 GB, free: 36.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/7.852, allocations: 0 / 3.596 GB, free: 36.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.249e-05/7.852, allocations: 40 kB / 3.596 GB, free: 36.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.8e-05/7.852, allocations: 26 kB / 3.596 GB, free: 36.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/7.854, allocations: 0.7925 MB / 3.596 GB, free: 35.78 MB / 0.7136 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.005184/7.859, allocations: 3.655 MB / 3.6 GB, free: 31.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/7.86, allocations: 1.101 MB / 3.601 GB, free: 30.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005676/7.861, allocations: 400.9 kB / 3.601 GB, free: 30.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/7.861, allocations: 43.12 kB / 3.601 GB, free: 30.11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 2.886e-06/7.861, allocations: 7.438 kB / 3.601 GB, free: 30.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.002055/7.863, allocations: 1.009 MB / 3.602 GB, free: 29.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/7.863, allocations: 59.97 kB / 3.603 GB, free: 29.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009827/7.864, allocations: 0.7176 MB / 3.603 GB, free: 28.28 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-05/7.864, allocations: 37.7 kB / 3.603 GB, free: 28.24 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/7.864, allocations: 480.2 kB / 3.604 GB, free: 27.76 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/7.864, allocations: 212.8 kB / 3.604 GB, free: 27.55 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/7.864, allocations: 16 kB / 3.604 GB, free: 27.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.069e-05/7.865, allocations: 333.9 kB / 3.604 GB, free: 27.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004339/7.865, allocations: 261 kB / 3.604 GB, free: 26.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005155/7.865, allocations: 412.6 kB / 3.605 GB, free: 26.49 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005006/7.866, allocations: 318 kB / 3.605 GB, free: 26.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/7.866, allocations: 0 / 3.605 GB, free: 26.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00125/7.867, allocations: 0.7632 MB / 3.606 GB, free: 25.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00014/7.867, allocations: 451.3 kB / 3.606 GB, free: 24.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/7.867, allocations: 0 / 3.606 GB, free: 24.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/7.867, allocations: 4 kB / 3.606 GB, free: 24.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006024/7.868, allocations: 139.8 kB / 3.607 GB, free: 24.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/7.868, allocations: 4 kB / 3.607 GB, free: 24.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/7.869, allocations: 126 kB / 3.607 GB, free: 24.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/7.869, allocations: 27.98 kB / 3.607 GB, free: 24.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/7.869, allocations: 4 kB / 3.607 GB, free: 24.64 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001006/7.87, allocations: 0.6456 MB / 3.607 GB, free: 24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/7.87, allocations: 7.984 kB / 3.607 GB, free: 23.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.713e-06/7.87, allocations: 3.953 kB / 3.607 GB, free: 23.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/7.871, allocations: 139.9 kB / 3.607 GB, free: 23.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/7.871, allocations: 4 kB / 3.607 GB, free: 23.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/7.872, allocations: 127.3 kB / 3.608 GB, free: 23.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.349e-05/7.872, allocations: 27.98 kB / 3.608 GB, free: 23.69 MB / 0.7136 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.0006759/7.873, allocations: 384.9 kB / 3.608 GB, free: 23.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/7.873, allocations: 102.8 kB / 3.608 GB, free: 23.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/7.874, allocations: 0.7975 MB / 3.609 GB, free: 22.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/7.875, allocations: 8 kB / 3.609 GB, free: 22.39 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/7.875, allocations: 0 / 3.609 GB, free: 22.39 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001012/7.876, allocations: 0.9622 MB / 3.61 GB, free: 21.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003925/7.879, allocations: 2.242 MB / 3.612 GB, free: 18.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/7.88, allocations: 8.062 kB / 3.612 GB, free: 18.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007129/7.88, allocations: 162.5 kB / 3.612 GB, free: 18.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/7.88, allocations: 4 kB / 3.612 GB, free: 18.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/7.88, allocations: 16 kB / 3.612 GB, free: 18.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/7.88, allocations: 19.88 kB / 3.612 GB, free: 18.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/7.88, allocations: 4 kB / 3.612 GB, free: 18.75 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/7.882, allocations: 1.437 MB / 3.614 GB, free: 17.19 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000626/7.883, allocations: 263.7 kB / 3.614 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/7.883, allocations: 16 kB / 3.614 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/7.884, allocations: 127.7 kB / 3.614 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/7.884, allocations: 48.33 kB / 3.614 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-05/7.884, allocations: 27.98 kB / 3.614 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008094/7.885, allocations: 0.5742 MB / 3.615 GB, free: 16.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/7.885, allocations: 0 / 3.615 GB, free: 16.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002614/7.888, allocations: 0.7682 MB / 3.615 GB, free: 15.34 MB / 0.7136 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.003576/7.891, allocations: 2.325 MB / 3.618 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001787/7.893, allocations: 0.982 MB / 3.619 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/7.893, allocations: 0 / 3.619 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005311/7.894, allocations: 359.1 kB / 3.619 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003183/7.897, allocations: 0.6651 MB / 3.62 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004576/7.902, allocations: 2.613 MB / 3.622 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008444/7.902, allocations: 1.151 MB / 3.623 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001419/7.904, allocations: 300 kB / 3.624 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/7.904, allocations: 79.44 kB / 3.624 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of SimCode: time 1.553e-06/7.904, allocations: 0 / 3.624 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of Templates: time 0.5417/8.446, allocations: 46.23 MB / 3.669 GB, free: 104.3 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)