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/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.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.061/4.061, allocations: 433.2 MB / 440.7 MB, free: 4.531 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.656e-05/2.656e-05, allocations: 4.672 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2221, allocations: 98.73 MB / 0.6289 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.251/1.473, allocations: 447.6 MB / 1.066 GB, free: 2.781 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000346/1.473, allocations: 95.31 kB / 1.066 GB, free: 2.734 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 56.95/58.42, allocations: 9.901 GB / 10.97 GB, free: 77.24 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.324e-06/58.42, allocations: 1.422 kB / 10.97 GB, free: 77.24 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.003793/58.42, allocations: 383.4 kB / 10.97 GB, free: 77.18 MB / 1.104 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.06243/58.49, allocations: 11.99 MB / 10.98 GB, free: 71.86 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/58.49, allocations: 9.5 kB / 10.98 GB, free: 71.86 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02177/58.51, allocations: 2.33 MB / 10.98 GB, free: 71.01 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0941/58.6, allocations: 20.18 MB / 11 GB, free: 68.75 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006155/58.6, allocations: 220.6 kB / 11 GB, free: 68.75 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004872/58.61, allocations: 490.2 kB / 11 GB, free: 68.75 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04546/58.65, allocations: 18.21 MB / 11.02 GB, free: 68.72 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0447/58.7, allocations: 12.86 MB / 11.03 GB, free: 67.96 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006265/58.7, allocations: 18.19 kB / 11.03 GB, free: 67.95 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004778/58.7, allocations: 10.19 kB / 11.03 GB, free: 67.95 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002999/58.7, allocations: 180.4 kB / 11.03 GB, free: 67.95 MB / 1.104 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.1752/58.88, allocations: 72.79 MB / 11.1 GB, free: 33.99 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02131/58.9, allocations: 10.22 MB / 11.11 GB, free: 33.84 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01812/58.92, allocations: 8.78 MB / 11.12 GB, free: 33.76 MB / 1.104 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.09373/59.01, allocations: 30 MB / 11.15 GB, free: 24.89 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01911/59.03, allocations: 7.942 MB / 11.16 GB, free: 24.71 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07765/59.11, allocations: 14.86 MB / 11.17 GB, free: 23.39 MB / 1.104 GB Notification: Performance of pre-optimization done (n=426): time 4.887e-05/59.11, allocations: 4 kB / 11.17 GB, free: 23.38 MB / 1.104 GB Notification: Performance of matching and sorting (n=428): time 0.1359/59.25, allocations: 36.81 MB / 11.21 GB, free: 5.777 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/59.25, allocations: 104.2 kB / 11.21 GB, free: 5.664 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04734/59.29, allocations: 12.37 MB / 11.22 GB, free: 12.98 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.003597/59.3, allocations: 43.66 kB / 11.22 GB, free: 12.93 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01409/59.31, allocations: 6.666 MB / 11.23 GB, free: 6.82 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.005032/59.32, allocations: 1.401 MB / 11.23 GB, free: 5.523 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003352/59.32, allocations: 3.375 kB / 11.23 GB, free: 5.523 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0008776/59.32, allocations: 0.5576 MB / 11.23 GB, free: 5.035 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0247/59.34, allocations: 7.28 MB / 11.24 GB, free: 0 / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.155/60.5, allocations: 9.518 MB / 11.25 GB, free: 95.53 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02496/60.52, allocations: 8.027 MB / 11.25 GB, free: 95.41 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001488/60.52, allocations: 15.19 kB / 11.25 GB, free: 95.41 MB / 1.12 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.08171/60.61, allocations: 22.78 MB / 11.28 GB, free: 95.15 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.007642/60.61, allocations: 34.87 MB / 11.31 GB, free: 59.14 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003514/60.61, allocations: 52.27 kB / 11.31 GB, free: 59.14 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311/61.93, allocations: 143.5 MB / 11.45 GB, free: 58.43 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0164/61.94, allocations: 1.483 MB / 11.45 GB, free: 58.43 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07103/62.01, allocations: 23.24 MB / 11.47 GB, free: 54.42 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02849/62.04, allocations: 0.8842 MB / 11.48 GB, free: 54.37 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004616/62.05, allocations: 0.7405 MB / 11.48 GB, free: 54.37 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/62.05, allocations: 1.906 kB / 11.48 GB, free: 54.37 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.16/63.21, allocations: 102.5 MB / 11.58 GB, free: 26.23 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002718/63.21, allocations: 53.42 kB / 11.58 GB, free: 26.18 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461/65.67, allocations: 143.6 MB / 11.72 GB, free: 154.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01311/65.68, allocations: 1.47 MB / 11.72 GB, free: 154.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0867/65.77, allocations: 25.94 MB / 11.74 GB, free: 151.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02698/65.79, allocations: 0.8545 MB / 11.74 GB, free: 151.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004512/65.8, allocations: 0.7021 MB / 11.75 GB, free: 151.9 MB / 1.182 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpSouth.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: 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 (661): * Single equations (assignments): 649 * 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 {31 39,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.007319/65.81, allocations: 293.8 kB / 11.75 GB, free: 151.8 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06118/65.87, allocations: 18.74 MB / 11.76 GB, free: 151.6 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007087/65.87, allocations: 1.214 MB / 11.76 GB, free: 151.6 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06548/65.94, allocations: 16.83 MB / 11.78 GB, free: 151.2 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001525/65.94, allocations: 54.73 kB / 11.78 GB, free: 151.2 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/65.94, allocations: 0 / 11.78 GB, free: 151.2 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03747/65.98, allocations: 12.08 MB / 11.79 GB, free: 150.8 MB / 1.182 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.09527/66.07, allocations: 33.24 MB / 11.83 GB, free: 144.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.159e-05/66.07, allocations: 2.344 kB / 11.83 GB, free: 144.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01109/66.08, allocations: 0.7935 MB / 11.83 GB, free: 144.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3294/66.41, allocations: 40.71 MB / 11.87 GB, free: 144.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001782/66.42, allocations: 72.22 kB / 11.87 GB, free: 144.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03061/66.45, allocations: 11.88 MB / 11.88 GB, free: 140.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/66.45, allocations: 4.469 kB / 11.88 GB, free: 140.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06177/66.51, allocations: 20.88 MB / 11.9 GB, free: 139.2 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01231/66.52, allocations: 2.631 MB / 11.9 GB, free: 138.4 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006226/66.53, allocations: 12.17 kB / 11.9 GB, free: 138.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02017/66.55, allocations: 0.7007 MB / 11.9 GB, free: 138.3 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002353/66.55, allocations: 307.6 kB / 11.9 GB, free: 138.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00191/66.55, allocations: 205.4 kB / 11.9 GB, free: 138.3 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.02526/66.58, allocations: 8.816 MB / 11.91 GB, free: 138 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.132e-06/66.58, allocations: 0 / 11.91 GB, free: 138 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.06499/66.64, allocations: 6.255 MB / 11.92 GB, free: 138 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (372): * Single equations (assignments): 352 * 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 {30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.06776/66.71, allocations: 25.94 MB / 11.94 GB, free: 134.1 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.0946/66.8, allocations: 27.99 MB / 11.97 GB, free: 127.7 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/66.8, allocations: 1.375 kB / 11.97 GB, free: 127.7 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.02248/66.83, allocations: 6.92 MB / 11.98 GB, free: 124.3 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05724/66.88, allocations: 6.663 MB / 11.98 GB, free: 120.6 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08082/66.97, allocations: 22.82 MB / 12 GB, free: 102.9 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01572/66.98, allocations: 7.206 MB / 12.01 GB, free: 97.89 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.04758/67.03, allocations: 6.136 MB / 12.02 GB, free: 93.94 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01481/67.04, allocations: 6.079 MB / 12.02 GB, free: 88.33 MB / 1.182 GB Notification: Performance of SimCode: time 1.894e-06/67.04, allocations: 0 / 12.02 GB, free: 88.33 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.413/70.46, allocations: 496.1 MB / 12.51 GB, free: 2.082 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/70.46, allocations: 178.9 kB / 12.51 GB, free: 1.883 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.37/102.8, allocations: 7.875 kB / 12.51 GB, free: 1.875 MB / 1.182 GB