Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified5",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.01225/0.01225, allocations: 106.6 kB / 15.05 MB, free: 5.93 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.001317/0.001317, allocations: 186.4 kB / 15.94 MB, free: 5.895 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 2.211/2.211, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.302/2.302, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004944, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6813/0.6818, allocations: 98.71 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/1.964, allocations: 448.9 MB / 1.122 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003505/1.964, allocations: 101.3 kB / 1.122 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 57.75/59.72, allocations: 9.916 GB / 11.04 GB, free: 67.42 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.374e-06/59.72, allocations: 0 / 11.04 GB, free: 67.42 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.003598/59.72, allocations: 347.1 kB / 11.04 GB, free: 67.36 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1489 * Number of variables: 1489 Notification: Performance of Generate backend data structure: time 0.09957/59.82, allocations: 17.4 MB / 11.05 GB, free: 61.29 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/59.82, allocations: 12.16 kB / 11.05 GB, free: 61.29 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005184/59.83, allocations: 0.7786 MB / 11.06 GB, free: 61.22 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02296/59.85, allocations: 2.368 MB / 11.06 GB, free: 60.44 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09498/59.94, allocations: 18.95 MB / 11.08 GB, free: 58.33 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001113/59.95, allocations: 0.5204 MB / 11.08 GB, free: 58.32 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005117/59.95, allocations: 0.6982 MB / 11.08 GB, free: 58.32 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04643/60, allocations: 13.25 MB / 11.09 GB, free: 57.72 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004855/60, allocations: 6.5 kB / 11.09 GB, free: 57.72 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004029/60, allocations: 252.3 kB / 11.09 GB, free: 57.72 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001992/60, allocations: 144.9 kB / 11.09 GB, free: 57.72 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04948/60.05, allocations: 17.85 MB / 11.11 GB, free: 57.67 MB / 1.089 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.1797/60.23, allocations: 69.8 MB / 11.18 GB, free: 25.87 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02635/60.26, allocations: 9.698 MB / 11.19 GB, free: 25.7 MB / 1.089 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 evalFunc (simulation): time 0.0838/60.34, allocations: 29.13 MB / 11.21 GB, free: 17.66 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.022/60.36, allocations: 8.32 MB / 11.22 GB, free: 17.54 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07878/60.44, allocations: 15.08 MB / 11.24 GB, free: 17.05 MB / 1.089 GB Notification: Performance of pre-optimization done (n=393): time 4.103e-05/60.44, allocations: 0 / 11.24 GB, free: 17.05 MB / 1.089 GB Notification: Performance of matching and sorting (n=582): time 1.085/61.53, allocations: 130 MB / 11.36 GB, free: 11 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/61.53, allocations: 117.6 kB / 11.36 GB, free: 10.88 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03585/61.56, allocations: 11.9 MB / 11.38 GB, free: 1.016 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.003894/61.57, allocations: 185.7 kB / 11.38 GB, free: 0.8281 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 1.146/62.71, allocations: 6.108 MB / 11.38 GB, free: 88.51 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.005625/62.72, allocations: 1.951 MB / 11.38 GB, free: 88.51 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004148/62.72, allocations: 147 kB / 11.38 GB, free: 88.51 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0008521/62.73, allocations: 0.5963 MB / 11.38 GB, free: 88.19 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02537/62.75, allocations: 7.857 MB / 11.39 GB, free: 88.18 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03648/62.79, allocations: 10.44 MB / 11.4 GB, free: 85.31 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0382/62.83, allocations: 8.868 MB / 11.41 GB, free: 85.16 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001376/62.83, allocations: 16.31 kB / 11.41 GB, free: 85.16 MB / 1.104 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.09677/62.92, allocations: 26.49 MB / 11.44 GB, free: 84.25 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.006688/62.93, allocations: 29.85 MB / 11.47 GB, free: 53.57 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002851/62.93, allocations: 44.41 kB / 11.47 GB, free: 53.57 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58/64.51, allocations: 170.6 MB / 11.63 GB, free: 52.39 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01651/64.53, allocations: 1.489 MB / 11.63 GB, free: 52.38 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08533/64.61, allocations: 26.74 MB / 11.66 GB, free: 47.08 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02875/64.64, allocations: 1.037 MB / 11.66 GB, free: 46.98 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004912/64.65, allocations: 0.7912 MB / 11.66 GB, free: 46.98 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/64.65, allocations: 3.688 kB / 11.66 GB, free: 46.98 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08658/64.73, allocations: 25.48 MB / 11.69 GB, free: 46.54 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002411/64.73, allocations: 45.22 kB / 11.69 GB, free: 46.54 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.857/67.59, allocations: 170.9 MB / 11.85 GB, free: 128.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0138/67.6, allocations: 1.478 MB / 11.86 GB, free: 128.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1082/67.71, allocations: 31.61 MB / 11.89 GB, free: 124.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02832/67.74, allocations: 1.005 MB / 11.89 GB, free: 124.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004871/67.74, allocations: 0.7513 MB / 11.89 GB, free: 124.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulsStart,stepPump.pulsStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (658): * Single equations (assignments): 644 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {40 56,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01541/67.76, allocations: 3.069 MB / 11.89 GB, free: 124.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007878/67.77, allocations: 1.2 MB / 11.89 GB, free: 124.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1907/67.96, allocations: 26.22 MB / 11.92 GB, free: 124.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002106/67.96, allocations: 75.33 kB / 11.92 GB, free: 124.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.573e-05/67.96, allocations: 6.281 kB / 11.92 GB, free: 124.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1025/68.06, allocations: 20.82 MB / 11.94 GB, free: 123.6 MB / 1.151 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.1639/68.23, allocations: 41.42 MB / 11.98 GB, free: 117.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001452/68.23, allocations: 8.531 kB / 11.98 GB, free: 117.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01309/68.24, allocations: 1.029 MB / 11.98 GB, free: 117.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5517/68.79, allocations: 48.99 MB / 12.03 GB, free: 117.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002424/68.79, allocations: 188.2 kB / 12.03 GB, free: 117.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04572/68.84, allocations: 14.87 MB / 12.04 GB, free: 112 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.388e-05/68.84, allocations: 13.59 kB / 12.04 GB, free: 112 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1108/68.95, allocations: 31.84 MB / 12.07 GB, free: 108.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01401/68.96, allocations: 2.844 MB / 12.08 GB, free: 108 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007455/68.97, allocations: 133 kB / 12.08 GB, free: 108 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02332/68.99, allocations: 0.8216 MB / 12.08 GB, free: 107.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00395/69, allocations: 461.5 kB / 12.08 GB, free: 107.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003296/69, allocations: 287.3 kB / 12.08 GB, free: 107.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.03692/69.04, allocations: 9.107 MB / 12.09 GB, free: 107.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.041e-06/69.04, allocations: 0 / 12.09 GB, free: 107.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.07208/69.11, allocations: 6.485 MB / 12.09 GB, free: 103.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulsStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (488): * Single equations (assignments): 466 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {8 74,38 56,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.1207/69.23, allocations: 37.18 MB / 12.13 GB, free: 81.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.129/69.36, allocations: 33.25 MB / 12.16 GB, free: 59.43 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.409e-05/69.36, allocations: 4 kB / 12.16 GB, free: 59.43 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0346/69.4, allocations: 9.253 MB / 12.17 GB, free: 51.28 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05741/69.45, allocations: 6.27 MB / 12.18 GB, free: 46.83 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.52/71.97, allocations: 72.82 MB / 12.25 GB, free: 94 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02125/71.99, allocations: 7.087 MB / 12.26 GB, free: 93.03 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.035/72.03, allocations: 3.676 MB / 12.26 GB, free: 92.92 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02029/72.05, allocations: 6.12 MB / 12.26 GB, free: 92.92 MB / 1.151 GB Notification: Performance of SimCode: time 2.264e-06/72.05, allocations: 0 / 12.26 GB, free: 92.92 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.421/74.47, allocations: 0.5155 GB / 12.78 GB, free: 171.5 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/74.47, allocations: 256.3 kB / 12.78 GB, free: 171.2 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.16/104.6, allocations: 0 / 12.78 GB, free: 171.2 MB / 1.214 GB