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.009139/0.009139, allocations: 107.4 kB / 15.06 MB, free: 5.559 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: 174 kB / 15.94 MB, free: 5.523 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 1.821/1.821, allocations: 194.6 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.256/2.256, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004776, allocations: 16 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5813/0.5818, allocations: 98.71 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02648/0.6083, allocations: 12.51 MB / 0.6955 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.009872/0.6182, allocations: 3.241 MB / 0.6987 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009935/0.6193, allocations: 19.34 kB / 0.6987 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.6206, allocations: 173.3 kB / 0.6989 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0045/0.6251, allocations: 0.6622 MB / 0.6995 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.003777/0.6289, allocations: 474 kB / 0.7 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003321/0.6323, allocations: 0.7561 MB / 0.7007 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005822/0.633, allocations: 231.5 kB / 0.7009 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008694/0.6339, allocations: 346.9 kB / 0.7013 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.6342, allocations: 189 kB / 0.7015 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.251e-05/0.6343, allocations: 12.38 kB / 0.7015 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.6356, allocations: 0.4918 MB / 0.702 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.457e-05/0.6357, allocations: 57.09 kB / 0.702 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.6358, allocations: 98.48 kB / 0.7021 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0008257/0.6367, allocations: 444.5 kB / 0.7025 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.201e-06/0.6367, allocations: 0 / 0.7025 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.21e-06/0.6367, allocations: 0 / 0.7025 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.78e-06/0.6367, allocations: 3.938 kB / 0.7025 GB, free: 3.797 MB / 0.5261 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.001078/0.6378, allocations: 0.6757 MB / 0.7032 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.6379, allocations: 9.625 kB / 0.7032 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.906e-05/0.638, allocations: 41.53 kB / 0.7032 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009473/0.6389, allocations: 439.6 kB / 0.7037 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.639, allocations: 12.39 kB / 0.7037 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.639, allocations: 20.97 kB / 0.7037 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.6395, allocations: 180.2 kB / 0.7039 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.6396, allocations: 3.984 kB / 0.7039 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.6396, allocations: 10.22 kB / 0.7039 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.6396, allocations: 3.125 kB / 0.7039 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/0.6401, allocations: 149.3 kB / 0.704 GB, free: 2.594 MB / 0.5261 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.001398/0.6415, allocations: 0.8773 MB / 0.7049 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.6419, allocations: 118.3 kB / 0.705 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002638/0.6421, allocations: 331.3 kB / 0.7053 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.6422, allocations: 36.03 kB / 0.7053 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 3.593e-06/0.6422, allocations: 4 kB / 0.7053 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0007098/0.6429, allocations: 210.5 kB / 0.7055 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.643, allocations: 52.19 kB / 0.7056 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005508/0.6435, allocations: 384.7 kB / 0.706 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.6436, allocations: 26.95 kB / 0.706 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.6437, allocations: 204.4 kB / 0.7062 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.6438, allocations: 35.31 kB / 0.7062 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.6438, allocations: 5.406 kB / 0.7062 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.917e-05/0.6439, allocations: 341.8 kB / 0.7065 GB, free: 288 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.6441, allocations: 52.12 kB / 0.7066 GB, free: 264 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.6443, allocations: 88.53 kB / 0.7067 GB, free: 196 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.6445, allocations: 63.22 kB / 0.7067 GB, free: 164 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.394e-06/0.6446, allocations: 0 / 0.7067 GB, free: 164 kB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004946/0.6451, allocations: 176.3 kB / 0.7069 GB, free: 68 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.6452, allocations: 192 kB / 0.7071 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.135e-06/0.6452, allocations: 0 / 0.7071 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6453, allocations: 1.219 kB / 0.7071 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.6455, allocations: 29.42 kB / 0.7071 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.447e-06/0.6455, allocations: 1.125 kB / 0.7071 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.6459, allocations: 33.16 kB / 0.7072 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.6459, allocations: 9.203 kB / 0.7072 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.6459, allocations: 5.188 kB / 0.7072 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004194/0.6464, allocations: 127.6 kB / 0.7073 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.037e-06/0.6464, allocations: 0 / 0.7073 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.569e-06/0.6464, allocations: 1.438 kB / 0.7073 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.6465, allocations: 29.48 kB / 0.7073 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6466, allocations: 4.984 kB / 0.7073 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.6469, allocations: 36.28 kB / 0.7074 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.6469, allocations: 5.344 kB / 0.7074 GB, free: 15.75 MB / 0.5417 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.000252/0.6472, allocations: 222 kB / 0.7076 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/0.6473, allocations: 39.41 kB / 0.7076 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006334/0.6479, allocations: 215 kB / 0.7078 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.648, allocations: 9.453 kB / 0.7078 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.648, allocations: 3.953 kB / 0.7078 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.353e-06/0.648, allocations: 0 / 0.7078 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.6492, allocations: 0.6018 MB / 0.7084 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.785e-06/0.6492, allocations: 0 / 0.7084 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.6494, allocations: 31.61 kB / 0.7084 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.927e-06/0.6494, allocations: 5.703 kB / 0.7085 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.6495, allocations: 9.766 kB / 0.7085 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.293e-06/0.6495, allocations: 0 / 0.7085 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6495, allocations: 1.438 kB / 0.7085 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005793/0.6501, allocations: 300.7 kB / 0.7087 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.6503, allocations: 137.7 kB / 0.7089 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.742e-05/0.6504, allocations: 5.312 kB / 0.7089 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.6507, allocations: 21.78 kB / 0.7089 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.6508, allocations: 12.67 kB / 0.7089 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.6508, allocations: 3.562 kB / 0.7089 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004397/0.6513, allocations: 272.4 kB / 0.7092 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.23e-07/0.6513, allocations: 5.188 kB / 0.7092 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008515/0.6521, allocations: 196.2 kB / 0.7094 GB, free: 14.23 MB / 0.5417 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.000665/0.6528, allocations: 262.6 kB / 0.7096 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000678/0.6535, allocations: 191.5 kB / 0.7098 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.728e-06/0.6535, allocations: 0 / 0.7098 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.6538, allocations: 72.88 kB / 0.7099 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009838/0.6548, allocations: 140.2 kB / 0.71 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.6561, allocations: 0.6584 MB / 0.7107 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/0.6566, allocations: 0.8023 MB / 0.7114 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004186/0.6571, allocations: 74.11 kB / 0.7115 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.309e-05/0.6572, allocations: 29.12 kB / 0.7115 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of SimCode: time 1.927e-06/0.6572, allocations: 0 / 0.7115 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of Templates: time 0.01915/0.6763, allocations: 6.506 MB / 0.7179 GB, free: 9.355 MB / 0.5417 GB