Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.Validation.LosslessPipe,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",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.0126/0.01261, allocations: 222.2 kB / 15.17 MB, free: 5.922 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.001222/0.001222, allocations: 175.8 kB / 16.06 MB, free: 5.828 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.949/3.949, allocations: 389.1 MB / 405.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.054/4.054, allocations: 472.3 MB / 0.9018 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006441/0.0006444, allocations: 12.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1752, allocations: 98.72 MB / 1.104 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.7594/0.9346, allocations: 145.8 MB / 1.246 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002513/0.9372, allocations: 1.019 MB / 1.247 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002881/0.9375, allocations: 12.44 kB / 1.247 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007466/0.9383, allocations: 158.8 kB / 1.248 GB, free: 0.8555 MB / 0.6198 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.001777/0.9401, allocations: 467.8 kB / 1.248 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.9415, allocations: 298 kB / 1.248 GB, free: 492 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.9425, allocations: 0.6634 MB / 1.249 GB, free: 224 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.9429, allocations: 143.3 kB / 1.249 GB, free: 172 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008289/0.9438, allocations: 272.9 kB / 1.249 GB, free: 56 kB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003707/0.9442, allocations: 164.4 kB / 1.25 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.9442, allocations: 7.875 kB / 1.25 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000876/0.9451, allocations: 227.8 kB / 1.25 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.9453, allocations: 76.42 kB / 1.25 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.9454, allocations: 66.7 kB / 1.25 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006122/0.946, allocations: 267.9 kB / 1.25 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.946, allocations: 0 / 1.25 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/0.946, allocations: 0 / 1.25 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.9461, allocations: 0 / 1.25 GB, free: 15.79 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002284/0.9484, allocations: 0.5567 MB / 1.251 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.9484, allocations: 9.469 kB / 1.251 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.9485, allocations: 46.91 kB / 1.251 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003733/0.9489, allocations: 53.19 kB / 1.251 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005253/0.9495, allocations: 268.9 kB / 1.251 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.9495, allocations: 9.578 kB / 1.251 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.9496, allocations: 25.06 kB / 1.251 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008448/0.9504, allocations: 245.9 kB / 1.251 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.9505, allocations: 0 / 1.251 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.9505, allocations: 4 kB / 1.251 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/0.9506, allocations: 10.25 kB / 1.251 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.9517, allocations: 263.9 kB / 1.252 GB, free: 14.85 MB / 0.6355 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.002019/0.9537, allocations: 0.8491 MB / 1.252 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.9543, allocations: 155 kB / 1.253 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/0.9547, allocations: 127.9 kB / 1.253 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003889/0.9551, allocations: 187.9 kB / 1.253 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.9552, allocations: 34.31 kB / 1.253 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 3.025e-06/0.9552, allocations: 0 / 1.253 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.001405/0.9566, allocations: 326.2 kB / 1.253 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.9567, allocations: 55.41 kB / 1.253 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.957, allocations: 242.2 kB / 1.254 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.9571, allocations: 25.7 kB / 1.254 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.9572, allocations: 139.2 kB / 1.254 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.681e-05/0.9573, allocations: 50.39 kB / 1.254 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/0.9573, allocations: 6.656 kB / 1.254 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.9575, allocations: 331.3 kB / 1.254 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.9578, allocations: 79.64 kB / 1.254 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.9582, allocations: 105.3 kB / 1.254 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.9586, allocations: 83.84 kB / 1.254 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.9586, allocations: 0 / 1.254 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008149/0.9594, allocations: 221.7 kB / 1.255 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.9594, allocations: 6.188 kB / 1.255 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.9595, allocations: 6.031 kB / 1.255 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.9595, allocations: 3.219 kB / 1.255 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.9598, allocations: 34.41 kB / 1.255 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.9599, allocations: 4.734 kB / 1.255 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.9602, allocations: 32.95 kB / 1.255 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.9603, allocations: 5.125 kB / 1.255 GB, free: 12.86 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0002059/0.9605, allocations: 146.5 kB / 1.255 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.9605, allocations: 20.12 kB / 1.255 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.87e-05/0.9607, allocations: 31.34 kB / 1.255 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.9607, allocations: 3.469 kB / 1.255 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.9607, allocations: 6.109 kB / 1.255 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.9607, allocations: 0 / 1.255 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.9624, allocations: 0.6901 MB / 1.255 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.9624, allocations: 4.031 kB / 1.255 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.9627, allocations: 37.81 kB / 1.256 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.9628, allocations: 2.875 kB / 1.256 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.9628, allocations: 3.094 kB / 1.256 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.9628, allocations: 3.062 kB / 1.256 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9628, allocations: 0 / 1.256 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009106/0.9637, allocations: 362.2 kB / 1.256 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.9639, allocations: 118.3 kB / 1.256 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/0.964, allocations: 6.938 kB / 1.256 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.9643, allocations: 13.12 kB / 1.256 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.542e-05/0.9644, allocations: 26.66 kB / 1.256 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.9645, allocations: 6.156 kB / 1.256 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000245/0.9647, allocations: 178.8 kB / 1.256 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9647, allocations: 0 / 1.256 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005072/0.9652, allocations: 59.53 kB / 1.256 GB, free: 11.71 MB / 0.6355 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 (14): * Single equations (assignments): 14 * 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.001469/0.9667, allocations: 0.9483 MB / 1.257 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007725/0.9675, allocations: 175 kB / 1.257 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/0.9675, allocations: 4.125 kB / 1.257 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000375/0.9679, allocations: 104.3 kB / 1.257 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.9693, allocations: 126.6 kB / 1.258 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/0.9728, allocations: 1.366 MB / 1.259 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.9733, allocations: 0.7586 MB / 1.26 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004869/0.9738, allocations: 57.05 kB / 1.26 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.974, allocations: 68.84 kB / 1.26 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of SimCode: time 1.272e-06/0.974, allocations: 0 / 1.26 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03396/1.008, allocations: 6.428 MB / 1.266 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004086/1.008, allocations: 249.9 kB / 1.266 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/3.675, allocations: 0 / 1.266 GB, free: 7.977 MB / 0.6355 GB