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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01557/0.01557, allocations: 107.9 kB / 15.06 MB, free: 5.555 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.001306/0.001305, allocations: 181.4 kB / 15.95 MB, free: 5.52 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 2.05/2.05, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.498/2.498, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004716, allocations: 12 kB / 0.587 GB, free: 2.105 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6811/0.6816, allocations: 98.71 MB / 0.6834 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01901/0.7006, allocations: 12.5 MB / 0.6956 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006813/0.7075, allocations: 3.24 MB / 0.6988 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007915/0.7083, allocations: 19.94 kB / 0.6988 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009566/0.7093, allocations: 176.5 kB / 0.699 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003089/0.7124, allocations: 0.6553 MB / 0.6996 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.7149, allocations: 485 kB / 0.7001 GB, free: 4.871 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002317/0.7173, allocations: 0.764 MB / 0.7008 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006589/0.718, allocations: 227.5 kB / 0.701 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.7191, allocations: 350.5 kB / 0.7014 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004235/0.7196, allocations: 180.9 kB / 0.7016 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.274e-05/0.7197, allocations: 11.16 kB / 0.7016 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.7214, allocations: 0.4973 MB / 0.702 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.7216, allocations: 61.19 kB / 0.7021 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.7217, allocations: 97.27 kB / 0.7022 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.7229, allocations: 444.7 kB / 0.7026 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.723, allocations: 0 / 0.7026 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.355e-06/0.723, allocations: 0 / 0.7026 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.723, allocations: 0 / 0.7026 GB, free: 3.695 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.001384/0.7244, allocations: 0.6727 MB / 0.7033 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.7245, allocations: 8.875 kB / 0.7033 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.075e-05/0.7245, allocations: 48.27 kB / 0.7033 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.977e-05/0.7247, allocations: 41.19 kB / 0.7034 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.7259, allocations: 443.6 kB / 0.7038 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.7259, allocations: 16.98 kB / 0.7038 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.726, allocations: 20.69 kB / 0.7038 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/0.7266, allocations: 176 kB / 0.704 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.7266, allocations: 0 / 0.704 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.7266, allocations: 9.656 kB / 0.704 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.537e-06/0.7266, allocations: 4.75 kB / 0.704 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005665/0.7272, allocations: 148.6 kB / 0.7042 GB, free: 2.445 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.001738/0.729, allocations: 0.8764 MB / 0.705 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.7294, allocations: 131.6 kB / 0.7051 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003145/0.7298, allocations: 335.6 kB / 0.7055 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.7298, allocations: 38.52 kB / 0.7055 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 2.405e-06/0.7298, allocations: 1.469 kB / 0.7055 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0009452/0.7308, allocations: 210 kB / 0.7057 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.7308, allocations: 51.41 kB / 0.7057 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007016/0.7316, allocations: 377.6 kB / 0.7061 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.7316, allocations: 30.86 kB / 0.7061 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.7318, allocations: 204 kB / 0.7063 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.7319, allocations: 39.52 kB / 0.7064 GB, free: 468 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.7319, allocations: 7.938 kB / 0.7064 GB, free: 460 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.732, allocations: 339.1 kB / 0.7067 GB, free: 120 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.7322, allocations: 42.81 kB / 0.7067 GB, free: 104 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.7325, allocations: 93.47 kB / 0.7068 GB, free: 32 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.7327, allocations: 55.17 kB / 0.7069 GB, free: 8 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.7328, allocations: 0 / 0.7069 GB, free: 8 kB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007469/0.7335, allocations: 188 kB / 0.7071 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.7337, allocations: 180.5 kB / 0.7072 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.7337, allocations: 3.938 kB / 0.7072 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.7337, allocations: 1.156 kB / 0.7072 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.734, allocations: 34.48 kB / 0.7073 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.734, allocations: 1.062 kB / 0.7073 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.7346, allocations: 29.06 kB / 0.7073 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.7346, allocations: 6.406 kB / 0.7073 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.7346, allocations: 7.5 kB / 0.7073 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005499/0.7352, allocations: 117.8 kB / 0.7074 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.7352, allocations: 0 / 0.7074 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.7352, allocations: 2.438 kB / 0.7074 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.7355, allocations: 32.22 kB / 0.7075 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.7355, allocations: 5.062 kB / 0.7075 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/0.736, allocations: 36.81 kB / 0.7075 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.7361, allocations: 3.594 kB / 0.7075 GB, free: 15.6 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.0002842/0.7364, allocations: 219 kB / 0.7077 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.7365, allocations: 39.25 kB / 0.7077 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008325/0.7373, allocations: 226.8 kB / 0.708 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.7374, allocations: 5.328 kB / 0.708 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.7374, allocations: 0.9688 kB / 0.708 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.7374, allocations: 4 kB / 0.708 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.739, allocations: 0.605 MB / 0.7086 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.739, allocations: 1.188 kB / 0.7086 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.7393, allocations: 26.92 kB / 0.7086 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.7393, allocations: 4.984 kB / 0.7086 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.7393, allocations: 5.406 kB / 0.7086 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.7393, allocations: 1.062 kB / 0.7086 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7393, allocations: 1.094 kB / 0.7086 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007496/0.7401, allocations: 305.2 kB / 0.7089 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.7404, allocations: 133 kB / 0.709 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-05/0.7404, allocations: 5.531 kB / 0.709 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000435/0.7409, allocations: 26.38 kB / 0.7091 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.741, allocations: 8.484 kB / 0.7091 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.741, allocations: 12.47 kB / 0.7091 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005137/0.7415, allocations: 263.5 kB / 0.7093 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.484e-06/0.7415, allocations: 1.438 kB / 0.7093 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001046/0.7426, allocations: 204.4 kB / 0.7095 GB, free: 14.08 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.001978/0.7446, allocations: 1.069 MB / 0.7106 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008828/0.7455, allocations: 186.2 kB / 0.7107 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7456, allocations: 0 / 0.7107 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.7459, allocations: 80.17 kB / 0.7108 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.7473, allocations: 139.3 kB / 0.711 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004945/0.7523, allocations: 1.959 MB / 0.7129 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.7528, allocations: 0.8021 MB / 0.7136 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005212/0.7534, allocations: 75.31 kB / 0.7137 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.7536, allocations: 119.6 kB / 0.7138 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of SimCode: time 1.012e-06/0.7537, allocations: 1.156 kB / 0.7138 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/0.8598, allocations: 9.98 MB / 0.7236 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003621/0.8602, allocations: 239.8 kB / 0.7238 GB, free: 4.535 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/3.743, allocations: 0 / 0.7238 GB, free: 4.535 MB / 0.5417 GB