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.Simplified1.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.Simplified1,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.271/4.271, allocations: 433.2 MB / 440.7 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.258e-05/3.263e-05, allocations: 3.875 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2452, allocations: 98.74 MB / 0.6289 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.316/1.561, allocations: 446.8 MB / 1.065 GB, free: 3.781 MB / 0.8074 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/1.562, allocations: 91.64 kB / 1.065 GB, free: 3.738 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 48.22/49.79, allocations: 8.341 GB / 9.406 GB, free: 76.59 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.475e-06/49.79, allocations: 0 / 9.406 GB, free: 76.59 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.00529/49.79, allocations: 0.5147 MB / 9.407 GB, free: 76.48 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: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.0751/49.87, allocations: 14.03 MB / 9.42 GB, free: 70.54 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/49.87, allocations: 10.12 kB / 9.42 GB, free: 70.54 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02351/49.89, allocations: 2.452 MB / 9.423 GB, free: 69.54 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1121/50, allocations: 23.36 MB / 9.446 GB, free: 66.91 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008068/50, allocations: 255.4 kB / 9.446 GB, free: 66.91 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006682/50.01, allocations: 0.5799 MB / 9.446 GB, free: 66.91 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05204/50.06, allocations: 19.59 MB / 9.466 GB, free: 66.88 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05462/50.12, allocations: 15.28 MB / 9.48 GB, free: 65.09 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006644/50.12, allocations: 12.61 kB / 9.481 GB, free: 65.09 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005168/50.12, allocations: 22.84 kB / 9.481 GB, free: 65.09 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003563/50.12, allocations: 214.2 kB / 9.481 GB, free: 65.09 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.2074/50.33, allocations: 77.62 MB / 9.557 GB, free: 31.44 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02797/50.36, allocations: 12.34 MB / 9.569 GB, free: 31.01 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01983/50.38, allocations: 9.241 MB / 9.578 GB, free: 30.95 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.1404/50.52, allocations: 32.84 MB / 9.61 GB, free: 22.03 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02205/50.54, allocations: 8.927 MB / 9.618 GB, free: 21.87 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08001/50.62, allocations: 14.96 MB / 9.633 GB, free: 20.92 MB / 1.089 GB Notification: Performance of pre-optimization done (n=581): time 5.854e-05/50.62, allocations: 0 / 9.633 GB, free: 20.92 MB / 1.089 GB Notification: Performance of matching and sorting (n=583): time 2.415/53.04, allocations: 139 MB / 9.769 GB, free: 93.84 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009758/53.04, allocations: 2.507 MB / 9.771 GB, free: 90.83 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05544/53.09, allocations: 13.8 MB / 9.785 GB, free: 90.16 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.005312/53.1, allocations: 46.17 kB / 9.785 GB, free: 90.12 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.02001/53.12, allocations: 7.885 MB / 9.792 GB, free: 89.74 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.007342/53.13, allocations: 1.983 MB / 9.794 GB, free: 89.62 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00477/53.13, allocations: 0 / 9.794 GB, free: 89.62 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.001397/53.13, allocations: 0.6769 MB / 9.795 GB, free: 89.3 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02616/53.16, allocations: 8.361 MB / 9.803 GB, free: 89.28 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04508/53.2, allocations: 11.82 MB / 9.815 GB, free: 85.4 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05681/53.26, allocations: 9.824 MB / 9.824 GB, free: 85.27 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000141/53.26, allocations: 18.22 kB / 9.824 GB, free: 85.27 MB / 1.104 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 1.236/54.5, allocations: 124.3 MB / 9.946 GB, free: 82.6 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.007811/54.5, allocations: 36.78 MB / 9.982 GB, free: 45.18 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007517/54.5, allocations: 114.3 kB / 9.982 GB, free: 45.18 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311/55.82, allocations: 143.7 MB / 10.12 GB, free: 288 kB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02293/55.84, allocations: 2.121 MB / 10.12 GB, free: 14.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399/57.24, allocations: 67.43 MB / 10.19 GB, free: 133.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03708/57.27, allocations: 0.9582 MB / 10.19 GB, free: 133.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007014/57.28, allocations: 0.8312 MB / 10.19 GB, free: 133.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/57.28, allocations: 3.969 kB / 10.19 GB, free: 133.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.282/58.56, allocations: 121.6 MB / 10.31 GB, free: 132.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006727/58.56, allocations: 116.5 kB / 10.31 GB, free: 132.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3/59.86, allocations: 143.5 MB / 10.45 GB, free: 91.89 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01856/59.88, allocations: 2.098 MB / 10.45 GB, free: 89.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2699/60.15, allocations: 69.53 MB / 10.52 GB, free: 39.39 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03026/60.18, allocations: 0.9231 MB / 10.52 GB, free: 38.53 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005266/60.19, allocations: 0.7927 MB / 10.52 GB, free: 37.81 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (937): * Single equations (assignments): 859 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {39 65} Notification: Performance of prepare postOptimizeDAE: time 0.008695/60.2, allocations: 347.6 kB / 10.52 GB, free: 37.62 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 2.333/62.53, allocations: 118.5 MB / 10.64 GB, free: 122.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008615/62.54, allocations: 1.472 MB / 10.64 GB, free: 122.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3217/62.86, allocations: 43.39 MB / 10.68 GB, free: 122.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002322/62.86, allocations: 68 kB / 10.68 GB, free: 122.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001376/62.86, allocations: 29.98 kB / 10.68 GB, free: 122.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3186/63.18, allocations: 38.35 MB / 10.72 GB, free: 121.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3496/63.53, allocations: 57.89 MB / 10.78 GB, free: 117.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001104/63.53, allocations: 2.469 kB / 10.78 GB, free: 117.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01286/63.54, allocations: 1.122 MB / 10.78 GB, free: 117.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3151/63.86, allocations: 40.98 MB / 10.82 GB, free: 117.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002708/63.86, allocations: 148.3 kB / 10.82 GB, free: 117.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09337/63.95, allocations: 27.56 MB / 10.84 GB, free: 109.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/63.95, allocations: 0.75 kB / 10.84 GB, free: 109.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3082/64.26, allocations: 48.77 MB / 10.89 GB, free: 82.22 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01486/64.28, allocations: 3.096 MB / 10.89 GB, free: 80.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007854/64.28, allocations: 77.12 kB / 10.9 GB, free: 80.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02357/64.31, allocations: 0.8402 MB / 10.9 GB, free: 79.73 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00387/64.31, allocations: 427.1 kB / 10.9 GB, free: 79.52 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002311/64.31, allocations: 244.4 kB / 10.9 GB, free: 79.35 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.02976/64.34, allocations: 10.35 MB / 10.91 GB, free: 73.82 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.304e-06/64.34, allocations: 0 / 10.91 GB, free: 73.82 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.06899/64.41, allocations: 7.845 MB / 10.91 GB, free: 66.54 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * 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 (526): * Single equations (assignments): 504 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.3286/64.74, allocations: 53.8 MB / 10.97 GB, free: 23.25 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 1.203/65.95, allocations: 36.01 MB / 11 GB, free: 126.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.363e-05/65.95, allocations: 13.22 kB / 11 GB, free: 126.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.02851/65.97, allocations: 8.452 MB / 11.01 GB, free: 126.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06865/66.04, allocations: 7.575 MB / 11.02 GB, free: 126.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1048/66.15, allocations: 29.7 MB / 11.05 GB, free: 120.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02111/66.17, allocations: 8.897 MB / 11.06 GB, free: 119.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.06027/66.23, allocations: 8.205 MB / 11.06 GB, free: 119.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02151/66.25, allocations: 7.433 MB / 11.07 GB, free: 119.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.823e-06/66.25, allocations: 0 / 11.07 GB, free: 119.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.598/69.85, allocations: 0.5555 GB / 11.63 GB, free: 130.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/69.85, allocations: 171.7 kB / 11.63 GB, free: 130.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.05/107.9, allocations: 0 / 11.63 GB, free: 130.3 MB / 1.167 GB