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.01528/0.01528, allocations: 111.5 kB / 15.06 MB, free: 5.934 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.001882/0.001883, allocations: 183.7 kB / 15.94 MB, free: 5.898 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.284/2.284, allocations: 194.6 MB / 211.3 MB, free: 11.21 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.242/2.242, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005034/0.0005036, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6621/0.6626, allocations: 98.72 MB / 0.6834 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.834, allocations: 385.8 MB / 1.06 GB, free: 63.06 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/1.834, allocations: 91.64 kB / 1.06 GB, free: 63.01 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.5434/2.378, allocations: 161.8 MB / 1.218 GB, free: 6.297 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.134e-06/2.378, allocations: 0 / 1.218 GB, free: 6.297 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.073e-05/2.378, allocations: 11.98 kB / 1.218 GB, free: 6.285 MB / 0.823 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.001987/2.38, allocations: 0.7552 MB / 1.219 GB, free: 5.477 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/2.38, allocations: 12.03 kB / 1.219 GB, free: 5.465 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.88e-05/2.38, allocations: 50.55 kB / 1.219 GB, free: 5.406 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/2.38, allocations: 43.53 kB / 1.219 GB, free: 5.363 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.73/3.11, allocations: 13.25 MB / 1.232 GB, free: 242.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/3.11, allocations: 12.3 kB / 1.232 GB, free: 242.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.613e-05/3.11, allocations: 22.56 kB / 1.232 GB, free: 242.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005929/3.111, allocations: 171.3 kB / 1.232 GB, free: 242.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/3.111, allocations: 1.484 kB / 1.232 GB, free: 242.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/3.111, allocations: 11.27 kB / 1.232 GB, free: 242.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/3.111, allocations: 7.953 kB / 1.232 GB, free: 242.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005664/3.112, allocations: 142.1 kB / 1.232 GB, free: 242.6 MB / 0.823 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.001717/3.113, allocations: 0.8261 MB / 1.233 GB, free: 242.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/3.114, allocations: 115.3 kB / 1.233 GB, free: 242 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003118/3.114, allocations: 335.6 kB / 1.234 GB, free: 241.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/3.114, allocations: 31.56 kB / 1.234 GB, free: 241.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 3.256e-06/3.114, allocations: 1.25 kB / 1.234 GB, free: 241.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0009434/3.115, allocations: 202.3 kB / 1.234 GB, free: 241.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/3.115, allocations: 52.94 kB / 1.234 GB, free: 241.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005506/3.116, allocations: 296.6 kB / 1.234 GB, free: 241.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/3.116, allocations: 27.8 kB / 1.234 GB, free: 241.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/3.116, allocations: 201.5 kB / 1.234 GB, free: 241.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/3.116, allocations: 34.34 kB / 1.235 GB, free: 241.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/3.116, allocations: 0.7188 kB / 1.235 GB, free: 241.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001044/3.116, allocations: 345.1 kB / 1.235 GB, free: 241 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/3.117, allocations: 40.08 kB / 1.235 GB, free: 241 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/3.117, allocations: 105.1 kB / 1.235 GB, free: 240.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/3.117, allocations: 48.86 kB / 1.235 GB, free: 240.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/3.117, allocations: 0.5312 kB / 1.235 GB, free: 240.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000659/3.118, allocations: 181.7 kB / 1.235 GB, free: 240.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.653e-05/3.118, allocations: 184 kB / 1.235 GB, free: 240.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/3.118, allocations: 0.6562 kB / 1.235 GB, free: 240.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/3.118, allocations: 1.438 kB / 1.235 GB, free: 240.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/3.118, allocations: 31.52 kB / 1.235 GB, free: 240.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/3.118, allocations: 1.125 kB / 1.235 GB, free: 240.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/3.119, allocations: 39.31 kB / 1.235 GB, free: 240.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/3.119, allocations: 5.875 kB / 1.235 GB, free: 240.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/3.119, allocations: 4.688 kB / 1.235 GB, free: 240.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004771/3.119, allocations: 114.9 kB / 1.236 GB, free: 240.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/3.119, allocations: 0.9688 kB / 1.236 GB, free: 240.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/3.119, allocations: 1.719 kB / 1.236 GB, free: 240.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/3.119, allocations: 32.36 kB / 1.236 GB, free: 240.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/3.119, allocations: 4.312 kB / 1.236 GB, free: 240.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/3.12, allocations: 26.73 kB / 1.236 GB, free: 240.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/3.12, allocations: 7.953 kB / 1.236 GB, free: 240.7 MB / 0.823 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.0002471/3.12, allocations: 225.2 kB / 1.236 GB, free: 240.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.946e-05/3.12, allocations: 41.27 kB / 1.236 GB, free: 240.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007399/3.121, allocations: 208.7 kB / 1.236 GB, free: 240.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/3.121, allocations: 2.25 kB / 1.236 GB, free: 240.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/3.121, allocations: 1.312 kB / 1.236 GB, free: 240.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/3.121, allocations: 0.6094 kB / 1.236 GB, free: 240.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/3.122, allocations: 0.5673 MB / 1.237 GB, free: 240.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/3.122, allocations: 3 kB / 1.237 GB, free: 240.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/3.122, allocations: 25.59 kB / 1.237 GB, free: 240.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/3.122, allocations: 4.562 kB / 1.237 GB, free: 240.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/3.122, allocations: 4.797 kB / 1.237 GB, free: 240.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/3.122, allocations: 1.922 kB / 1.237 GB, free: 240.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/3.123, allocations: 1.094 kB / 1.237 GB, free: 240.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00061/3.123, allocations: 303.6 kB / 1.237 GB, free: 239.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/3.123, allocations: 118.3 kB / 1.237 GB, free: 239.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/3.123, allocations: 2.047 kB / 1.237 GB, free: 239.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/3.124, allocations: 27.78 kB / 1.237 GB, free: 239.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/3.124, allocations: 11.69 kB / 1.237 GB, free: 239.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/3.124, allocations: 8.109 kB / 1.237 GB, free: 239.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003592/3.124, allocations: 240.6 kB / 1.237 GB, free: 239.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.81e-07/3.124, allocations: 0 / 1.237 GB, free: 239.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008844/3.125, allocations: 161.3 kB / 1.238 GB, free: 239.7 MB / 0.823 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.001537/3.127, allocations: 1.095 MB / 1.239 GB, free: 239 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0008187/3.127, allocations: 186.5 kB / 1.239 GB, free: 239 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/3.127, allocations: 0 / 1.239 GB, free: 239 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000271/3.128, allocations: 67.25 kB / 1.239 GB, free: 239 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/3.129, allocations: 146.4 kB / 1.239 GB, free: 239 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004223/3.133, allocations: 1.824 MB / 1.241 GB, free: 238.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/3.134, allocations: 0.8037 MB / 1.242 GB, free: 237.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0005451/3.134, allocations: 62.64 kB / 1.242 GB, free: 237.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/3.135, allocations: 118.3 kB / 1.242 GB, free: 237.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.703e-06/3.135, allocations: 0 / 1.242 GB, free: 237.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04124/3.176, allocations: 10.15 MB / 1.252 GB, free: 237.2 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/3.176, allocations: 240.7 kB / 1.252 GB, free: 237 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.855/6.032, allocations: 0 / 1.252 GB, free: 237 MB / 0.823 GB