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.Simplified4.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.Simplified4,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.258/4.258, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.929e-05/3.939e-05, allocations: 5.281 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2329, allocations: 98.74 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.283/1.516, allocations: 448.3 MB / 1.072 GB, free: 7.559 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/1.517, allocations: 91.7 kB / 1.073 GB, free: 7.516 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 58.55/60.06, allocations: 9.948 GB / 11.02 GB, free: 67.84 MB / 1.12 GB Notification: Performance of FrontEnd: time 3.076e-06/60.06, allocations: 3.219 kB / 11.02 GB, free: 67.84 MB / 1.12 GB Notification: Performance of Transformations before backend: time 0.003674/60.07, allocations: 383.4 kB / 11.02 GB, free: 67.78 MB / 1.12 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.06103/60.13, allocations: 11.99 MB / 11.03 GB, free: 62.73 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/60.13, allocations: 9.625 kB / 11.03 GB, free: 62.73 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005066/60.13, allocations: 0.8889 MB / 11.03 GB, free: 62.65 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02138/60.15, allocations: 2.331 MB / 11.04 GB, free: 61.8 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09524/60.25, allocations: 20.18 MB / 11.06 GB, free: 59.54 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001327/60.25, allocations: 0.5897 MB / 11.06 GB, free: 59.52 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005616/60.26, allocations: 0.7951 MB / 11.06 GB, free: 59.52 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04798/60.3, allocations: 13.86 MB / 11.07 GB, free: 58.73 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005198/60.3, allocations: 11.52 kB / 11.07 GB, free: 58.73 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004307/60.31, allocations: 292.3 kB / 11.07 GB, free: 58.73 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002568/60.31, allocations: 184.6 kB / 11.07 GB, free: 58.73 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04801/60.36, allocations: 17.92 MB / 11.09 GB, free: 58.67 MB / 1.12 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.1854/60.54, allocations: 73.85 MB / 11.16 GB, free: 24.89 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02278/60.57, allocations: 9.447 MB / 11.17 GB, free: 24.73 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01936/60.59, allocations: 8.455 MB / 11.18 GB, free: 24.65 MB / 1.12 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.09612/60.68, allocations: 30.13 MB / 11.21 GB, free: 16.02 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02011/60.7, allocations: 8.075 MB / 11.22 GB, free: 15.91 MB / 1.12 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07885/60.78, allocations: 14.98 MB / 11.23 GB, free: 15.53 MB / 1.12 GB Notification: Performance of pre-optimization done (n=426): time 4.199e-05/60.78, allocations: 2.594 kB / 11.23 GB, free: 15.53 MB / 1.12 GB Notification: Performance of matching and sorting (n=612): time 0.4452/61.23, allocations: 77.38 MB / 11.31 GB, free: 7.25 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.186e-05/61.23, allocations: 113.4 kB / 11.31 GB, free: 7.18 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03636/61.26, allocations: 12.53 MB / 11.32 GB, free: 4.988 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.003821/61.27, allocations: 191.5 kB / 11.32 GB, free: 4.844 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01088/61.28, allocations: 6.691 MB / 11.32 GB, free: 15.61 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.00587/61.28, allocations: 2.067 MB / 11.33 GB, free: 13.99 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003677/61.29, allocations: 154.4 kB / 11.33 GB, free: 13.87 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0008799/61.29, allocations: 0.6218 MB / 11.33 GB, free: 13.42 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02159/61.31, allocations: 7.64 MB / 11.33 GB, free: 10.29 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02473/61.33, allocations: 10.43 MB / 11.34 GB, free: 3.77 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02539/61.36, allocations: 8.805 MB / 11.35 GB, free: 15.77 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.228e-05/61.36, allocations: 16 kB / 11.35 GB, free: 15.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 1.21/62.57, allocations: 25.97 MB / 11.38 GB, free: 96.75 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.007049/62.58, allocations: 35.02 MB / 11.41 GB, free: 60.73 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002474/62.58, allocations: 53.97 kB / 11.41 GB, free: 60.73 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359/63.94, allocations: 146.4 MB / 11.56 GB, free: 60.24 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01836/63.95, allocations: 1.704 MB / 11.56 GB, free: 60.23 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0736/64.03, allocations: 24.58 MB / 11.58 GB, free: 55.11 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03011/64.06, allocations: 1.109 MB / 11.58 GB, free: 55.05 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004834/64.06, allocations: 0.804 MB / 11.58 GB, free: 55.05 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/64.06, allocations: 7.969 kB / 11.58 GB, free: 55.05 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08005/64.14, allocations: 24.7 MB / 11.61 GB, free: 54.62 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002814/64.14, allocations: 54.78 kB / 11.61 GB, free: 54.62 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363/65.51, allocations: 146.8 MB / 11.75 GB, free: 11.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01565/65.52, allocations: 1.686 MB / 11.75 GB, free: 9.957 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09849/65.62, allocations: 28.9 MB / 11.78 GB, free: 4.281 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02964/65.65, allocations: 1.085 MB / 11.78 GB, free: 3.395 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00503/65.66, allocations: 0.7662 MB / 11.78 GB, free: 2.691 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (761): * Single equations (assignments): 747 * 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 {32 38,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.00723/65.66, allocations: 0.5583 MB / 11.78 GB, free: 2.473 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007029/65.67, allocations: 1.284 MB / 11.78 GB, free: 1.879 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09578/65.77, allocations: 22.74 MB / 11.81 GB, free: 3.551 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000178/65.77, allocations: 76 kB / 11.81 GB, free: 3.477 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/65.77, allocations: 0 / 11.81 GB, free: 3.477 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17/66.94, allocations: 17.28 MB / 11.82 GB, free: 141.7 MB / 1.198 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.2549/67.19, allocations: 53.79 MB / 11.88 GB, free: 135.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001355/67.19, allocations: 5.406 kB / 11.88 GB, free: 135.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01184/67.2, allocations: 1.144 MB / 11.88 GB, free: 135.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3413/67.54, allocations: 41.9 MB / 11.92 GB, free: 135.4 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002203/67.55, allocations: 197.5 kB / 11.92 GB, free: 135.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03476/67.58, allocations: 13.65 MB / 11.93 GB, free: 130.3 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.354e-05/67.58, allocations: 11.62 kB / 11.93 GB, free: 130.3 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1245/67.71, allocations: 33.55 MB / 11.96 GB, free: 127 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01429/67.72, allocations: 2.985 MB / 11.97 GB, free: 126.9 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006814/67.73, allocations: 136.7 kB / 11.97 GB, free: 126.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02263/67.75, allocations: 0.8805 MB / 11.97 GB, free: 126.8 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002897/67.75, allocations: 480 kB / 11.97 GB, free: 126.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002101/67.76, allocations: 286.2 kB / 11.97 GB, free: 126.8 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.02879/67.78, allocations: 9.543 MB / 11.98 GB, free: 126.4 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.292e-06/67.78, allocations: 1.094 kB / 11.98 GB, free: 126.4 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.07012/67.85, allocations: 7.106 MB / 11.99 GB, free: 126.4 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (536): * Single equations (assignments): 514 * 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 {7 74,30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.1382/67.99, allocations: 39.29 MB / 12.02 GB, free: 119.9 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.1119/68.1, allocations: 32.41 MB / 12.06 GB, free: 119.2 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 2.018e-05/68.1, allocations: 3.781 kB / 12.06 GB, free: 119.2 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0281/68.13, allocations: 8.759 MB / 12.06 GB, free: 119.1 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05921/68.19, allocations: 6.82 MB / 12.07 GB, free: 119 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08946/68.28, allocations: 26 MB / 12.1 GB, free: 114.1 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01663/68.3, allocations: 7.6 MB / 12.1 GB, free: 113.1 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.0514/68.35, allocations: 6.704 MB / 12.11 GB, free: 112.8 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01983/68.37, allocations: 6.401 MB / 12.12 GB, free: 112.8 MB / 1.198 GB Notification: Performance of SimCode: time 1.803e-06/68.37, allocations: 0 / 12.12 GB, free: 112.8 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.521/71.89, allocations: 0.5638 GB / 12.68 GB, free: 1.676 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003734/71.89, allocations: 238.6 kB / 12.68 GB, free: 1.402 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.69/107.6, allocations: 4 kB / 12.68 GB, free: 1.398 MB / 1.229 GB