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.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",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.01125/0.01125, allocations: 87.81 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.001437/0.001436, allocations: 171.3 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.299/2.299, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.566/2.566, allocations: 252.8 MB / 0.511 GB, free: 8.324 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007866/0.0007869, allocations: 13.22 kB / 0.6243 GB, free: 28.28 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2721, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.9541/1.226, allocations: 140.6 MB / 0.8654 GB, free: 5.203 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.005804/1.232, allocations: 2.195 MB / 0.8675 GB, free: 5.172 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008467/1.233, allocations: 13.69 kB / 0.8675 GB, free: 5.172 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/1.234, allocations: 240.4 kB / 0.8677 GB, free: 5.172 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.003763/1.238, allocations: 0.6931 MB / 0.8684 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002638/1.241, allocations: 486.5 kB / 0.8689 GB, free: 5.148 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003893/1.245, allocations: 1.637 MB / 0.8705 GB, free: 5.141 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005278/1.25, allocations: 2.315 MB / 0.8727 GB, free: 4.918 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003281/1.254, allocations: 0.851 MB / 0.8736 GB, free: 4.918 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002119/1.256, allocations: 0.6095 MB / 0.8742 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0005525/1.256, allocations: 48.34 kB / 0.8742 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003297/1.26, allocations: 0.622 MB / 0.8748 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001012/1.261, allocations: 302.8 kB / 0.8751 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001347/1.262, allocations: 250.8 kB / 0.8754 GB, free: 20.88 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004726/1.267, allocations: 1.171 MB / 0.8765 GB, free: 20.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.267, allocations: 0.875 kB / 0.8765 GB, free: 20.77 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.368e-06/1.267, allocations: 0 / 0.8765 GB, free: 20.77 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.545e-05/1.267, allocations: 0 / 0.8765 GB, free: 20.77 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.008922/1.276, allocations: 1.513 MB / 0.878 GB, free: 19.92 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.926e-05/1.276, allocations: 9.031 kB / 0.878 GB, free: 19.92 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008871/1.277, allocations: 102.6 kB / 0.8781 GB, free: 19.88 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002994/1.28, allocations: 201 kB / 0.8783 GB, free: 19.82 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005371/1.286, allocations: 0.8708 MB / 0.8791 GB, free: 19.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/1.286, allocations: 46.28 kB / 0.8792 GB, free: 19.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003595/1.286, allocations: 62.78 kB / 0.8792 GB, free: 19.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003169/1.289, allocations: 0.9919 MB / 0.8802 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/1.289, allocations: 4.312 kB / 0.8802 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/1.29, allocations: 24.25 kB / 0.8802 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/1.29, allocations: 14.94 kB / 0.8802 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002932/1.293, allocations: 0.8088 MB / 0.881 GB, free: 19.24 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.01014/1.303, allocations: 4.818 MB / 0.8857 GB, free: 16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004244/1.307, allocations: 4.03 MB / 0.8897 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/1.307, allocations: 19.84 kB / 0.8897 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/1.308, allocations: 340.1 kB / 0.89 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008569/1.309, allocations: 29.28 kB / 0.89 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=35): time 4.779e-06/1.309, allocations: 0 / 0.89 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35): time 0.009063/1.318, allocations: 1.591 MB / 0.8916 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/1.319, allocations: 108.4 kB / 0.8917 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003131/1.322, allocations: 1.169 MB / 0.8928 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002152/1.322, allocations: 37.7 kB / 0.8929 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006944/1.323, allocations: 0.5129 MB / 0.8934 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/1.323, allocations: 134.7 kB / 0.8935 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/1.323, allocations: 8 kB / 0.8935 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001753/1.323, allocations: 328.8 kB / 0.8938 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007376/1.324, allocations: 205.7 kB / 0.894 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/1.325, allocations: 0.5346 MB / 0.8945 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/1.326, allocations: 319.7 kB / 0.8949 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/1.326, allocations: 1.062 kB / 0.8949 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.004513/1.331, allocations: 1.052 MB / 0.8959 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001059/1.332, allocations: 2.138 MB / 0.898 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.37e-05/1.332, allocations: 5.219 kB / 0.898 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002435/1.334, allocations: 334.9 kB / 0.8983 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008093/1.335, allocations: 105.5 kB / 0.8984 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/1.337, allocations: 1.004 MB / 0.8994 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/1.339, allocations: 98.81 kB / 0.8995 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/1.34, allocations: 26.97 kB / 0.8995 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/1.34, allocations: 2.812 kB / 0.8995 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002512/1.342, allocations: 0.7881 MB / 0.9003 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/1.342, allocations: 6.906 kB / 0.9003 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009716/1.343, allocations: 227.3 kB / 0.9005 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/1.344, allocations: 110.8 kB / 0.9006 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/1.35, allocations: 3.002 MB / 0.9035 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/1.352, allocations: 98.95 kB / 0.9036 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/1.352, allocations: 24.91 kB / 0.9036 GB, free: 5.629 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * 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.001192/1.353, allocations: 471.7 kB / 0.9041 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004316/1.354, allocations: 113 kB / 0.9042 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/1.356, allocations: 0.7631 MB / 0.9049 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/1.356, allocations: 7.562 kB / 0.905 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.356, allocations: 3.453 kB / 0.905 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/1.356, allocations: 1.531 kB / 0.905 GB, free: 5.277 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 postOpt removeSimpleEquations (simulation): time 0.005654/1.362, allocations: 2.196 MB / 0.9071 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/1.362, allocations: 2.875 kB / 0.9071 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005906/1.363, allocations: 82.05 kB / 0.9072 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007152/1.364, allocations: 172.2 kB / 0.9073 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.003e-05/1.364, allocations: 11.66 kB / 0.9074 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/1.365, allocations: 0.8681 MB / 0.9082 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.365, allocations: 0 / 0.9082 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/1.367, allocations: 0.9493 MB / 0.9091 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/1.368, allocations: 232.3 kB / 0.9094 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/1.369, allocations: 9.547 kB / 0.9094 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/1.37, allocations: 76.27 kB / 0.9094 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/1.371, allocations: 32.67 kB / 0.9095 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/1.371, allocations: 14.59 kB / 0.9095 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001943/1.373, allocations: 0.8251 MB / 0.9103 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.41e-07/1.373, allocations: 0 / 0.9103 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002785/1.375, allocations: 0.5175 MB / 0.9108 GB, free: 2.465 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.003273/1.379, allocations: 1.979 MB / 0.9127 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003613/1.382, allocations: 1.133 MB / 0.9138 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.382, allocations: 0 / 0.9138 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008685/1.383, allocations: 249 kB / 0.9141 GB, free: 488 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006557/1.39, allocations: 0.6478 MB / 0.9147 GB, free: 228 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02532/1.415, allocations: 10.32 MB / 0.9248 GB, free: 9.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/1.417, allocations: 1.233 MB / 0.926 GB, free: 8.676 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002128/1.419, allocations: 358.2 kB / 0.9263 GB, free: 8.516 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008882/1.42, allocations: 361.6 kB / 0.9267 GB, free: 8.477 MB / 0.698 GB Notification: Performance of SimCode: time 1.342e-06/1.42, allocations: 0 / 0.9267 GB, free: 8.477 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1212/1.541, allocations: 31.33 MB / 0.9573 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003993/1.541, allocations: 293.7 kB / 0.9575 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.458/5, allocations: 0 / 0.9575 GB, free: 1.121 MB / 0.7136 GB