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.PressureDrop.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.PressureDrop,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.01272/0.01272, allocations: 222.1 kB / 15.17 MB, free: 5.992 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.001214/0.001214, allocations: 183.1 kB / 16.06 MB, free: 5.867 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 3.672/3.672, allocations: 389 MB / 405.9 MB, free: 67.68 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.349/4.349, allocations: 472.3 MB / 0.9018 GB, free: 13.44 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001107, allocations: 16 kB / 1.008 GB, free: 0.7812 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6121/0.6133, allocations: 98.72 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1971/0.8104, allocations: 145.9 MB / 1.247 GB, free: 38.22 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003726/0.8142, allocations: 1.683 MB / 1.248 GB, free: 36.54 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003737/0.8147, allocations: 7.938 kB / 1.248 GB, free: 36.54 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007175/0.8154, allocations: 155 kB / 1.248 GB, free: 36.38 MB / 0.6823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001899/0.8173, allocations: 0.5353 MB / 1.249 GB, free: 35.85 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.8192, allocations: 466 kB / 1.249 GB, free: 35.4 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001064/0.8203, allocations: 0.7098 MB / 1.25 GB, free: 34.69 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003316/0.8206, allocations: 137.3 kB / 1.25 GB, free: 34.56 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000534/0.8212, allocations: 234.9 kB / 1.25 GB, free: 34.33 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.8215, allocations: 155.3 kB / 1.251 GB, free: 34.18 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.332e-05/0.8215, allocations: 8 kB / 1.251 GB, free: 34.17 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.8226, allocations: 359.7 kB / 1.251 GB, free: 33.82 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.8227, allocations: 67.78 kB / 1.251 GB, free: 33.75 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.046e-05/0.8228, allocations: 69.58 kB / 1.251 GB, free: 33.68 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.8234, allocations: 288.8 kB / 1.251 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.8234, allocations: 0 / 1.251 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8234, allocations: 0 / 1.251 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.8234, allocations: 0 / 1.251 GB, free: 33.39 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008856/0.8243, allocations: 0.5343 MB / 1.252 GB, free: 32.81 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.8244, allocations: 8.031 kB / 1.252 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.8244, allocations: 42.56 kB / 1.252 GB, free: 32.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004009/0.8248, allocations: 59.66 kB / 1.252 GB, free: 32.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.8253, allocations: 281.5 kB / 1.252 GB, free: 32.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.8253, allocations: 13.06 kB / 1.252 GB, free: 32.37 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.8254, allocations: 12 kB / 1.252 GB, free: 32.36 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.8258, allocations: 173.5 kB / 1.252 GB, free: 32.18 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.8259, allocations: 1.172 kB / 1.252 GB, free: 32.18 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.8259, allocations: 7.938 kB / 1.252 GB, free: 32.17 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.8259, allocations: 4.844 kB / 1.252 GB, free: 32.17 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.8264, allocations: 135.9 kB / 1.253 GB, free: 32.04 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.001173/0.8276, allocations: 0.6418 MB / 1.253 GB, free: 31.33 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.828, allocations: 102.6 kB / 1.253 GB, free: 31.22 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.8282, allocations: 80.88 kB / 1.253 GB, free: 31.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003496/0.8286, allocations: 190.2 kB / 1.254 GB, free: 30.92 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.8286, allocations: 30.56 kB / 1.254 GB, free: 30.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.414e-06/0.8286, allocations: 1.031 kB / 1.254 GB, free: 30.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.00097/0.8296, allocations: 237.2 kB / 1.254 GB, free: 30.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.8296, allocations: 56.34 kB / 1.254 GB, free: 30.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.83, allocations: 267 kB / 1.254 GB, free: 30.31 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.83, allocations: 33.7 kB / 1.254 GB, free: 30.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/0.8301, allocations: 140 kB / 1.254 GB, free: 30.13 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.8301, allocations: 31.56 kB / 1.254 GB, free: 30.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.8302, allocations: 4 kB / 1.254 GB, free: 30.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.294e-05/0.8302, allocations: 330.8 kB / 1.255 GB, free: 29.77 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.8304, allocations: 43.91 kB / 1.255 GB, free: 29.72 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.8307, allocations: 106.5 kB / 1.255 GB, free: 29.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.8309, allocations: 57.89 kB / 1.255 GB, free: 29.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.8309, allocations: 0 / 1.255 GB, free: 29.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005027/0.8315, allocations: 169.2 kB / 1.255 GB, free: 29.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/0.8315, allocations: 116.6 kB / 1.255 GB, free: 29.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8315, allocations: 0 / 1.255 GB, free: 29.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.8316, allocations: 0 / 1.255 GB, free: 29.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.8318, allocations: 29.48 kB / 1.255 GB, free: 29.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.8318, allocations: 0 / 1.255 GB, free: 29.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.8321, allocations: 37.14 kB / 1.255 GB, free: 29.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.8322, allocations: 7.984 kB / 1.255 GB, free: 29.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.8322, allocations: 4 kB / 1.255 GB, free: 29.17 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000441/0.8326, allocations: 115.8 kB / 1.255 GB, free: 29.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.8327, allocations: 4.031 kB / 1.255 GB, free: 29.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-06/0.8327, allocations: 0 / 1.255 GB, free: 29.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.8329, allocations: 24.92 kB / 1.255 GB, free: 29.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.8329, allocations: 4 kB / 1.255 GB, free: 29.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.8332, allocations: 25.58 kB / 1.255 GB, free: 29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.8332, allocations: 15.92 kB / 1.255 GB, free: 28.99 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.0001597/0.8334, allocations: 229 kB / 1.256 GB, free: 28.75 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.735e-05/0.8335, allocations: 19.72 kB / 1.256 GB, free: 28.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005295/0.834, allocations: 173.1 kB / 1.256 GB, free: 28.56 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.834, allocations: 0 / 1.256 GB, free: 28.56 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/0.834, allocations: 4.938 kB / 1.256 GB, free: 28.55 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.834, allocations: 4 kB / 1.256 GB, free: 28.55 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.8352, allocations: 0.5938 MB / 1.256 GB, free: 27.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.8353, allocations: 1.781 kB / 1.256 GB, free: 27.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.8355, allocations: 23.98 kB / 1.256 GB, free: 27.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.8355, allocations: 4 kB / 1.256 GB, free: 27.85 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.8355, allocations: 9.469 kB / 1.256 GB, free: 27.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.8356, allocations: 7.922 kB / 1.256 GB, free: 27.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.8356, allocations: 7.953 kB / 1.256 GB, free: 27.83 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005171/0.8361, allocations: 302.6 kB / 1.257 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.8362, allocations: 112.8 kB / 1.257 GB, free: 27.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.431e-05/0.8363, allocations: 4 kB / 1.257 GB, free: 27.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.8367, allocations: 23.92 kB / 1.257 GB, free: 27.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.8368, allocations: 19.88 kB / 1.257 GB, free: 27.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.8368, allocations: 4 kB / 1.257 GB, free: 27.32 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002269/0.837, allocations: 190 kB / 1.257 GB, free: 27.13 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/0.837, allocations: 1.781 kB / 1.257 GB, free: 27.13 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006348/0.8377, allocations: 103.8 kB / 1.257 GB, free: 27.03 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.001056/0.8387, allocations: 0.8933 MB / 1.258 GB, free: 26.11 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007229/0.8395, allocations: 180.5 kB / 1.258 GB, free: 25.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8395, allocations: 0 / 1.258 GB, free: 25.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.8398, allocations: 68.03 kB / 1.258 GB, free: 25.87 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.8412, allocations: 135 kB / 1.258 GB, free: 25.74 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.8438, allocations: 1.342 MB / 1.26 GB, free: 24.33 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.8441, allocations: 0.7638 MB / 1.26 GB, free: 23.54 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004151/0.8446, allocations: 63.38 kB / 1.26 GB, free: 23.48 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.8447, allocations: 75.41 kB / 1.261 GB, free: 23.41 MB / 0.6823 GB Notification: Performance of SimCode: time 1.092e-06/0.8447, allocations: 0 / 1.261 GB, free: 23.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03574/0.8805, allocations: 6.615 MB / 1.267 GB, free: 17.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003305/0.8809, allocations: 233.7 kB / 1.267 GB, free: 16.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/3.592, allocations: 7.875 kB / 1.267 GB, free: 16.89 MB / 0.6823 GB