Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/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_master_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.649/4.649, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002421/0.00242, allocations: 358.2 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.877/3.877, allocations: 410.7 MB / 1.112 GB, free: 5.98 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001796/0.001795, allocations: 187.5 kB / 1.225 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004742, allocations: 15.98 kB / 1.348 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5705/0.571, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2033/0.7743, allocations: 214.1 MB / 1.67 GB, free: 70.15 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.7857, allocations: 7.519 MB / 1.677 GB, free: 62.63 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.7872, allocations: 43.69 kB / 1.677 GB, free: 62.59 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.7888, allocations: 0.5862 MB / 1.678 GB, free: 62 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005659/0.7945, allocations: 2.079 MB / 1.68 GB, free: 59.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.004973/0.7995, allocations: 1.58 MB / 1.681 GB, free: 58.36 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.004024/0.8036, allocations: 3.765 MB / 1.685 GB, free: 54.58 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.8047, allocations: 0.7943 MB / 1.686 GB, free: 53.79 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002978/0.8077, allocations: 1.458 MB / 1.687 GB, free: 52.32 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.8089, allocations: 0.9026 MB / 1.688 GB, free: 51.41 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.8091, allocations: 52 kB / 1.688 GB, free: 51.36 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002519/0.8116, allocations: 0.9506 MB / 1.689 GB, free: 50.41 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003987/0.812, allocations: 382.7 kB / 1.689 GB, free: 50.04 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003773/0.8124, allocations: 285.1 kB / 1.69 GB, free: 49.75 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.8142, allocations: 1.629 MB / 1.691 GB, free: 48.12 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.8143, allocations: 0 / 1.691 GB, free: 48.12 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.249e-06/0.8143, allocations: 0 / 1.691 GB, free: 48.12 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.8143, allocations: 0 / 1.691 GB, free: 48.12 MB / 0.8542 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.002313/0.8166, allocations: 1.437 MB / 1.693 GB, free: 46.63 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.8167, allocations: 11.62 kB / 1.693 GB, free: 46.62 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003102/0.8198, allocations: 437.9 kB / 1.693 GB, free: 46.19 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.8215, allocations: 0.9141 MB / 1.694 GB, free: 45.23 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.278e-05/0.8216, allocations: 62 kB / 1.694 GB, free: 45.17 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.8217, allocations: 84 kB / 1.694 GB, free: 45.09 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.8235, allocations: 0.8662 MB / 1.695 GB, free: 44.22 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.8235, allocations: 4 kB / 1.695 GB, free: 44.21 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.617e-05/0.8236, allocations: 36 kB / 1.695 GB, free: 44.18 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.8237, allocations: 33.95 kB / 1.695 GB, free: 44.15 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.8254, allocations: 0.8159 MB / 1.696 GB, free: 43.33 MB / 0.8542 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.004752/0.8302, allocations: 3.639 MB / 1.699 GB, free: 39.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.8318, allocations: 1.093 MB / 1.7 GB, free: 38.19 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007187/0.8325, allocations: 390.1 kB / 1.701 GB, free: 37.81 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006713/0.8332, allocations: 420.9 kB / 1.701 GB, free: 37.32 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.8332, allocations: 39.12 kB / 1.701 GB, free: 37.28 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=60): time 3.749e-06/0.8332, allocations: 0 / 1.701 GB, free: 37.28 MB / 0.8542 GB Notification: Performance of matching and sorting (n=60): time 0.002425/0.8357, allocations: 0.9897 MB / 1.702 GB, free: 36.29 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.8357, allocations: 55.97 kB / 1.702 GB, free: 36.22 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.8369, allocations: 0.8239 MB / 1.703 GB, free: 35.37 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.306e-05/0.8369, allocations: 41.7 kB / 1.703 GB, free: 35.32 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.8373, allocations: 476.1 kB / 1.704 GB, free: 34.85 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.8375, allocations: 224.9 kB / 1.704 GB, free: 34.63 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.8375, allocations: 8 kB / 1.704 GB, free: 34.62 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.349e-05/0.8376, allocations: 326 kB / 1.704 GB, free: 34.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005732/0.8382, allocations: 249 kB / 1.704 GB, free: 34.05 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006782/0.8389, allocations: 384.2 kB / 1.705 GB, free: 33.64 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006494/0.8395, allocations: 298.1 kB / 1.705 GB, free: 33.36 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.599e-06/0.8396, allocations: 0 / 1.705 GB, free: 33.36 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001553/0.8411, allocations: 0.7476 MB / 1.706 GB, free: 32.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/0.8412, allocations: 122.8 kB / 1.706 GB, free: 32.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.376e-06/0.8412, allocations: 0 / 1.706 GB, free: 32.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.8412, allocations: 7.938 kB / 1.706 GB, free: 32.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/0.8419, allocations: 135.8 kB / 1.706 GB, free: 32.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.842, allocations: 0 / 1.706 GB, free: 32.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.843, allocations: 135.4 kB / 1.706 GB, free: 32.19 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/0.8431, allocations: 23.98 kB / 1.706 GB, free: 32.17 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.662e-06/0.8431, allocations: 4 kB / 1.706 GB, free: 32.16 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001365/0.8445, allocations: 0.6183 MB / 1.707 GB, free: 31.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.828e-06/0.8445, allocations: 4.125 kB / 1.707 GB, free: 31.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.8446, allocations: 11.95 kB / 1.707 GB, free: 31.53 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006696/0.8452, allocations: 131.8 kB / 1.707 GB, free: 31.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.896e-06/0.8453, allocations: 4 kB / 1.707 GB, free: 31.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009504/0.8462, allocations: 127.1 kB / 1.707 GB, free: 31.28 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/0.8463, allocations: 23.98 kB / 1.707 GB, free: 31.25 MB / 0.8542 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.0005302/0.8468, allocations: 380.9 kB / 1.707 GB, free: 30.87 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.847, allocations: 98.78 kB / 1.708 GB, free: 30.77 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.8487, allocations: 0.7624 MB / 1.708 GB, free: 30 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.972e-06/0.8487, allocations: 8 kB / 1.708 GB, free: 30 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.348e-06/0.8487, allocations: 0 / 1.708 GB, free: 30 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001296/0.85, allocations: 0.9267 MB / 1.709 GB, free: 28.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003935/0.854, allocations: 2.247 MB / 1.711 GB, free: 26.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.701e-06/0.854, allocations: 0 / 1.711 GB, free: 26.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009202/0.8549, allocations: 152.2 kB / 1.712 GB, free: 26.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.8549, allocations: 4 kB / 1.712 GB, free: 26.45 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.976e-05/0.855, allocations: 24 kB / 1.712 GB, free: 26.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.635e-06/0.855, allocations: 4 kB / 1.712 GB, free: 26.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.636e-06/0.855, allocations: 11.89 kB / 1.712 GB, free: 26.41 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.8575, allocations: 1.28 MB / 1.713 GB, free: 25.07 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004819/0.858, allocations: 259.7 kB / 1.713 GB, free: 24.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.8581, allocations: 20 kB / 1.713 GB, free: 24.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.8593, allocations: 103.8 kB / 1.713 GB, free: 24.68 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.8595, allocations: 48.33 kB / 1.713 GB, free: 24.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.173e-05/0.8595, allocations: 20 kB / 1.713 GB, free: 24.61 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009008/0.8604, allocations: 0.5781 MB / 1.714 GB, free: 24.02 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.89e-07/0.8605, allocations: 0 / 1.714 GB, free: 24.02 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001464/0.8619, allocations: 0.5299 MB / 1.714 GB, free: 23.49 MB / 0.8542 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.0005206/0.8625, allocations: 249.2 kB / 1.715 GB, free: 23.25 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0021/0.8646, allocations: 0.9588 MB / 1.716 GB, free: 22.29 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.255e-06/0.8646, allocations: 4 kB / 1.716 GB, free: 22.29 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007215/0.8653, allocations: 351 kB / 1.716 GB, free: 21.95 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003378/0.8687, allocations: 0.6195 MB / 1.716 GB, free: 21.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/0.8724, allocations: 2.602 MB / 1.719 GB, free: 18.66 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006482/0.873, allocations: 1.143 MB / 1.72 GB, free: 17.48 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001462/0.8745, allocations: 300.1 kB / 1.72 GB, free: 17.19 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/0.8748, allocations: 79.42 kB / 1.72 GB, free: 17.11 MB / 0.8542 GB Notification: Performance of SimCode: time 1.669e-06/0.8748, allocations: 0 / 1.72 GB, free: 17.11 MB / 0.8542 GB Notification: Performance of Templates: time 0.5899/1.465, allocations: 19.09 MB / 1.739 GB, free: 273.8 MB / 0.8542 GB