Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.01062/0.01063, allocations: 90.97 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.001447/0.001447, allocations: 171.4 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.201/2.201, allocations: 205.5 MB / 222.2 MB, free: 13.73 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.388/2.388, allocations: 252.8 MB / 0.511 GB, free: 8.367 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007144/0.0007145, allocations: 11.59 kB / 0.6243 GB, free: 28.33 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2981, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 1.018/1.316, allocations: 135.8 MB / 0.8607 GB, free: 5.012 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.004851/1.321, allocations: 1.717 MB / 0.8624 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006925/1.321, allocations: 10.44 kB / 0.8624 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/1.323, allocations: 182.9 kB / 0.8625 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.002976/1.326, allocations: 0.502 MB / 0.863 GB, free: 4.977 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002472/1.328, allocations: 448.2 kB / 0.8635 GB, free: 4.961 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003196/1.331, allocations: 1.487 MB / 0.8649 GB, free: 4.957 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/1.333, allocations: 0.7075 MB / 0.8656 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/1.336, allocations: 0.6975 MB / 0.8663 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/1.337, allocations: 491.2 kB / 0.8668 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002313/1.337, allocations: 38.5 kB / 0.8668 GB, free: 4.836 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/1.34, allocations: 415.4 kB / 0.8672 GB, free: 4.836 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0007825/1.34, allocations: 257 kB / 0.8674 GB, free: 4.836 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001056/1.341, allocations: 231.8 kB / 0.8677 GB, free: 20.8 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.002623/1.344, allocations: 0.9681 MB / 0.8686 GB, free: 20.71 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.344, allocations: 0 / 0.8686 GB, free: 20.71 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.165e-06/1.344, allocations: 0 / 0.8686 GB, free: 20.71 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 5.209e-05/1.344, allocations: 0 / 0.8686 GB, free: 20.71 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004456/1.349, allocations: 1.29 MB / 0.8699 GB, free: 19.91 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/1.349, allocations: 9.766 kB / 0.8699 GB, free: 19.91 MB / 0.6824 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004175/1.349, allocations: 95.39 kB / 0.87 GB, free: 19.87 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/1.351, allocations: 181.1 kB / 0.8701 GB, free: 19.81 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003497/1.354, allocations: 0.7993 MB / 0.8709 GB, free: 19.48 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/1.354, allocations: 45.31 kB / 0.871 GB, free: 19.48 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002855/1.355, allocations: 62.05 kB / 0.871 GB, free: 19.48 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002677/1.357, allocations: 0.7959 MB / 0.8718 GB, free: 19.24 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/1.358, allocations: 4.438 kB / 0.8718 GB, free: 19.24 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.402e-05/1.358, allocations: 22.12 kB / 0.8718 GB, free: 19.24 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/1.358, allocations: 12.75 kB / 0.8718 GB, free: 19.24 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/1.36, allocations: 0.5438 MB / 0.8724 GB, free: 19.23 MB / 0.6824 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.00803/1.368, allocations: 4.6 MB / 0.8769 GB, free: 15.78 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/1.369, allocations: 439.8 kB / 0.8773 GB, free: 15.75 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 9.492e-05/1.37, allocations: 16.64 kB / 0.8773 GB, free: 15.75 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009418/1.371, allocations: 297.6 kB / 0.8776 GB, free: 15.67 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=31): time 4.618e-06/1.371, allocations: 4.531 kB / 0.8776 GB, free: 15.67 MB / 0.6824 GB Notification: Performance of matching and sorting (n=31): time 0.00289/1.374, allocations: 0.645 MB / 0.8782 GB, free: 15.58 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.498e-05/1.374, allocations: 110.5 kB / 0.8783 GB, free: 15.45 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003087/1.377, allocations: 1.111 MB / 0.8794 GB, free: 15.3 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.0002053/1.377, allocations: 37.86 kB / 0.8794 GB, free: 15.27 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006743/1.378, allocations: 496.8 kB / 0.8799 GB, free: 15.09 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/1.378, allocations: 107.5 kB / 0.88 GB, free: 15.03 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/1.378, allocations: 7.438 kB / 0.88 GB, free: 15.03 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.378, allocations: 324.8 kB / 0.8803 GB, free: 14.72 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006995/1.379, allocations: 187.9 kB / 0.8805 GB, free: 14.72 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009607/1.38, allocations: 0.4944 MB / 0.881 GB, free: 14.36 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009353/1.381, allocations: 299.8 kB / 0.8813 GB, free: 14.31 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/1.381, allocations: 1.344 kB / 0.8813 GB, free: 14.31 MB / 0.6824 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002569/1.384, allocations: 0.6786 MB / 0.8819 GB, free: 14.19 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008803/1.384, allocations: 2.137 MB / 0.884 GB, free: 11.95 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/1.385, allocations: 7.469 kB / 0.884 GB, free: 11.95 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-05/1.385, allocations: 8.469 kB / 0.884 GB, free: 11.95 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/1.386, allocations: 122.1 kB / 0.8842 GB, free: 11.95 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/1.386, allocations: 9.766 kB / 0.8842 GB, free: 11.95 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/1.387, allocations: 101.3 kB / 0.8843 GB, free: 11.92 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/1.388, allocations: 27.48 kB / 0.8843 GB, free: 11.91 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.388, allocations: 4.062 kB / 0.8843 GB, free: 11.91 MB / 0.6824 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001683/1.389, allocations: 0.5415 MB / 0.8848 GB, free: 11.87 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.389, allocations: 6.344 kB / 0.8848 GB, free: 11.87 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.389, allocations: 12.59 kB / 0.8848 GB, free: 11.87 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008094/1.39, allocations: 110.5 kB / 0.8849 GB, free: 11.87 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/1.39, allocations: 7.719 kB / 0.885 GB, free: 11.87 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/1.392, allocations: 105.2 kB / 0.8851 GB, free: 11.84 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/1.392, allocations: 26.53 kB / 0.8851 GB, free: 11.83 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * 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.001181/1.393, allocations: 473.3 kB / 0.8855 GB, free: 11.64 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004229/1.394, allocations: 98 kB / 0.8856 GB, free: 11.59 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/1.395, allocations: 482.7 kB / 0.8861 GB, free: 11.53 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/1.395, allocations: 3.344 kB / 0.8861 GB, free: 11.53 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/1.395, allocations: 4.938 kB / 0.8861 GB, free: 11.53 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/1.396, allocations: 8.016 kB / 0.8861 GB, free: 11.52 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003202/1.399, allocations: 1.097 MB / 0.8872 GB, free: 11.09 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/1.399, allocations: 2.094 kB / 0.8872 GB, free: 11.09 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006083/1.399, allocations: 72.73 kB / 0.8872 GB, free: 11.08 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.78e-05/1.399, allocations: 3.031 kB / 0.8872 GB, free: 11.08 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/1.4, allocations: 11.56 kB / 0.8873 GB, free: 11.08 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/1.4, allocations: 6.375 kB / 0.8873 GB, free: 11.08 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.4, allocations: 2.188 kB / 0.8873 GB, free: 11.08 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/1.401, allocations: 0.6264 MB / 0.8879 GB, free: 10.78 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008712/1.402, allocations: 222.9 kB / 0.8881 GB, free: 10.63 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003555/1.403, allocations: 7.969 kB / 0.8881 GB, free: 10.63 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/1.404, allocations: 48.58 kB / 0.8881 GB, free: 10.63 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/1.404, allocations: 32.44 kB / 0.8882 GB, free: 10.63 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/1.404, allocations: 9.125 kB / 0.8882 GB, free: 10.63 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.002116/1.406, allocations: 0.7851 MB / 0.889 GB, free: 10.52 MB / 0.6824 GB Notification: Performance of sort global known variables: time 8.72e-07/1.406, allocations: 1.859 kB / 0.889 GB, free: 10.52 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.002477/1.409, allocations: 412.6 kB / 0.8893 GB, free: 10.48 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002973/1.412, allocations: 1.728 MB / 0.891 GB, free: 9.172 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.002619/1.415, allocations: 0.8026 MB / 0.8918 GB, free: 9.035 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.415, allocations: 8 kB / 0.8918 GB, free: 9.027 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0007295/1.415, allocations: 206.9 kB / 0.892 GB, free: 9.027 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004135/1.42, allocations: 449.5 kB / 0.8925 GB, free: 8.988 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02238/1.442, allocations: 9.557 MB / 0.9018 GB, free: 3.566 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/1.443, allocations: 1.195 MB / 0.903 GB, free: 2.852 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.002188/1.445, allocations: 419.9 kB / 0.9034 GB, free: 2.801 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000924/1.446, allocations: 322.9 kB / 0.9037 GB, free: 2.793 MB / 0.6824 GB Notification: Performance of SimCode: time 1.603e-06/1.446, allocations: 2.375 kB / 0.9037 GB, free: 2.793 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07903/1.525, allocations: 25.55 MB / 0.9286 GB, free: 7.527 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003156/1.526, allocations: 255 kB / 0.9289 GB, free: 7.188 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.624/5.15, allocations: 0 / 0.9289 GB, free: 7.188 MB / 0.698 GB