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 2.51/2.51, allocations: 287.9 MB / 302.9 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 178.1 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001043, allocations: 92.48 kB / 0.7434 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004632/0.0004636, allocations: 12.38 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1568, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.8415/0.9984, allocations: 196.6 MB / 1.171 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01919/1.018, allocations: 7.169 MB / 1.178 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/1.019, allocations: 40.38 kB / 1.178 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002492/1.022, allocations: 0.6766 MB / 1.178 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.008682/1.031, allocations: 1.906 MB / 1.18 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.008751/1.039, allocations: 1.6 MB / 1.182 GB, free: 68 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004195/1.044, allocations: 1.876 MB / 1.184 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/1.045, allocations: 0.8158 MB / 1.184 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003901/1.049, allocations: 1.424 MB / 1.186 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/1.05, allocations: 0.5996 MB / 1.186 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001617/1.05, allocations: 55.59 kB / 1.187 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003213/1.054, allocations: 1.068 MB / 1.188 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004991/1.054, allocations: 349.4 kB / 1.188 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004571/1.055, allocations: 288.4 kB / 1.188 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002556/1.057, allocations: 1.602 MB / 1.19 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.124e-06/1.057, allocations: 0 / 1.19 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.323e-06/1.057, allocations: 0 / 1.19 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.703e-05/1.057, allocations: 0 / 1.19 GB, free: 11.18 MB / 0.7292 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.002897/1.06, allocations: 1.439 MB / 1.191 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/1.06, allocations: 8.531 kB / 1.191 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003443/1.064, allocations: 440 kB / 1.192 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/1.066, allocations: 0.9121 MB / 1.192 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.49e-05/1.066, allocations: 63.92 kB / 1.193 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/1.066, allocations: 82.84 kB / 1.193 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/1.068, allocations: 0.8605 MB / 1.193 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/1.068, allocations: 0 / 1.193 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/1.068, allocations: 39.38 kB / 1.193 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.2e-05/1.068, allocations: 32.27 kB / 1.193 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/1.071, allocations: 0.8183 MB / 1.194 GB, free: 8.188 MB / 0.7292 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.006429/1.077, allocations: 3.633 MB / 1.198 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/1.079, allocations: 1.116 MB / 1.199 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004631/1.079, allocations: 153.3 kB / 1.199 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/1.079, allocations: 40.44 kB / 1.199 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=60): time 4.048e-06/1.08, allocations: 0 / 1.199 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=60): time 0.002794/1.082, allocations: 0.984 MB / 1.2 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/1.082, allocations: 59.62 kB / 1.2 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/1.084, allocations: 0.8264 MB / 1.201 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.254e-05/1.084, allocations: 36.7 kB / 1.201 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004862/1.084, allocations: 478.3 kB / 1.201 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/1.085, allocations: 214.3 kB / 1.202 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/1.085, allocations: 14.88 kB / 1.202 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001792/1.085, allocations: 331.6 kB / 1.202 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00067/1.086, allocations: 247.7 kB / 1.202 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008117/1.086, allocations: 372.9 kB / 1.203 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007595/1.087, allocations: 301.2 kB / 1.203 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.492e-06/1.087, allocations: 7.156 kB / 1.203 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001834/1.089, allocations: 0.7333 MB / 1.204 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002677/1.089, allocations: 460.5 kB / 1.204 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.004e-06/1.089, allocations: 2.375 kB / 1.204 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/1.089, allocations: 5.375 kB / 1.204 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/1.09, allocations: 135.2 kB / 1.204 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/1.09, allocations: 10.88 kB / 1.204 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/1.091, allocations: 121.2 kB / 1.204 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.512e-05/1.091, allocations: 24.08 kB / 1.204 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.755e-06/1.091, allocations: 4.406 kB / 1.204 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001568/1.093, allocations: 0.6265 MB / 1.205 GB, free: 268 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.328e-06/1.093, allocations: 0 / 1.205 GB, free: 268 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.093, allocations: 4.312 kB / 1.205 GB, free: 268 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006925/1.094, allocations: 129.8 kB / 1.205 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.58e-06/1.094, allocations: 4.562 kB / 1.205 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/1.095, allocations: 121.7 kB / 1.205 GB, free: 172 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-05/1.095, allocations: 19.94 kB / 1.205 GB, free: 168 kB / 0.7292 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.0007263/1.096, allocations: 392.8 kB / 1.206 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/1.096, allocations: 104.3 kB / 1.206 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/1.098, allocations: 0.7646 MB / 1.206 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/1.098, allocations: 8.531 kB / 1.206 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.461e-06/1.098, allocations: 4 kB / 1.206 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001717/1.1, allocations: 0.9151 MB / 1.207 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005058/1.105, allocations: 2.255 MB / 1.21 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/1.105, allocations: 7.953 kB / 1.21 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008895/1.106, allocations: 143.8 kB / 1.21 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/1.106, allocations: 4 kB / 1.21 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.88e-05/1.106, allocations: 19.98 kB / 1.21 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.672e-05/1.106, allocations: 11.94 kB / 1.21 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.193e-06/1.106, allocations: 4 kB / 1.21 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/1.109, allocations: 1.436 MB / 1.211 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006818/1.11, allocations: 259.7 kB / 1.211 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/1.11, allocations: 19.98 kB / 1.211 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/1.111, allocations: 103.8 kB / 1.211 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/1.111, allocations: 52.2 kB / 1.212 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-05/1.111, allocations: 20 kB / 1.212 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001158/1.112, allocations: 0.5782 MB / 1.212 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.05e-07/1.112, allocations: 0 / 1.212 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003114/1.115, allocations: 0.5338 MB / 1.213 GB, free: 8.609 MB / 0.7448 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.001016/1.117, allocations: 248 kB / 1.213 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004165/1.121, allocations: 0.9547 MB / 1.214 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/1.121, allocations: 4 kB / 1.214 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/1.122, allocations: 350.7 kB / 1.214 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006255/1.129, allocations: 0.6098 MB / 1.215 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008469/1.137, allocations: 2.602 MB / 1.217 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/1.139, allocations: 1.143 MB / 1.218 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003045/1.142, allocations: 296.1 kB / 1.219 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00057/1.143, allocations: 87.36 kB / 1.219 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of SimCode: time 2.116e-06/1.143, allocations: 0 / 1.219 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of Templates: time 0.09444/1.237, allocations: 19.08 MB / 1.237 GB, free: 15.41 MB / 0.7761 GB