Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01163/0.01163, allocations: 220.3 kB / 15.17 MB, free: 6 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.001092/0.001092, allocations: 175.6 kB / 16.06 MB, free: 5.871 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.321/3.321, allocations: 389.1 MB / 405.9 MB, free: 67.64 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.86/3.86, allocations: 472.3 MB / 0.9018 GB, free: 87.62 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005003/0.0005006, allocations: 18.66 kB / 1.008 GB, free: 37.43 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1488, allocations: 98.72 MB / 1.104 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.6836/0.8325, allocations: 169.4 MB / 1.269 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01674/0.8493, allocations: 10.56 MB / 1.28 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.8509, allocations: 42.41 kB / 1.28 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.8523, allocations: 449.1 kB / 1.28 GB, free: 1.836 MB / 0.6355 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. Notification: Performance of NFTyping.typeBindings: time 0.007062/0.8593, allocations: 2.144 MB / 1.282 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.007427/0.8668, allocations: 2.172 MB / 1.284 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004406/0.8712, allocations: 3.407 MB / 1.288 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.8724, allocations: 0.6074 MB / 1.288 GB, free: 472 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.8742, allocations: 0.8634 MB / 1.289 GB, free: 148 kB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002747/0.8769, allocations: 1.081 MB / 1.29 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.8772, allocations: 54.28 kB / 1.29 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005206/0.8824, allocations: 1.84 MB / 1.292 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0006948/0.8831, allocations: 386.8 kB / 1.292 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004538/0.8836, allocations: 238.1 kB / 1.293 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003605/0.8872, allocations: 1.901 MB / 1.295 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.8872, allocations: 11.38 kB / 1.295 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8872, allocations: 0 / 1.295 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.8873, allocations: 0 / 1.295 GB, free: 14.29 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.003748/0.891, allocations: 1.457 MB / 1.296 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.8911, allocations: 13.64 kB / 1.296 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/0.8934, allocations: 293.9 kB / 1.296 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.8951, allocations: 0.7482 MB / 1.297 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.255e-05/0.8952, allocations: 51.3 kB / 1.297 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.8954, allocations: 66.59 kB / 1.297 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.8974, allocations: 0.9921 MB / 1.298 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.8975, allocations: 7.938 kB / 1.298 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.8976, allocations: 33.22 kB / 1.298 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.8977, allocations: 72.92 kB / 1.298 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002141/0.8999, allocations: 1.025 MB / 1.299 GB, free: 12.26 MB / 0.6511 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.007347/0.9073, allocations: 3.582 MB / 1.303 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.9086, allocations: 0.6721 MB / 1.303 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007086/0.9093, allocations: 373.5 kB / 1.304 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003331/0.9097, allocations: 194.6 kB / 1.304 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.9098, allocations: 43.92 kB / 1.304 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=62): time 3.739e-06/0.9098, allocations: 0 / 1.304 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of matching and sorting (n=62): time 0.002476/0.9123, allocations: 1.018 MB / 1.305 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/0.9123, allocations: 111 kB / 1.305 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.9136, allocations: 0.7968 MB / 1.306 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.86e-05/0.9137, allocations: 47.55 kB / 1.306 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000366/0.9141, allocations: 425.4 kB / 1.306 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.9143, allocations: 223 kB / 1.306 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/0.9144, allocations: 14.44 kB / 1.307 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.9146, allocations: 334.1 kB / 1.307 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006818/0.9153, allocations: 321.6 kB / 1.307 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008265/0.9161, allocations: 460.9 kB / 1.308 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007922/0.9169, allocations: 401.1 kB / 1.308 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.47e-06/0.917, allocations: 1.781 kB / 1.308 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001949/0.9189, allocations: 0.9042 MB / 1.309 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.9191, allocations: 150.2 kB / 1.309 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.9191, allocations: 10.86 kB / 1.309 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.9191, allocations: 5.312 kB / 1.309 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000865/0.92, allocations: 153.9 kB / 1.309 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.92, allocations: 5.375 kB / 1.309 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.9211, allocations: 109.7 kB / 1.309 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.495e-05/0.9212, allocations: 28.28 kB / 1.309 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.628e-06/0.9212, allocations: 2.844 kB / 1.309 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001623/0.9228, allocations: 0.7722 MB / 1.31 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.186e-06/0.9228, allocations: 3.219 kB / 1.31 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.9229, allocations: 13.14 kB / 1.31 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007814/0.9237, allocations: 144.3 kB / 1.31 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.9237, allocations: 5.469 kB / 1.31 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008656/0.9246, allocations: 103.8 kB / 1.31 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.736e-05/0.9246, allocations: 22.03 kB / 1.31 GB, free: 7.621 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0006093/0.9253, allocations: 375.8 kB / 1.311 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.9255, allocations: 89.34 kB / 1.311 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.9272, allocations: 0.8065 MB / 1.312 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.162e-06/0.9272, allocations: 4.719 kB / 1.312 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.9272, allocations: 4 kB / 1.312 GB, free: 7.164 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001335/0.9286, allocations: 0.7372 MB / 1.312 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004037/0.9326, allocations: 2.096 MB / 1.314 GB, free: 6.066 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.9327, allocations: 2.906 kB / 1.314 GB, free: 6.066 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008269/0.9335, allocations: 135.9 kB / 1.314 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/0.9335, allocations: 10.22 kB / 1.314 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.489e-05/0.9336, allocations: 21.11 kB / 1.314 GB, free: 6.035 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-05/0.9336, allocations: 9.125 kB / 1.314 GB, free: 6.031 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.244e-06/0.9336, allocations: 2.75 kB / 1.315 GB, free: 6.031 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/0.9361, allocations: 1.391 MB / 1.316 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000562/0.9367, allocations: 262.4 kB / 1.316 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.9369, allocations: 21.3 kB / 1.316 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008075/0.9377, allocations: 43.22 kB / 1.316 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.9378, allocations: 52.61 kB / 1.316 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-05/0.9379, allocations: 23.94 kB / 1.316 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009164/0.9388, allocations: 0.5506 MB / 1.317 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.28e-07/0.9388, allocations: 0 / 1.317 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002013/0.9409, allocations: 0.7547 MB / 1.318 GB, free: 5.043 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * 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 (64): * Single equations (assignments): 64 * 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.001407/0.9423, allocations: 0.5366 MB / 1.318 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002349/0.9446, allocations: 1.159 MB / 1.319 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.9447, allocations: 0 / 1.319 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006859/0.9454, allocations: 373.7 kB / 1.32 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002878/0.9483, allocations: 0.5139 MB / 1.32 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.9521, allocations: 2.274 MB / 1.322 GB, free: 2.965 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009017/0.953, allocations: 1.102 MB / 1.323 GB, free: 2.098 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00185/0.9548, allocations: 405.9 kB / 1.324 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.9552, allocations: 76.45 kB / 1.324 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of SimCode: time 1.562e-06/0.9552, allocations: 9.688 kB / 1.324 GB, free: 1.902 MB / 0.6511 GB Notification: Performance of Templates: time 0.0484/1.004, allocations: 21.49 MB / 1.345 GB, free: 14.54 MB / 0.6823 GB