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.HydraulicDiameter.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.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01044/0.01045, allocations: 223 kB / 15.17 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.001083/0.001083, allocations: 172.9 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.242/3.242, allocations: 389.1 MB / 405.9 MB, free: 67.63 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 4.05/4.05, allocations: 472.3 MB / 0.9018 GB, free: 13.23 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004849/0.0004851, allocations: 12 kB / 1.008 GB, free: 0.6797 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4786, allocations: 98.72 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01254/0.4912, allocations: 13.63 MB / 1.117 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004816/0.4961, allocations: 3.462 MB / 1.121 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00035/0.4964, allocations: 19.88 kB / 1.121 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005011/0.497, allocations: 166.4 kB / 1.121 GB, free: 166.5 MB / 0.6823 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.00162/0.4986, allocations: 0.6603 MB / 1.122 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.5, allocations: 483.3 kB / 1.122 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001336/0.5014, allocations: 1.24 MB / 1.123 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000337/0.5017, allocations: 232.5 kB / 1.123 GB, free: 164 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000518/0.5023, allocations: 358.3 kB / 1.124 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.5026, allocations: 247.9 kB / 1.124 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.5026, allocations: 12 kB / 1.124 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008808/0.5035, allocations: 474.9 kB / 1.124 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 6.9e-05/0.5036, allocations: 55.7 kB / 1.125 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 7.903e-05/0.5037, allocations: 94.64 kB / 1.125 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.000562/0.5043, allocations: 443 kB / 1.125 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.17e-06/0.5043, allocations: 0 / 1.125 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.752e-06/0.5043, allocations: 0 / 1.125 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.288e-06/0.5043, allocations: 3.5 kB / 1.125 GB, free: 162.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009388/0.5053, allocations: 0.6696 MB / 1.126 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.5053, allocations: 8.031 kB / 1.126 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.949e-05/0.5054, allocations: 46.84 kB / 1.126 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009308/0.5063, allocations: 489 kB / 1.126 GB, free: 161 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.5064, allocations: 13.42 kB / 1.126 GB, free: 161 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.5064, allocations: 20 kB / 1.126 GB, free: 161 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.5068, allocations: 178.9 kB / 1.126 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.5069, allocations: 0.9375 kB / 1.126 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.5069, allocations: 12 kB / 1.126 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.641e-06/0.5069, allocations: 5.125 kB / 1.126 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.5073, allocations: 146.8 kB / 1.127 GB, free: 160.7 MB / 0.6823 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.001106/0.5084, allocations: 0.8563 MB / 1.127 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.5087, allocations: 126.2 kB / 1.128 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.5089, allocations: 58.61 kB / 1.128 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/0.5092, allocations: 340.5 kB / 1.128 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.5092, allocations: 39.33 kB / 1.128 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.226e-06/0.5093, allocations: 0 / 1.128 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0005934/0.5099, allocations: 211.9 kB / 1.128 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.5099, allocations: 51.41 kB / 1.128 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003616/0.5103, allocations: 353.7 kB / 1.129 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.5103, allocations: 25.7 kB / 1.129 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.5104, allocations: 200.1 kB / 1.129 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.5105, allocations: 35.47 kB / 1.129 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.067e-06/0.5105, allocations: 2.969 kB / 1.129 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.5106, allocations: 342.8 kB / 1.129 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.5107, allocations: 47.97 kB / 1.129 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.5109, allocations: 92 kB / 1.129 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.5111, allocations: 57.16 kB / 1.129 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.801e-06/0.5111, allocations: 0.9375 kB / 1.129 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004244/0.5116, allocations: 177.2 kB / 1.129 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/0.5116, allocations: 104.5 kB / 1.13 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5116, allocations: 3.984 kB / 1.13 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.5117, allocations: 0 / 1.13 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.5118, allocations: 35.42 kB / 1.13 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.93e-06/0.5119, allocations: 0.8125 kB / 1.13 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.5122, allocations: 36.94 kB / 1.13 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.5122, allocations: 7.938 kB / 1.13 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.331e-06/0.5122, allocations: 7.469 kB / 1.13 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003528/0.5126, allocations: 115.9 kB / 1.13 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.05e-06/0.5126, allocations: 0 / 1.13 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.294e-06/0.5126, allocations: 4 kB / 1.13 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.5128, allocations: 33.2 kB / 1.13 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-06/0.5128, allocations: 0 / 1.13 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.5131, allocations: 31.83 kB / 1.13 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.5131, allocations: 6.844 kB / 1.13 GB, free: 157.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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.000151/0.5132, allocations: 229 kB / 1.13 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.5133, allocations: 31.62 kB / 1.13 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000519/0.5139, allocations: 219.7 kB / 1.13 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.651e-06/0.5139, allocations: 0 / 1.13 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.104e-06/0.5139, allocations: 0 / 1.13 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5139, allocations: 7.953 kB / 1.13 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009067/0.5148, allocations: 0.5863 MB / 1.131 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.201e-06/0.5148, allocations: 0 / 1.131 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.515, allocations: 33.91 kB / 1.131 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.842e-06/0.515, allocations: 0.75 kB / 1.131 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.515, allocations: 8 kB / 1.131 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.547e-06/0.5151, allocations: 7.047 kB / 1.131 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.075e-06/0.5151, allocations: 0 / 1.131 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.5156, allocations: 295.6 kB / 1.131 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.5157, allocations: 124.6 kB / 1.131 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.556e-05/0.5158, allocations: 4.875 kB / 1.131 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.5161, allocations: 31.81 kB / 1.131 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.5162, allocations: 13.72 kB / 1.131 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.5162, allocations: 8 kB / 1.131 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002596/0.5165, allocations: 247.2 kB / 1.132 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.87e-07/0.5165, allocations: 3.938 kB / 1.132 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006752/0.5172, allocations: 183.8 kB / 1.132 GB, free: 155 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000503/0.5177, allocations: 251.8 kB / 1.132 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005647/0.5183, allocations: 187 kB / 1.132 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.8e-06/0.5183, allocations: 3 kB / 1.132 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.5185, allocations: 75.83 kB / 1.132 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009468/0.5195, allocations: 143.1 kB / 1.132 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008789/0.5204, allocations: 0.6573 MB / 1.133 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.5206, allocations: 0.8016 MB / 1.134 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003082/0.5209, allocations: 75.22 kB / 1.134 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.521, allocations: 31.44 kB / 1.134 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.286e-06/0.521, allocations: 0 / 1.134 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.01397/0.535, allocations: 6.093 MB / 1.14 GB, free: 147.2 MB / 0.6823 GB