Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004272/0.004276, allocations: 234.3 kB / 15.82 MB, free: 6.297 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001216/0.001216, allocations: 175.5 kB / 16.7 MB, free: 5.457 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.956/3.956, allocations: 389.1 MB / 406.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.925/3.925, allocations: 472.3 MB / 0.9024 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.000475, allocations: 12.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1796, allocations: 98.72 MB / 1.105 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.655/6.835, allocations: 2.186 GB / 3.291 GB, free: 19.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/6.835, allocations: 94.52 kB / 3.291 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.561/11.4, allocations: 0.8875 GB / 4.178 GB, free: 48.54 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.735e-06/11.4, allocations: 0 / 4.178 GB, free: 48.54 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001585/11.4, allocations: 39.98 kB / 4.178 GB, free: 48.5 MB / 0.823 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.006017/11.4, allocations: 1.746 MB / 4.18 GB, free: 46.72 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/11.4, allocations: 16.03 kB / 4.18 GB, free: 46.71 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004308/11.41, allocations: 417.9 kB / 4.18 GB, free: 46.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003776/11.41, allocations: 1.089 MB / 4.182 GB, free: 45.17 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.974e-05/11.41, allocations: 66 kB / 4.182 GB, free: 45.11 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/11.41, allocations: 90.62 kB / 4.182 GB, free: 45.02 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/11.41, allocations: 0.8546 MB / 4.183 GB, free: 44.16 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.859e-05/11.41, allocations: 3.906 kB / 4.183 GB, free: 44.16 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/11.41, allocations: 32 kB / 4.183 GB, free: 44.13 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/11.41, allocations: 26 kB / 4.183 GB, free: 44.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/11.42, allocations: 0.812 MB / 4.183 GB, free: 43.29 MB / 0.823 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.008209/11.42, allocations: 3.67 MB / 4.187 GB, free: 39.33 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/11.43, allocations: 1.116 MB / 4.188 GB, free: 38.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009521/11.43, allocations: 393.5 kB / 4.188 GB, free: 37.71 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008398/11.43, allocations: 396.9 kB / 4.189 GB, free: 37.25 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/11.43, allocations: 47.06 kB / 4.189 GB, free: 37.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=60): time 3.116e-06/11.43, allocations: 0 / 4.189 GB, free: 37.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=60): time 0.003369/11.43, allocations: 1.001 MB / 4.19 GB, free: 36.19 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/11.43, allocations: 59.97 kB / 4.19 GB, free: 36.12 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/11.43, allocations: 0.832 MB / 4.191 GB, free: 35.27 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001747/11.43, allocations: 41.7 kB / 4.191 GB, free: 35.22 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003928/11.43, allocations: 480.2 kB / 4.191 GB, free: 34.74 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/11.43, allocations: 220.9 kB / 4.191 GB, free: 34.52 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.234e-05/11.43, allocations: 12 kB / 4.191 GB, free: 34.51 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.874e-05/11.43, allocations: 329.9 kB / 4.192 GB, free: 34.18 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007922/11.43, allocations: 257 kB / 4.192 GB, free: 33.93 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009095/11.44, allocations: 420.5 kB / 4.192 GB, free: 33.47 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008632/11.44, allocations: 318 kB / 4.193 GB, free: 33.16 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/11.44, allocations: 0 / 4.193 GB, free: 33.16 MB / 0.823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002183/11.44, allocations: 0.7555 MB / 4.193 GB, free: 32.41 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-05/11.44, allocations: 126.8 kB / 4.194 GB, free: 32.26 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/11.44, allocations: 6.734 kB / 4.194 GB, free: 32.26 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/11.44, allocations: 4 kB / 4.194 GB, free: 32.25 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/11.44, allocations: 135.8 kB / 4.194 GB, free: 32.12 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/11.44, allocations: 8 kB / 4.194 GB, free: 32.11 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/11.44, allocations: 127.3 kB / 4.194 GB, free: 31.99 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-05/11.44, allocations: 24 kB / 4.194 GB, free: 31.96 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/11.44, allocations: 4 kB / 4.194 GB, free: 31.96 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001822/11.44, allocations: 0.6417 MB / 4.194 GB, free: 31.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/11.44, allocations: 0 / 4.194 GB, free: 31.32 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/11.44, allocations: 4 kB / 4.194 GB, free: 31.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/11.45, allocations: 135.8 kB / 4.195 GB, free: 31.19 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/11.45, allocations: 8.094 kB / 4.195 GB, free: 31.18 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/11.45, allocations: 131.3 kB / 4.195 GB, free: 31.05 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/11.45, allocations: 27.98 kB / 4.195 GB, free: 31.02 MB / 0.823 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.0008485/11.45, allocations: 392.9 kB / 4.195 GB, free: 30.63 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002799/11.45, allocations: 98.78 kB / 4.195 GB, free: 30.53 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/11.45, allocations: 0.786 MB / 4.196 GB, free: 29.74 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.587e-06/11.45, allocations: 4 kB / 4.196 GB, free: 29.74 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/11.45, allocations: 4 kB / 4.196 GB, free: 29.73 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001736/11.45, allocations: 0.9541 MB / 4.197 GB, free: 28.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005722/11.46, allocations: 2.257 MB / 4.199 GB, free: 26.31 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/11.46, allocations: 0 / 4.199 GB, free: 26.31 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/11.46, allocations: 160.2 kB / 4.199 GB, free: 26.15 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/11.46, allocations: 8 kB / 4.199 GB, free: 26.14 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.57e-05/11.46, allocations: 16 kB / 4.199 GB, free: 26.13 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/11.46, allocations: 7.938 kB / 4.199 GB, free: 26.12 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/11.46, allocations: 7.984 kB / 4.199 GB, free: 26.11 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/11.46, allocations: 1.282 MB / 4.201 GB, free: 24.78 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008057/11.46, allocations: 259.7 kB / 4.201 GB, free: 24.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002361/11.46, allocations: 15.98 kB / 4.201 GB, free: 24.49 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001774/11.47, allocations: 139.7 kB / 4.201 GB, free: 24.35 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/11.47, allocations: 48.27 kB / 4.201 GB, free: 24.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.952e-05/11.47, allocations: 28 kB / 4.201 GB, free: 24.28 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001143/11.47, allocations: 0.5744 MB / 4.202 GB, free: 23.69 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.21e-07/11.47, allocations: 0 / 4.202 GB, free: 23.69 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002896/11.47, allocations: 0.776 MB / 4.202 GB, free: 22.91 MB / 0.823 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.004181/11.47, allocations: 2.312 MB / 4.205 GB, free: 20.43 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00291/11.48, allocations: 0.9783 MB / 4.206 GB, free: 19.46 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/11.48, allocations: 7.875 kB / 4.206 GB, free: 19.45 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009652/11.48, allocations: 351.1 kB / 4.206 GB, free: 19.11 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006323/11.48, allocations: 0.6862 MB / 4.207 GB, free: 18.43 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004733/11.49, allocations: 2.628 MB / 4.209 GB, free: 15.73 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007371/11.49, allocations: 1.155 MB / 4.21 GB, free: 14.55 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001926/11.49, allocations: 280.2 kB / 4.211 GB, free: 14.27 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004197/11.49, allocations: 87.42 kB / 4.211 GB, free: 14.18 MB / 0.823 GB Notification: Performance of SimCode: time 1.353e-06/11.49, allocations: 0 / 4.211 GB, free: 14.18 MB / 0.823 GB Notification: Performance of Templates: time 0.7265/12.22, allocations: 46.44 MB / 4.256 GB, free: 122.5 MB / 0.8386 GB