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.005972/0.005972, allocations: 233.2 kB / 15.8 MB, free: 6.285 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.001841/0.00184, allocations: 180.3 kB / 16.69 MB, free: 5.449 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 4.437/4.437, allocations: 389.1 MB / 406.5 MB, free: 11.83 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 4.304/4.304, allocations: 472.3 MB / 0.9024 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.000497, allocations: 15.98 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1762, allocations: 98.72 MB / 1.105 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01681/0.193, allocations: 13.64 MB / 1.118 GB, free: 28.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005997/0.1991, allocations: 3.449 MB / 1.121 GB, free: 25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006366/0.1998, allocations: 20.5 kB / 1.121 GB, free: 24.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007696/0.2006, allocations: 163.5 kB / 1.121 GB, free: 24.82 MB / 0.6042 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.002525/0.2031, allocations: 0.66 MB / 1.122 GB, free: 24.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.2052, allocations: 491.1 kB / 1.123 GB, free: 23.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002047/0.2072, allocations: 1.242 MB / 1.124 GB, free: 22.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005554/0.2078, allocations: 237.4 kB / 1.124 GB, free: 22.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008701/0.2087, allocations: 346.4 kB / 1.124 GB, free: 21.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004405/0.2092, allocations: 255.8 kB / 1.125 GB, free: 21.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.254e-05/0.2093, allocations: 12 kB / 1.125 GB, free: 21.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.2105, allocations: 470.9 kB / 1.125 GB, free: 21.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.954e-05/0.2107, allocations: 63.67 kB / 1.125 GB, free: 21.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.2108, allocations: 89.52 kB / 1.125 GB, free: 21.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008985/0.2117, allocations: 439 kB / 1.126 GB, free: 20.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2118, allocations: 0 / 1.126 GB, free: 20.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2118, allocations: 0.7812 kB / 1.126 GB, free: 20.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.2118, allocations: 0 / 1.126 GB, free: 20.59 MB / 0.6042 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.001235/0.213, allocations: 0.6768 MB / 1.126 GB, free: 19.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.2131, allocations: 8.031 kB / 1.126 GB, free: 19.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.858e-05/0.2132, allocations: 51.39 kB / 1.126 GB, free: 19.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.2143, allocations: 476.3 kB / 1.127 GB, free: 19.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.2144, allocations: 14.14 kB / 1.127 GB, free: 19.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.2144, allocations: 20 kB / 1.127 GB, free: 19.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.2149, allocations: 180.8 kB / 1.127 GB, free: 19.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.215, allocations: 0.7188 kB / 1.127 GB, free: 19.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.215, allocations: 8 kB / 1.127 GB, free: 19.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.215, allocations: 10.23 kB / 1.127 GB, free: 19.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005368/0.2156, allocations: 145.1 kB / 1.127 GB, free: 18.93 MB / 0.6042 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.001366/0.2169, allocations: 0.8557 MB / 1.128 GB, free: 17.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.2173, allocations: 121.5 kB / 1.128 GB, free: 17.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.2175, allocations: 62.19 kB / 1.128 GB, free: 17.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/0.2178, allocations: 341.4 kB / 1.128 GB, free: 17.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.2179, allocations: 37 kB / 1.129 GB, free: 17.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 3.367e-06/0.2179, allocations: 0 / 1.129 GB, free: 17.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0008058/0.2187, allocations: 207.1 kB / 1.129 GB, free: 17.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.2188, allocations: 51.91 kB / 1.129 GB, free: 17.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004509/0.2192, allocations: 355.7 kB / 1.129 GB, free: 16.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.2193, allocations: 33.64 kB / 1.129 GB, free: 16.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.2194, allocations: 200.1 kB / 1.129 GB, free: 16.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.2195, allocations: 27.56 kB / 1.129 GB, free: 16.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.2195, allocations: 8.469 kB / 1.129 GB, free: 16.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.011e-05/0.2196, allocations: 343.6 kB / 1.13 GB, free: 16.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.2198, allocations: 49.41 kB / 1.13 GB, free: 16.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.2201, allocations: 88.09 kB / 1.13 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.2203, allocations: 51.97 kB / 1.13 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2203, allocations: 3.406 kB / 1.13 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005706/0.2209, allocations: 181 kB / 1.13 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/0.221, allocations: 108.5 kB / 1.13 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.221, allocations: 3.938 kB / 1.13 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.221, allocations: 0 / 1.13 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.2213, allocations: 29.17 kB / 1.13 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2213, allocations: 0 / 1.13 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004051/0.2217, allocations: 38.94 kB / 1.13 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.2218, allocations: 7.984 kB / 1.13 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.2218, allocations: 4 kB / 1.13 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004578/0.2222, allocations: 118.5 kB / 1.13 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.2223, allocations: 0 / 1.13 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.601e-06/0.2223, allocations: 3.953 kB / 1.13 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.2225, allocations: 35.98 kB / 1.13 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.2225, allocations: 0 / 1.13 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/0.2229, allocations: 39.75 kB / 1.13 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.2229, allocations: 4 kB / 1.13 GB, free: 15.36 MB / 0.6042 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.000203/0.2232, allocations: 224.4 kB / 1.131 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.2232, allocations: 35.53 kB / 1.131 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007118/0.224, allocations: 222.9 kB / 1.131 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.224, allocations: 3.953 kB / 1.131 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.224, allocations: 1.844 kB / 1.131 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.2242, allocations: 124.6 kB / 1.131 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/0.2242, allocations: 3.984 kB / 1.131 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.2246, allocations: 30.42 kB / 1.131 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.2247, allocations: 9.016 kB / 1.131 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006017/0.2253, allocations: 251.9 kB / 1.131 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005756/0.2259, allocations: 369.6 kB / 1.132 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000225/0.2261, allocations: 73.83 kB / 1.132 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003183/0.2265, allocations: 243.2 kB / 1.132 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of Backend: time 9.01e-07/0.2265, allocations: 0 / 1.132 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001632/0.2281, allocations: 387.1 kB / 1.132 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001954/0.2301, allocations: 1.198 MB / 1.133 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of Templates: time 0.01843/0.2486, allocations: 6.616 MB / 1.14 GB, free: 6.043 MB / 0.6042 GB