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.01063/0.01064, allocations: 224.1 kB / 15.18 MB, free: 5.93 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.001135/0.001135, allocations: 177.6 kB / 16.06 MB, free: 5.832 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.587/3.587, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.967/3.967, allocations: 472.3 MB / 0.9018 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.0004671, allocations: 12 kB / 1.008 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6124/0.6129, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.22/0.833, allocations: 213.9 MB / 1.313 GB, free: 24.36 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.8443, allocations: 7.617 MB / 1.32 GB, free: 16.75 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.8457, allocations: 43.69 kB / 1.32 GB, free: 16.71 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.8475, allocations: 0.59 MB / 1.321 GB, free: 16.12 MB / 0.7292 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005818/0.8533, allocations: 2.121 MB / 1.323 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00508/0.8584, allocations: 1.639 MB / 1.325 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.004205/0.8626, allocations: 3.898 MB / 1.328 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.8638, allocations: 0.8273 MB / 1.329 GB, free: 7.66 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002922/0.8668, allocations: 1.47 MB / 1.331 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.8679, allocations: 0.9271 MB / 1.332 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.8681, allocations: 52 kB / 1.332 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.8707, allocations: 0.9545 MB / 1.333 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0003956/0.8711, allocations: 386.7 kB / 1.333 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003287/0.8714, allocations: 293 kB / 1.333 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.8733, allocations: 1.65 MB / 1.335 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.675e-06/0.8734, allocations: 4 kB / 1.335 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.587e-06/0.8734, allocations: 0 / 1.335 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.8734, allocations: 0 / 1.335 GB, free: 1.918 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.002375/0.8758, allocations: 1.444 MB / 1.336 GB, free: 432 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.8758, allocations: 8.031 kB / 1.336 GB, free: 424 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00319/0.879, allocations: 430.2 kB / 1.337 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002075/0.8811, allocations: 0.9397 MB / 1.338 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.108e-05/0.8812, allocations: 66 kB / 1.338 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.8814, allocations: 84 kB / 1.338 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/0.8836, allocations: 0.8741 MB / 1.339 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.8836, allocations: 4 kB / 1.339 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.8838, allocations: 32 kB / 1.339 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.57e-05/0.8838, allocations: 30 kB / 1.339 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.886, allocations: 0.8354 MB / 1.339 GB, free: 13.09 MB / 0.7448 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.006481/0.8925, allocations: 3.65 MB / 1.343 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.8945, allocations: 1.117 MB / 1.344 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008725/0.8954, allocations: 383.6 kB / 1.344 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008405/0.8963, allocations: 420.9 kB / 1.345 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.8963, allocations: 43.12 kB / 1.345 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=60): time 3.638e-06/0.8963, allocations: 0 / 1.345 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60): time 0.002845/0.8992, allocations: 0.9702 MB / 1.346 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.8993, allocations: 63.92 kB / 1.346 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.9008, allocations: 0.8356 MB / 1.347 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.109e-05/0.9009, allocations: 41.7 kB / 1.347 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005111/0.9014, allocations: 488.1 kB / 1.347 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/0.9017, allocations: 216.8 kB / 1.347 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.9017, allocations: 8 kB / 1.347 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.9019, allocations: 330 kB / 1.348 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000685/0.9026, allocations: 249 kB / 1.348 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008368/0.9035, allocations: 376.3 kB / 1.348 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000776/0.9043, allocations: 302 kB / 1.349 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.043e-06/0.9043, allocations: 0 / 1.349 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001886/0.9062, allocations: 0.736 MB / 1.349 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.9063, allocations: 126.7 kB / 1.35 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.9063, allocations: 3.953 kB / 1.35 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.9064, allocations: 4 kB / 1.35 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007565/0.9071, allocations: 131.9 kB / 1.35 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.9072, allocations: 7.938 kB / 1.35 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.9082, allocations: 119.4 kB / 1.35 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.967e-05/0.9083, allocations: 24 kB / 1.35 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.9084, allocations: 4 kB / 1.35 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001611/0.91, allocations: 0.6238 MB / 1.35 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.243e-06/0.91, allocations: 3.5 kB / 1.35 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.91, allocations: 4 kB / 1.35 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007062/0.9107, allocations: 131.8 kB / 1.351 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.9108, allocations: 4 kB / 1.351 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009964/0.9118, allocations: 127.4 kB / 1.351 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-05/0.9119, allocations: 23.98 kB / 1.351 GB, free: 1.016 MB / 0.7448 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.0006804/0.9126, allocations: 388.9 kB / 1.351 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.9128, allocations: 98.78 kB / 1.351 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.9147, allocations: 0.7611 MB / 1.352 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.9147, allocations: 8 kB / 1.352 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.844e-06/0.9148, allocations: 0 / 1.352 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001678/0.9164, allocations: 0.9151 MB / 1.353 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004797/0.9213, allocations: 2.255 MB / 1.355 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.967e-06/0.9213, allocations: 4 kB / 1.355 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008553/0.9222, allocations: 141.6 kB / 1.355 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-05/0.9222, allocations: 8 kB / 1.355 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.538e-05/0.9223, allocations: 23.45 kB / 1.355 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.481e-06/0.9223, allocations: 4 kB / 1.355 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.9223, allocations: 7.938 kB / 1.355 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/0.9251, allocations: 1.284 MB / 1.356 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006738/0.9258, allocations: 263.7 kB / 1.357 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.926, allocations: 16 kB / 1.357 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.9271, allocations: 103.3 kB / 1.357 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.9272, allocations: 47.52 kB / 1.357 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.606e-05/0.9273, allocations: 27.98 kB / 1.357 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001119/0.9285, allocations: 0.5744 MB / 1.357 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.41e-07/0.9285, allocations: 0 / 1.357 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001651/0.9301, allocations: 0.5493 MB / 1.358 GB, free: 9.242 MB / 0.7605 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.0005857/0.9307, allocations: 244.5 kB / 1.358 GB, free: 9.012 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00241/0.9332, allocations: 0.9587 MB / 1.359 GB, free: 8.055 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.165e-06/0.9332, allocations: 0 / 1.359 GB, free: 8.055 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008455/0.934, allocations: 351.1 kB / 1.359 GB, free: 7.711 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003473/0.9375, allocations: 0.6192 MB / 1.36 GB, free: 7.113 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/0.9422, allocations: 2.622 MB / 1.363 GB, free: 4.473 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.9433, allocations: 1.159 MB / 1.364 GB, free: 3.289 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001523/0.9449, allocations: 285.4 kB / 1.364 GB, free: 3.027 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/0.9452, allocations: 79.42 kB / 1.364 GB, free: 2.949 MB / 0.7605 GB Notification: Performance of SimCode: time 1.981e-06/0.9452, allocations: 0 / 1.364 GB, free: 2.949 MB / 0.7605 GB Notification: Performance of Templates: time 0.4713/1.417, allocations: 19.29 MB / 1.383 GB, free: 234.4 MB / 0.7605 GB