Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.367/2.367, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001618/0.001618, allocations: 173.9 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.617/2.617, allocations: 205.4 MB / 0.5766 GB, free: 20.83 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001491/0.001491, allocations: 102.4 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004554, allocations: 12.84 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2563, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.9988/1.255, allocations: 196.9 MB / 1.091 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01561/1.271, allocations: 7.285 MB / 1.098 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002027/1.273, allocations: 42.19 kB / 1.098 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003232/1.276, allocations: 0.6702 MB / 1.099 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00851/1.285, allocations: 1.933 MB / 1.101 GB, free: 3.414 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009037/1.294, allocations: 1.675 MB / 1.103 GB, free: 3.383 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006682/1.301, allocations: 1.903 MB / 1.104 GB, free: 3.375 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002534/1.303, allocations: 0.8328 MB / 1.105 GB, free: 3.273 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006383/1.31, allocations: 1.432 MB / 1.107 GB, free: 3.266 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002354/1.312, allocations: 0.6135 MB / 1.107 GB, free: 3.266 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004722/1.312, allocations: 50.81 kB / 1.107 GB, free: 3.266 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004657/1.317, allocations: 1.064 MB / 1.108 GB, free: 3.262 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009741/1.318, allocations: 355.4 kB / 1.109 GB, free: 3.262 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009361/1.319, allocations: 296.2 kB / 1.109 GB, free: 19.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003982/1.323, allocations: 1.634 MB / 1.11 GB, free: 19.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/1.323, allocations: 5.406 kB / 1.11 GB, free: 19.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.485e-06/1.323, allocations: 0 / 1.11 GB, free: 19.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.066e-05/1.323, allocations: 0 / 1.11 GB, free: 19.11 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.004262/1.328, allocations: 1.43 MB / 1.112 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/1.328, allocations: 10.52 kB / 1.112 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004488/1.332, allocations: 438 kB / 1.112 GB, free: 18.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002817/1.335, allocations: 0.9232 MB / 1.113 GB, free: 17.87 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.31e-05/1.335, allocations: 62.25 kB / 1.113 GB, free: 17.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/1.335, allocations: 83.94 kB / 1.113 GB, free: 17.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/1.338, allocations: 0.8686 MB / 1.114 GB, free: 17.81 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/1.338, allocations: 3.094 kB / 1.114 GB, free: 17.81 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/1.338, allocations: 35.25 kB / 1.114 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.935e-05/1.338, allocations: 28.69 kB / 1.114 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002654/1.341, allocations: 0.829 MB / 1.115 GB, free: 17.79 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.007925/1.349, allocations: 3.643 MB / 1.119 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/1.351, allocations: 1.117 MB / 1.12 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007192/1.352, allocations: 155 kB / 1.12 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/1.352, allocations: 43.66 kB / 1.12 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 3.327e-06/1.352, allocations: 0 / 1.12 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.003557/1.356, allocations: 0.9782 MB / 1.121 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/1.356, allocations: 61.56 kB / 1.121 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/1.358, allocations: 0.8253 MB / 1.122 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002225/1.358, allocations: 37.23 kB / 1.122 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004292/1.358, allocations: 484.4 kB / 1.122 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/1.359, allocations: 214.5 kB / 1.122 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/1.359, allocations: 18.34 kB / 1.122 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.359, allocations: 326.7 kB / 1.123 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000859/1.36, allocations: 248.2 kB / 1.123 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009343/1.361, allocations: 373.8 kB / 1.123 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008827/1.362, allocations: 300.3 kB / 1.124 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.362, allocations: 10.69 kB / 1.124 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002473/1.364, allocations: 0.735 MB / 1.124 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002148/1.364, allocations: 459.3 kB / 1.125 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.364, allocations: 2.844 kB / 1.125 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/1.364, allocations: 3.312 kB / 1.125 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/1.366, allocations: 129.2 kB / 1.125 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/1.366, allocations: 2.75 kB / 1.125 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/1.368, allocations: 130.3 kB / 1.125 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.505e-05/1.368, allocations: 19.84 kB / 1.125 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/1.368, allocations: 3.312 kB / 1.125 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001959/1.37, allocations: 0.6245 MB / 1.126 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/1.37, allocations: 0.5 kB / 1.126 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/1.37, allocations: 6.766 kB / 1.126 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/1.371, allocations: 127.9 kB / 1.126 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/1.371, allocations: 3.188 kB / 1.126 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/1.373, allocations: 125.8 kB / 1.126 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.76e-05/1.373, allocations: 22.02 kB / 1.126 GB, free: 13.67 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.0008225/1.374, allocations: 387.2 kB / 1.126 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/1.374, allocations: 106.2 kB / 1.126 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/1.376, allocations: 0.7605 MB / 1.127 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/1.376, allocations: 4.875 kB / 1.127 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.376, allocations: 4.016 kB / 1.127 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001886/1.378, allocations: 0.9152 MB / 1.128 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005947/1.384, allocations: 2.267 MB / 1.13 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/1.384, allocations: 3.25 kB / 1.13 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/1.385, allocations: 141.3 kB / 1.13 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.622e-05/1.385, allocations: 8.469 kB / 1.13 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.362e-05/1.386, allocations: 15.22 kB / 1.13 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.397e-05/1.386, allocations: 10.3 kB / 1.13 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/1.386, allocations: 4.188 kB / 1.13 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003899/1.39, allocations: 1.433 MB / 1.132 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009696/1.391, allocations: 264.4 kB / 1.132 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/1.391, allocations: 22.95 kB / 1.132 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/1.392, allocations: 102.4 kB / 1.132 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/1.393, allocations: 51.08 kB / 1.132 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.143e-05/1.393, allocations: 29.11 kB / 1.132 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001372/1.394, allocations: 0.5772 MB / 1.133 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.22e-07/1.394, allocations: 0.5312 kB / 1.133 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00229/1.396, allocations: 0.5329 MB / 1.133 GB, free: 11.06 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 (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.0007924/1.397, allocations: 257.2 kB / 1.134 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003015/1.4, allocations: 0.947 MB / 1.135 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.4, allocations: 2.312 kB / 1.135 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/1.401, allocations: 351.5 kB / 1.135 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005398/1.407, allocations: 0.6102 MB / 1.136 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00577/1.413, allocations: 2.621 MB / 1.138 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.414, allocations: 1.145 MB / 1.139 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002071/1.416, allocations: 299 kB / 1.139 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/1.416, allocations: 80.08 kB / 1.14 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of SimCode: time 9.92e-07/1.416, allocations: 0 / 1.14 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of Templates: time 0.05551/1.472, allocations: 19.22 MB / 1.158 GB, free: 13.82 MB / 0.7292 GB