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.Simplified6.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.07/4.07, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.56e-05/3.572e-05, allocations: 4.391 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2269, allocations: 98.73 MB / 0.6347 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.279/1.505, allocations: 449.5 MB / 1.074 GB, free: 5.867 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/1.506, allocations: 91.66 kB / 1.074 GB, free: 5.824 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 58.06/59.57, allocations: 10.11 GB / 11.19 GB, free: 42.43 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.114e-06/59.57, allocations: 0 / 11.19 GB, free: 42.43 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.003256/59.57, allocations: 351.6 kB / 11.19 GB, free: 42.09 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.0511/59.62, allocations: 10.94 MB / 11.2 GB, free: 31.05 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/59.62, allocations: 8.031 kB / 11.2 GB, free: 31.05 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003962/59.63, allocations: 0.7698 MB / 11.2 GB, free: 30.27 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01909/59.65, allocations: 2.223 MB / 11.2 GB, free: 28.02 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07602/59.72, allocations: 18.39 MB / 11.22 GB, free: 9.562 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009256/59.72, allocations: 0.5214 MB / 11.22 GB, free: 9.043 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003543/59.73, allocations: 0.6992 MB / 11.22 GB, free: 8.344 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.075/60.8, allocations: 8.199 MB / 11.23 GB, free: 78.38 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004229/60.8, allocations: 17.47 kB / 11.23 GB, free: 78.38 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002731/60.81, allocations: 251.9 kB / 11.23 GB, free: 78.38 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002759/60.81, allocations: 150.3 kB / 11.23 GB, free: 78.38 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02493/60.83, allocations: 6.483 MB / 11.23 GB, free: 78.33 MB / 1.089 GB Warning: The model contains alias variables with conflicting start and/or 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.1189/60.95, allocations: 49.52 MB / 11.28 GB, free: 52.57 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01206/60.96, allocations: 4.587 MB / 11.29 GB, free: 52.41 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009235/60.97, allocations: 3.574 MB / 11.29 GB, free: 52.36 MB / 1.089 GB Warning: The model contains alias variables with conflicting start and/or 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.05328/61.03, allocations: 13.6 MB / 11.3 GB, free: 49.39 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009679/61.04, allocations: 3.263 MB / 11.31 GB, free: 49.29 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01929/61.05, allocations: 2.404 MB / 11.31 GB, free: 49.18 MB / 1.089 GB Notification: Performance of pre-optimization done (n=325): time 4.809e-05/61.05, allocations: 0 / 11.31 GB, free: 49.18 MB / 1.089 GB Notification: Performance of matching and sorting (n=513): time 0.1494/61.2, allocations: 32.51 MB / 11.34 GB, free: 42.14 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.793e-05/61.2, allocations: 107.8 kB / 11.34 GB, free: 42.07 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03536/61.24, allocations: 11.98 MB / 11.35 GB, free: 41.33 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.002218/61.24, allocations: 180.1 kB / 11.35 GB, free: 41.3 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.01048/61.25, allocations: 6.292 MB / 11.36 GB, free: 40.23 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.003147/61.26, allocations: 1.731 MB / 11.36 GB, free: 39.36 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001297/61.26, allocations: 144 kB / 11.36 GB, free: 39.36 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0005752/61.26, allocations: 0.5975 MB / 11.36 GB, free: 39.04 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0108/61.27, allocations: 3.747 MB / 11.36 GB, free: 39.02 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0141/61.28, allocations: 6.661 MB / 11.37 GB, free: 35.66 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01353/61.3, allocations: 4.688 MB / 11.38 GB, free: 35.49 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001065/61.3, allocations: 19.16 kB / 11.38 GB, free: 35.49 MB / 1.089 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.04591/61.34, allocations: 13.67 MB / 11.39 GB, free: 34.44 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.01444/61.36, allocations: 38.77 MB / 11.43 GB, free: 26.59 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002783/61.36, allocations: 59.84 kB / 11.43 GB, free: 26.59 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01324/61.37, allocations: 3.399 MB / 11.43 GB, free: 26.5 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01738/61.39, allocations: 1.612 MB / 11.43 GB, free: 26.5 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02181/61.41, allocations: 12.32 MB / 11.44 GB, free: 35.77 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02155/61.43, allocations: 0.9547 MB / 11.44 GB, free: 35.73 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002583/61.43, allocations: 481.9 kB / 11.44 GB, free: 35.73 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/61.43, allocations: 5.219 kB / 11.44 GB, free: 35.73 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04055/61.47, allocations: 12.75 MB / 11.46 GB, free: 35.38 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002925/61.47, allocations: 60.45 kB / 11.46 GB, free: 35.38 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01495/61.49, allocations: 3.685 MB / 11.46 GB, free: 35.29 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01435/61.5, allocations: 1.605 MB / 11.46 GB, free: 35.29 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03958/61.54, allocations: 16.63 MB / 11.48 GB, free: 29.71 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02026/61.56, allocations: 0.9335 MB / 11.48 GB, free: 29.68 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002572/61.57, allocations: 435.5 kB / 11.48 GB, free: 29.68 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 725 * 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: 6 * 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: 6 {1 4,1 2,1 2,1 2,7 78,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.004048/61.57, allocations: 0.5473 MB / 11.48 GB, free: 29.57 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004598/61.58, allocations: 1.203 MB / 11.48 GB, free: 28.91 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04148/61.62, allocations: 11.99 MB / 11.49 GB, free: 28.35 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001432/61.62, allocations: 59.03 kB / 11.49 GB, free: 28.35 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/61.62, allocations: 3.953 kB / 11.49 GB, free: 28.35 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02892/61.65, allocations: 9.521 MB / 11.5 GB, free: 27.77 MB / 1.135 GB Warning: The model contains alias variables with conflicting start and/or 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.07303/61.72, allocations: 23.76 MB / 11.53 GB, free: 25.64 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.043e-05/61.72, allocations: 11.31 kB / 11.53 GB, free: 25.64 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00932/61.73, allocations: 0.9476 MB / 11.53 GB, free: 25.59 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009269/61.74, allocations: 2.383 MB / 11.53 GB, free: 25.48 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001322/61.74, allocations: 164.2 kB / 11.53 GB, free: 25.48 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/61.75, allocations: 10.97 MB / 11.54 GB, free: 18.74 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/61.75, allocations: 11.69 kB / 11.54 GB, free: 18.73 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04615/61.8, allocations: 18.41 MB / 11.56 GB, free: 30.37 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01165/61.81, allocations: 2.455 MB / 11.56 GB, free: 29.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005464/61.82, allocations: 109.9 kB / 11.56 GB, free: 29.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01802/61.83, allocations: 0.8104 MB / 11.56 GB, free: 29.58 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001809/61.84, allocations: 391.9 kB / 11.56 GB, free: 29.56 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001185/61.84, allocations: 257.5 kB / 11.56 GB, free: 29.56 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.02573/61.86, allocations: 9.095 MB / 11.57 GB, free: 29.14 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.21e-07/61.86, allocations: 0 / 11.57 GB, free: 29.14 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.05274/61.92, allocations: 5.923 MB / 11.58 GB, free: 29.14 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (440): * Single equations (assignments): 415 * 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: 6 * 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: 6 {7 74,1 4,1 2,1 2,1 2,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.05596/61.97, allocations: 23.67 MB / 11.6 GB, free: 20.76 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.04685/62.02, allocations: 16.29 MB / 11.62 GB, free: 12.07 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-05/62.02, allocations: 4.438 kB / 11.62 GB, free: 12.06 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01456/62.03, allocations: 4.475 MB / 11.62 GB, free: 8.09 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0513/62.09, allocations: 5.998 MB / 11.63 GB, free: 3.742 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08135/62.17, allocations: 22.21 MB / 11.65 GB, free: 456 kB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.223/64.39, allocations: 7.177 MB / 11.65 GB, free: 148.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.05017/64.44, allocations: 6.443 MB / 11.66 GB, free: 147.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01563/64.46, allocations: 5.762 MB / 11.67 GB, free: 147.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.422e-06/64.46, allocations: 0.6875 kB / 11.67 GB, free: 147.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.13/66.59, allocations: 420.1 MB / 12.08 GB, free: 128.5 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/66.59, allocations: 225.6 kB / 12.08 GB, free: 128.3 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.75/97.34, allocations: 0 / 12.08 GB, free: 128.3 MB / 1.198 GB