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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.212/4.212, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.474e-05, allocations: 3.906 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2259, allocations: 98.74 MB / 0.6289 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/1.493, allocations: 448.9 MB / 1.067 GB, free: 1.727 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/1.494, allocations: 96.94 kB / 1.067 GB, free: 1.68 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 58.05/59.55, allocations: 10.06 GB / 11.13 GB, free: 91.46 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.645e-06/59.55, allocations: 0 / 11.13 GB, free: 91.46 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.004265/59.55, allocations: 345.9 kB / 11.13 GB, free: 91.4 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.05969/59.61, allocations: 10.95 MB / 11.14 GB, free: 86.97 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/59.61, allocations: 9.594 kB / 11.14 GB, free: 86.97 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02111/59.63, allocations: 2.225 MB / 11.14 GB, free: 86.2 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0812/59.71, allocations: 18.39 MB / 11.16 GB, free: 84.09 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006039/59.71, allocations: 192.9 kB / 11.16 GB, free: 84.09 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003766/59.72, allocations: 427.5 kB / 11.16 GB, free: 84.09 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02299/59.74, allocations: 6.767 MB / 11.17 GB, free: 84.06 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02766/59.77, allocations: 7.358 MB / 11.18 GB, free: 83.02 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003671/59.77, allocations: 15.06 kB / 11.18 GB, free: 83.02 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002694/59.77, allocations: 14.59 kB / 11.18 GB, free: 83.02 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002077/59.77, allocations: 156.9 kB / 11.18 GB, free: 83.02 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.1116/59.88, allocations: 48.44 MB / 11.22 GB, free: 56.54 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01268/59.9, allocations: 5.366 MB / 11.23 GB, free: 56.39 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009526/59.91, allocations: 3.942 MB / 11.23 GB, free: 56.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 evalFunc (simulation): time 0.0542/59.96, allocations: 13.36 MB / 11.25 GB, free: 53.21 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008659/59.97, allocations: 3.165 MB / 11.25 GB, free: 53.1 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01827/59.99, allocations: 2.281 MB / 11.25 GB, free: 52.91 MB / 1.089 GB Notification: Performance of pre-optimization done (n=325): time 3.32e-05/59.99, allocations: 0 / 11.25 GB, free: 52.91 MB / 1.089 GB Notification: Performance of matching and sorting (n=327): time 0.07221/60.06, allocations: 15.52 MB / 11.27 GB, free: 50.12 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/60.06, allocations: 87.17 kB / 11.27 GB, free: 50.05 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03574/60.1, allocations: 11.25 MB / 11.28 GB, free: 49.32 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.001916/60.1, allocations: 39.17 kB / 11.28 GB, free: 49.29 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.01118/60.11, allocations: 6.25 MB / 11.28 GB, free: 47.84 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.002379/60.11, allocations: 1.074 MB / 11.29 GB, free: 47.12 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001275/60.11, allocations: 3.281 kB / 11.29 GB, free: 47.12 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0005715/60.11, allocations: 0.539 MB / 11.29 GB, free: 46.8 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008068/60.12, allocations: 3.005 MB / 11.29 GB, free: 46.78 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01072/60.13, allocations: 5.743 MB / 11.29 GB, free: 43.45 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01438/60.15, allocations: 3.948 MB / 11.3 GB, free: 43.38 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001445/60.15, allocations: 17.06 kB / 11.3 GB, free: 43.38 MB / 1.089 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.04015/60.19, allocations: 10.69 MB / 11.31 GB, free: 42.53 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.0105/60.2, allocations: 38.61 MB / 11.35 GB, free: 18.7 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002967/60.2, allocations: 59.94 kB / 11.35 GB, free: 18.7 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005236/60.2, allocations: 1.4 MB / 11.35 GB, free: 18.64 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02228/60.23, allocations: 1.388 MB / 11.35 GB, free: 18.64 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02492/60.25, allocations: 9.767 MB / 11.36 GB, free: 13.05 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03104/60.28, allocations: 0.7466 MB / 11.36 GB, free: 12.99 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003106/60.28, allocations: 412.6 kB / 11.36 GB, free: 12.99 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/60.28, allocations: 3.062 kB / 11.36 GB, free: 12.99 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0457/60.33, allocations: 8.379 MB / 11.37 GB, free: 12.81 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003927/60.33, allocations: 67.55 kB / 11.37 GB, free: 12.81 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/60.34, allocations: 1.47 MB / 11.37 GB, free: 12.76 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01761/60.36, allocations: 1.375 MB / 11.37 GB, free: 12.76 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04624/60.41, allocations: 12.53 MB / 11.38 GB, free: 24.27 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02645/60.43, allocations: 0.7157 MB / 11.38 GB, free: 24.18 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002668/60.43, allocations: 375 kB / 11.38 GB, free: 24.18 MB / 1.12 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 (640): * Single equations (assignments): 625 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 5 {1 4,1 2,1 2,1 2,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.003703/60.44, allocations: 311.1 kB / 11.38 GB, free: 24.04 MB / 1.12 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02841/60.47, allocations: 6.523 MB / 11.39 GB, free: 23.15 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004546/60.47, allocations: 1.135 MB / 11.39 GB, free: 22.52 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02501/60.5, allocations: 7.451 MB / 11.4 GB, free: 22.05 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.765e-05/60.5, allocations: 38.73 kB / 11.4 GB, free: 22.05 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/60.5, allocations: 0 / 11.4 GB, free: 22.05 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01628/60.51, allocations: 5.68 MB / 11.41 GB, free: 21.57 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 postOpt removeSimpleEquations (simulation): time 0.05381/60.57, allocations: 15.93 MB / 11.42 GB, free: 20.1 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.268e-05/60.57, allocations: 3.688 kB / 11.42 GB, free: 20.1 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00651/60.57, allocations: 0.5957 MB / 11.42 GB, free: 20.09 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004147/60.58, allocations: 1.132 MB / 11.42 GB, free: 20.01 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009034/60.58, allocations: 54.86 kB / 11.42 GB, free: 20.01 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009853/60.59, allocations: 8.098 MB / 11.43 GB, free: 14.42 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/60.59, allocations: 2.656 kB / 11.43 GB, free: 14.42 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02711/60.62, allocations: 10.21 MB / 11.44 GB, free: 13.02 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0101/60.63, allocations: 2.09 MB / 11.44 GB, free: 12.29 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005248/60.63, allocations: 3.844 kB / 11.44 GB, free: 12.29 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0162/60.65, allocations: 0.6446 MB / 11.44 GB, free: 12.2 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001316/60.65, allocations: 236.7 kB / 11.44 GB, free: 12.2 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007376/60.65, allocations: 167.8 kB / 11.44 GB, free: 12.2 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.02326/60.67, allocations: 8.403 MB / 11.45 GB, free: 11.84 MB / 1.12 GB Notification: Performance of sort global known variables: time 7.01e-07/60.67, allocations: 0 / 11.45 GB, free: 11.84 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.05114/60.72, allocations: 5.111 MB / 11.46 GB, free: 11.7 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (273): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 5 {1 2,1 4,1 2,1 2,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.03745/60.76, allocations: 14.77 MB / 11.47 GB, free: 7.695 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0333/60.8, allocations: 11.83 MB / 11.48 GB, free: 6.945 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/60.8, allocations: 2.531 kB / 11.48 GB, free: 6.945 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.007765/60.8, allocations: 2.631 MB / 11.49 GB, free: 6.863 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05006/60.85, allocations: 5.839 MB / 11.49 GB, free: 6.523 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07066/60.92, allocations: 19.19 MB / 11.51 GB, free: 15.21 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01548/60.94, allocations: 6.62 MB / 11.52 GB, free: 11.16 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.04328/60.98, allocations: 5.84 MB / 11.52 GB, free: 7.395 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01289/61, allocations: 5.377 MB / 11.53 GB, free: 6.895 MB / 1.135 GB Notification: Performance of SimCode: time 1.733e-06/61, allocations: 0 / 11.53 GB, free: 6.895 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.987/63.98, allocations: 340.8 MB / 11.86 GB, free: 38.47 MB / 1.136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002734/63.98, allocations: 171 kB / 11.86 GB, free: 38.28 MB / 1.136 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.22/91.2, allocations: 7.938 kB / 11.86 GB, free: 38.27 MB / 1.136 GB