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 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.Simplified5,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.123/4.123, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.349e-05/2.372e-05, allocations: 3.906 kB / 0.5325 GB, free: 12.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2247, allocations: 98.73 MB / 0.6289 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.249/1.473, allocations: 448.3 MB / 1.067 GB, free: 2.328 MB / 0.8074 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/1.474, allocations: 96.53 kB / 1.067 GB, free: 2.285 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 56.41/57.88, allocations: 9.84 GB / 10.91 GB, free: 68.35 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.314e-06/57.88, allocations: 0 / 10.91 GB, free: 68.35 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.003564/57.88, allocations: 344.2 kB / 10.91 GB, free: 68.29 MB / 1.073 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.07611/57.96, allocations: 11.03 MB / 10.92 GB, free: 63.38 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/57.96, allocations: 14.56 kB / 10.92 GB, free: 63.38 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02207/57.98, allocations: 2.367 MB / 10.92 GB, free: 62.6 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08824/58.07, allocations: 18.74 MB / 10.94 GB, free: 60.49 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005317/58.07, allocations: 192.2 kB / 10.94 GB, free: 60.49 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00433/58.07, allocations: 433.5 kB / 10.94 GB, free: 60.48 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05398/58.13, allocations: 17.77 MB / 10.96 GB, free: 60.46 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05004/58.18, allocations: 12.13 MB / 10.97 GB, free: 59.86 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003999/58.18, allocations: 7.391 kB / 10.97 GB, free: 59.86 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003555/58.18, allocations: 15.06 kB / 10.97 GB, free: 59.86 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001833/58.18, allocations: 145.5 kB / 10.97 GB, free: 59.86 MB / 1.073 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.1704/58.35, allocations: 68.84 MB / 11.04 GB, free: 27.77 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02081/58.37, allocations: 10.15 MB / 11.05 GB, free: 27.61 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01753/58.39, allocations: 8.757 MB / 11.05 GB, free: 27.53 MB / 1.073 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.0922/58.48, allocations: 29.26 MB / 11.08 GB, free: 13.66 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01861/58.5, allocations: 8.013 MB / 11.09 GB, free: 10.73 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07981/58.58, allocations: 15.11 MB / 11.1 GB, free: 6.324 MB / 1.073 GB Notification: Performance of pre-optimization done (n=392): time 4.969e-05/58.58, allocations: 4 kB / 11.1 GB, free: 6.32 MB / 1.073 GB Notification: Performance of matching and sorting (n=394): time 1.219/59.8, allocations: 37.64 MB / 11.14 GB, free: 88.35 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.532e-05/59.8, allocations: 95.22 kB / 11.14 GB, free: 88.29 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03581/59.84, allocations: 11.06 MB / 11.15 GB, free: 87.7 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.003516/59.84, allocations: 37.2 kB / 11.15 GB, free: 87.66 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.01098/59.85, allocations: 6.034 MB / 11.16 GB, free: 87.47 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.004381/59.86, allocations: 1.293 MB / 11.16 GB, free: 87.47 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0032/59.86, allocations: 0.625 kB / 11.16 GB, free: 87.47 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0006885/59.86, allocations: 0.5395 MB / 11.16 GB, free: 87.15 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0168/59.88, allocations: 6.874 MB / 11.17 GB, free: 87.14 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01907/59.9, allocations: 9.298 MB / 11.18 GB, free: 84.29 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02276/59.92, allocations: 7.925 MB / 11.18 GB, free: 84.17 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/59.92, allocations: 11.66 kB / 11.18 GB, free: 84.17 MB / 1.089 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.07956/60, allocations: 22.9 MB / 11.21 GB, free: 83.41 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.006211/60.01, allocations: 29.72 MB / 11.24 GB, free: 52.73 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002717/60.01, allocations: 44.56 kB / 11.24 GB, free: 52.73 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629/61.63, allocations: 167.1 MB / 11.4 GB, free: 51.64 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01467/61.65, allocations: 1.29 MB / 11.4 GB, free: 51.63 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07936/61.73, allocations: 25.4 MB / 11.42 GB, free: 47.49 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02702/61.76, allocations: 0.8168 MB / 11.43 GB, free: 47.39 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004598/61.76, allocations: 0.725 MB / 11.43 GB, free: 47.39 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/61.76, allocations: 3.719 kB / 11.43 GB, free: 47.39 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07031/61.83, allocations: 20.81 MB / 11.45 GB, free: 47.07 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002988/61.83, allocations: 47.69 kB / 11.45 GB, free: 47.07 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.71/64.54, allocations: 167.2 MB / 11.61 GB, free: 130.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01156/64.55, allocations: 1.274 MB / 11.61 GB, free: 130.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09812/64.65, allocations: 28.26 MB / 11.64 GB, free: 127.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02629/64.68, allocations: 0.7906 MB / 11.64 GB, free: 127.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004405/64.68, allocations: 0.6844 MB / 11.64 GB, free: 127.5 MB / 1.135 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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: 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 548 * 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: 2 * 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: 2 {38 58,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.007054/64.69, allocations: 286.6 kB / 11.64 GB, free: 127.4 MB / 1.135 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06453/64.75, allocations: 19.1 MB / 11.66 GB, free: 127.2 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007637/64.76, allocations: 1.136 MB / 11.66 GB, free: 127.2 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06632/64.83, allocations: 17.08 MB / 11.68 GB, free: 126.8 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001472/64.83, allocations: 58.88 kB / 11.68 GB, free: 126.8 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/64.83, allocations: 3.219 kB / 11.68 GB, free: 126.8 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03713/64.87, allocations: 12.4 MB / 11.69 GB, free: 126.4 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.1781/65.04, allocations: 39.15 MB / 11.73 GB, free: 120.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-05/65.04, allocations: 0 / 11.73 GB, free: 120.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00717/65.05, allocations: 0.6805 MB / 11.73 GB, free: 120.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3783/65.43, allocations: 47.66 MB / 11.77 GB, free: 120.3 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001854/65.43, allocations: 69.05 kB / 11.77 GB, free: 120.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03658/65.47, allocations: 13.2 MB / 11.79 GB, free: 116.2 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/65.47, allocations: 5.688 kB / 11.79 GB, free: 116.2 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0567/65.52, allocations: 20.92 MB / 11.81 GB, free: 114.8 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01225/65.54, allocations: 2.484 MB / 11.81 GB, free: 114.1 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006233/65.54, allocations: 9.859 kB / 11.81 GB, free: 114.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02004/65.56, allocations: 0.6454 MB / 11.81 GB, free: 114 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002482/65.57, allocations: 291 kB / 11.81 GB, free: 114 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00155/65.57, allocations: 203 kB / 11.81 GB, free: 114 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.02413/65.59, allocations: 8.294 MB / 11.82 GB, free: 113.7 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.463e-06/65.59, allocations: 0 / 11.82 GB, free: 113.7 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.06043/65.65, allocations: 5.662 MB / 11.82 GB, free: 113.7 MB / 1.135 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 (323): * Single equations (assignments): 303 * 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: 2 * 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: 2 {38 56,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.06832/65.72, allocations: 25.48 MB / 11.85 GB, free: 100.2 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.1041/65.82, allocations: 28.53 MB / 11.88 GB, free: 85.92 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/65.82, allocations: 0 / 11.88 GB, free: 85.92 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.02479/65.85, allocations: 7.171 MB / 11.88 GB, free: 82.33 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05373/65.9, allocations: 6.129 MB / 11.89 GB, free: 78.09 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07481/65.98, allocations: 20.9 MB / 11.91 GB, free: 59.95 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01444/65.99, allocations: 6.71 MB / 11.92 GB, free: 55.3 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0413/66.03, allocations: 5.732 MB / 11.92 GB, free: 51.58 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01216/66.05, allocations: 5.484 MB / 11.93 GB, free: 46.52 MB / 1.135 GB Notification: Performance of SimCode: time 1.282e-06/66.05, allocations: 0 / 11.93 GB, free: 46.52 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.626/70.67, allocations: 476.9 MB / 12.39 GB, free: 126.4 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/70.67, allocations: 170.5 kB / 12.39 GB, free: 126.2 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.57/100.2, allocations: 0.5938 kB / 12.39 GB, free: 126.2 MB / 1.198 GB