Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01316/0.01316, allocations: 89.48 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.002043/0.002044, allocations: 168.1 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.274/2.274, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.432/2.432, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007209/0.0007211, allocations: 15.44 kB / 0.6243 GB, free: 21.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2295, allocations: 106.2 MB / 0.7281 GB, free: 8.133 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02096/0.2505, allocations: 12.64 MB / 0.7404 GB, free: 11.45 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.007059/0.2576, allocations: 3.276 MB / 0.7436 GB, free: 8.164 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005936/0.2583, allocations: 15.94 kB / 0.7436 GB, free: 8.148 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.000867/0.2592, allocations: 179 kB / 0.7438 GB, free: 7.973 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00273/0.2619, allocations: 0.6505 MB / 0.7444 GB, free: 7.32 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.2643, allocations: 0.5067 MB / 0.7449 GB, free: 6.812 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002029/0.2663, allocations: 0.7378 MB / 0.7456 GB, free: 6.074 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005601/0.2669, allocations: 220.7 kB / 0.7459 GB, free: 5.855 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009659/0.2679, allocations: 334.9 kB / 0.7462 GB, free: 5.527 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003607/0.2683, allocations: 179.2 kB / 0.7463 GB, free: 5.352 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 5.564e-05/0.2684, allocations: 12 kB / 0.7464 GB, free: 5.34 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.2699, allocations: 0.5031 MB / 0.7468 GB, free: 4.836 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.2701, allocations: 55.75 kB / 0.7469 GB, free: 4.781 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.2703, allocations: 97.45 kB / 0.747 GB, free: 4.68 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.2714, allocations: 447.3 kB / 0.7474 GB, free: 4.242 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2714, allocations: 0 / 0.7474 GB, free: 4.242 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2714, allocations: 3.938 kB / 0.7474 GB, free: 4.238 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.2714, allocations: 0 / 0.7474 GB, free: 4.238 MB / 0.573 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.001472/0.2729, allocations: 0.6695 MB / 0.7481 GB, free: 3.516 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.273, allocations: 12.03 kB / 0.7481 GB, free: 3.504 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.889e-05/0.2731, allocations: 54.55 kB / 0.7481 GB, free: 3.441 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.2732, allocations: 43.48 kB / 0.7482 GB, free: 3.398 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.2745, allocations: 429.2 kB / 0.7486 GB, free: 2.938 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.2745, allocations: 12.33 kB / 0.7486 GB, free: 2.926 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.479e-05/0.2746, allocations: 28 kB / 0.7486 GB, free: 2.898 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005817/0.2752, allocations: 184.1 kB / 0.7488 GB, free: 2.715 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.2752, allocations: 0 / 0.7488 GB, free: 2.715 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.2752, allocations: 8 kB / 0.7488 GB, free: 2.707 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.2753, allocations: 4 kB / 0.7488 GB, free: 2.703 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005741/0.2759, allocations: 152.1 kB / 0.749 GB, free: 2.555 MB / 0.573 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.001792/0.2777, allocations: 0.8762 MB / 0.7498 GB, free: 1.578 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005133/0.2782, allocations: 130.6 kB / 0.7499 GB, free: 1.441 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003777/0.2786, allocations: 332.4 kB / 0.7503 GB, free: 1.043 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.2786, allocations: 46.5 kB / 0.7503 GB, free: 0.9883 MB / 0.573 GB Notification: Performance of pre-optimization done (n=12): time 3.336e-06/0.2787, allocations: 3.938 kB / 0.7503 GB, free: 0.9844 MB / 0.573 GB Notification: Performance of matching and sorting (n=12): time 0.0009794/0.2796, allocations: 233.1 kB / 0.7505 GB, free: 0.75 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.2797, allocations: 55.41 kB / 0.7506 GB, free: 0.6836 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006361/0.2804, allocations: 369.7 kB / 0.7509 GB, free: 324 kB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.2804, allocations: 25.92 kB / 0.751 GB, free: 292 kB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.2806, allocations: 200.2 kB / 0.7511 GB, free: 84 kB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 6.001e-05/0.2807, allocations: 39.41 kB / 0.7512 GB, free: 44 kB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.2807, allocations: 4 kB / 0.7512 GB, free: 40 kB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.2809, allocations: 342.8 kB / 0.7515 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.2811, allocations: 47.97 kB / 0.7516 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.2815, allocations: 100.7 kB / 0.7517 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.2818, allocations: 59.91 kB / 0.7517 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2818, allocations: 0 / 0.7517 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006737/0.2825, allocations: 185.2 kB / 0.7519 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.88e-05/0.2826, allocations: 178 kB / 0.7521 GB, free: 15.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.2826, allocations: 7.984 kB / 0.7521 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2826, allocations: 0 / 0.7521 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.2829, allocations: 35.97 kB / 0.7521 GB, free: 15.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2829, allocations: 4 kB / 0.7521 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004651/0.2834, allocations: 31.81 kB / 0.7521 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.2834, allocations: 4 kB / 0.7521 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.2835, allocations: 4 kB / 0.7521 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005237/0.284, allocations: 131.8 kB / 0.7523 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.284, allocations: 4 kB / 0.7523 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.908e-06/0.284, allocations: 0 / 0.7523 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.2843, allocations: 27.94 kB / 0.7523 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.2843, allocations: 4 kB / 0.7523 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004433/0.2847, allocations: 39.81 kB / 0.7523 GB, free: 14.81 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.2848, allocations: 4 kB / 0.7523 GB, free: 14.81 MB / 0.5886 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.0002715/0.285, allocations: 217.1 kB / 0.7526 GB, free: 14.59 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.365e-05/0.2851, allocations: 31.62 kB / 0.7526 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000836/0.286, allocations: 248.7 kB / 0.7528 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.286, allocations: 3.953 kB / 0.7528 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.286, allocations: 0 / 0.7528 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2861, allocations: 3.984 kB / 0.7528 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.2875, allocations: 0.6528 MB / 0.7535 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.2876, allocations: 7.984 kB / 0.7535 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.2878, allocations: 32.03 kB / 0.7535 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/0.2878, allocations: 0 / 0.7535 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.2878, allocations: 4 kB / 0.7535 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.2878, allocations: 0 / 0.7535 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.2879, allocations: 4 kB / 0.7535 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007454/0.2886, allocations: 358.7 kB / 0.7539 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.2888, allocations: 140.5 kB / 0.754 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.615e-05/0.2889, allocations: 4 kB / 0.754 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/0.2894, allocations: 27.97 kB / 0.754 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.2895, allocations: 7.984 kB / 0.754 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.2895, allocations: 12.02 kB / 0.754 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004674/0.29, allocations: 271.1 kB / 0.7543 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.51e-07/0.29, allocations: 0 / 0.7543 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0009077/0.2909, allocations: 199.6 kB / 0.7545 GB, free: 12.47 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (14): * Single equations (assignments): 12 * 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.00188/0.2928, allocations: 1.249 MB / 0.7557 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0009343/0.2938, allocations: 213.9 kB / 0.7559 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.2938, allocations: 480 / 0.7559 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.2942, allocations: 79.89 kB / 0.756 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.2955, allocations: 153.4 kB / 0.7561 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0065/0.302, allocations: 1.982 MB / 0.7581 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007184/0.3028, allocations: 0.8038 MB / 0.7589 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0007342/0.3036, allocations: 79.05 kB / 0.7589 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/0.304, allocations: 115.4 kB / 0.759 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of SimCode: time 1.412e-06/0.304, allocations: 0 / 0.759 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04356/0.3476, allocations: 9.959 MB / 0.7688 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003631/0.348, allocations: 230.3 kB / 0.769 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.919/3.267, allocations: 0 / 0.769 GB, free: 13.69 MB / 0.6042 GB