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.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.01016/0.01017, allocations: 88.36 kB / 15.04 MB, free: 6.059 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.001172/0.001171, allocations: 170.1 kB / 15.92 MB, free: 5.996 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.107/2.107, 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.517/2.517, allocations: 252.8 MB / 0.511 GB, free: 8.332 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005009/0.000501, allocations: 13.97 kB / 0.6243 GB, free: 28.31 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.251, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.9286/1.18, allocations: 135.8 MB / 0.8607 GB, free: 4.887 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.007274/1.187, allocations: 3.157 MB / 0.8638 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006725/1.188, allocations: 11.19 kB / 0.8638 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001125/1.189, allocations: 185.8 kB / 0.864 GB, free: 4.828 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.002825/1.192, allocations: 0.5058 MB / 0.8645 GB, free: 4.82 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002673/1.194, allocations: 488.9 kB / 0.8649 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003266/1.198, allocations: 1.497 MB / 0.8664 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/1.2, allocations: 0.7064 MB / 0.8671 GB, free: 4.703 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002482/1.202, allocations: 0.7021 MB / 0.8678 GB, free: 4.699 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/1.204, allocations: 494.7 kB / 0.8682 GB, free: 4.695 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002952/1.204, allocations: 35.16 kB / 0.8683 GB, free: 4.695 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/1.207, allocations: 413.4 kB / 0.8687 GB, free: 4.695 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0008413/1.207, allocations: 254.6 kB / 0.8689 GB, free: 4.695 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001048/1.209, allocations: 231.7 kB / 0.8691 GB, free: 20.66 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002877/1.211, allocations: 0.9753 MB / 0.8701 GB, free: 20.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.212, allocations: 0 / 0.8701 GB, free: 20.57 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.547e-06/1.212, allocations: 0 / 0.8701 GB, free: 20.57 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.212e-05/1.212, allocations: 1.25 kB / 0.8701 GB, free: 20.57 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.004949/1.217, allocations: 1.286 MB / 0.8713 GB, free: 19.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/1.217, allocations: 9.297 kB / 0.8713 GB, free: 19.77 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004888/1.217, allocations: 94.72 kB / 0.8714 GB, free: 19.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/1.219, allocations: 191.8 kB / 0.8716 GB, free: 19.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003674/1.222, allocations: 0.7975 MB / 0.8724 GB, free: 19.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/1.223, allocations: 45.34 kB / 0.8724 GB, free: 19.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002763/1.223, allocations: 57.09 kB / 0.8725 GB, free: 19.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/1.225, allocations: 0.7902 MB / 0.8733 GB, free: 19.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.491e-05/1.226, allocations: 5.25 kB / 0.8733 GB, free: 19.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.381e-05/1.226, allocations: 27.5 kB / 0.8733 GB, free: 19.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/1.226, allocations: 14.03 kB / 0.8733 GB, free: 19.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/1.228, allocations: 0.537 MB / 0.8738 GB, free: 19.09 MB / 0.6823 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.009138/1.237, allocations: 4.605 MB / 0.8783 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/1.239, allocations: 439.9 kB / 0.8787 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/1.239, allocations: 16.27 kB / 0.8788 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/1.24, allocations: 309.6 kB / 0.8791 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 3.597e-06/1.24, allocations: 0 / 0.8791 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.007781/1.248, allocations: 1.327 MB / 0.8804 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/1.248, allocations: 113.5 kB / 0.8805 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/1.251, allocations: 1.113 MB / 0.8816 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002383/1.251, allocations: 34.33 kB / 0.8816 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006506/1.252, allocations: 0.4894 MB / 0.8821 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/1.252, allocations: 111.1 kB / 0.8822 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/1.252, allocations: 9.938 kB / 0.8822 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.252, allocations: 322.8 kB / 0.8825 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006807/1.253, allocations: 188.8 kB / 0.8827 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009166/1.254, allocations: 0.4965 MB / 0.8831 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008857/1.255, allocations: 297.7 kB / 0.8834 GB, free: 14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/1.255, allocations: 6.094 kB / 0.8834 GB, free: 14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.004435/1.259, allocations: 0.9823 MB / 0.8844 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001025/1.26, allocations: 2.127 MB / 0.8865 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.053e-05/1.261, allocations: 5.688 kB / 0.8865 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002678/1.263, allocations: 345.8 kB / 0.8868 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004948/1.264, allocations: 63.81 kB / 0.8869 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/1.266, allocations: 1.011 MB / 0.8879 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/1.268, allocations: 113.1 kB / 0.888 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002179/1.268, allocations: 22.66 kB / 0.888 GB, free: 11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/1.268, allocations: 5.266 kB / 0.888 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002655/1.271, allocations: 0.7418 MB / 0.8887 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/1.271, allocations: 5.875 kB / 0.8887 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/1.272, allocations: 209.8 kB / 0.8889 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/1.272, allocations: 66.12 kB / 0.889 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006801/1.279, allocations: 3.178 MB / 0.8921 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/1.281, allocations: 94.08 kB / 0.8922 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/1.281, allocations: 22.16 kB / 0.8922 GB, free: 9.371 MB / 0.6823 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 (34): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.001268/1.283, allocations: 470 kB / 0.8926 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004521/1.283, allocations: 100.9 kB / 0.8927 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/1.285, allocations: 0.6922 MB / 0.8934 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/1.285, allocations: 7.531 kB / 0.8934 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.285, allocations: 1.5 kB / 0.8934 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/1.285, allocations: 7.094 kB / 0.8934 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/1.289, allocations: 1.1 MB / 0.8945 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/1.289, allocations: 1.5 kB / 0.8945 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/1.289, allocations: 32.94 kB / 0.8945 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009445/1.29, allocations: 229.3 kB / 0.8948 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-05/1.29, allocations: 11.53 kB / 0.8948 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/1.292, allocations: 0.98 MB / 0.8957 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.292, allocations: 2.562 kB / 0.8957 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/1.294, allocations: 0.8537 MB / 0.8966 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/1.295, allocations: 221.6 kB / 0.8968 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002927/1.296, allocations: 6.625 kB / 0.8968 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/1.297, allocations: 61.38 kB / 0.8968 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/1.297, allocations: 31.84 kB / 0.8969 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/1.297, allocations: 14.58 kB / 0.8969 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001951/1.299, allocations: 0.7932 MB / 0.8977 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.72e-07/1.299, allocations: 0 / 0.8977 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002726/1.302, allocations: 438.3 kB / 0.8981 GB, free: 7.363 MB / 0.6823 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 (12): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.003348/1.305, allocations: 1.859 MB / 0.8999 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003551/1.309, allocations: 1.065 MB / 0.9009 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.309, allocations: 1.625 kB / 0.9009 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009877/1.31, allocations: 243.2 kB / 0.9012 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004041/1.314, allocations: 455.5 kB / 0.9016 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0253/1.339, allocations: 9.886 MB / 0.9113 GB, free: 15.99 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/1.341, allocations: 1.208 MB / 0.9124 GB, free: 15.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001856/1.343, allocations: 319.2 kB / 0.9127 GB, free: 14.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008145/1.343, allocations: 307.7 kB / 0.913 GB, free: 14.91 MB / 0.698 GB Notification: Performance of SimCode: time 1.934e-06/1.343, allocations: 4 kB / 0.913 GB, free: 14.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09308/1.437, allocations: 28 MB / 0.9404 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004305/1.437, allocations: 278.9 kB / 0.9406 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.672/5.109, allocations: 0 / 0.9406 GB, free: 14.26 MB / 0.7136 GB