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.Basic.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.Basic,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.615/4.615, allocations: 433.2 MB / 440.7 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.111e-05, allocations: 3.188 kB / 0.5325 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2448, allocations: 98.74 MB / 0.6289 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.317/1.562, allocations: 446.6 MB / 1.065 GB, free: 4.051 MB / 0.8074 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003446/1.563, allocations: 93.33 kB / 1.065 GB, free: 4.008 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 35.74/37.3, allocations: 6.154 GB / 7.219 GB, free: 65.59 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.274e-06/37.3, allocations: 0 / 7.219 GB, free: 65.59 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.005021/37.31, allocations: 0.5304 MB / 7.219 GB, free: 65.46 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: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.07209/37.38, allocations: 14.05 MB / 7.233 GB, free: 59.52 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/37.38, allocations: 14.31 kB / 7.233 GB, free: 59.52 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02277/37.4, allocations: 2.447 MB / 7.235 GB, free: 58.52 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1087/37.51, allocations: 23.44 MB / 7.258 GB, free: 55.84 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007377/37.51, allocations: 253.7 kB / 7.258 GB, free: 55.84 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006337/37.52, allocations: 0.5852 MB / 7.259 GB, free: 55.84 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05133/37.57, allocations: 19.78 MB / 7.278 GB, free: 55.8 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05296/37.62, allocations: 15.43 MB / 7.293 GB, free: 53.98 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007152/37.62, allocations: 15.22 kB / 7.293 GB, free: 53.97 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005226/37.63, allocations: 19.81 kB / 7.293 GB, free: 53.97 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003036/37.63, allocations: 210.6 kB / 7.294 GB, free: 53.97 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.2021/37.83, allocations: 76.79 MB / 7.369 GB, free: 21.66 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02905/37.86, allocations: 13.1 MB / 7.381 GB, free: 21.21 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02014/37.88, allocations: 9.788 MB / 7.391 GB, free: 21.09 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.1284/38.01, allocations: 33.41 MB / 7.424 GB, free: 11.91 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0236/38.03, allocations: 9.138 MB / 7.433 GB, free: 8.625 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07942/38.11, allocations: 14.96 MB / 7.447 GB, free: 7.215 MB / 1.073 GB Notification: Performance of pre-optimization done (n=605): time 6.709e-05/38.11, allocations: 1.969 kB / 7.447 GB, free: 7.215 MB / 1.073 GB Notification: Performance of matching and sorting (n=607): time 2.433/40.55, allocations: 141.6 MB / 7.585 GB, free: 97.09 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008264/40.55, allocations: 2.507 MB / 7.588 GB, free: 94.08 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04652/40.59, allocations: 13.76 MB / 7.601 GB, free: 93.41 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.005223/40.6, allocations: 44.77 kB / 7.601 GB, free: 93.38 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.01565/40.61, allocations: 7.799 MB / 7.609 GB, free: 92.89 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.006323/40.62, allocations: 2.063 MB / 7.611 GB, free: 92.78 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004437/40.63, allocations: 2.719 kB / 7.611 GB, free: 92.78 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.001238/40.63, allocations: 0.6775 MB / 7.612 GB, free: 92.46 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02263/40.65, allocations: 8.518 MB / 7.62 GB, free: 92.43 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02731/40.68, allocations: 12.01 MB / 7.632 GB, free: 88.56 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03212/40.71, allocations: 9.979 MB / 7.641 GB, free: 88.42 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001705/40.71, allocations: 14.62 kB / 7.641 GB, free: 88.42 MB / 1.104 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 1.336/42.05, allocations: 125.2 MB / 7.764 GB, free: 85.12 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.009237/42.05, allocations: 33.03 MB / 7.796 GB, free: 50.77 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008858/42.06, allocations: 113.1 kB / 7.796 GB, free: 50.76 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45/43.51, allocations: 144.6 MB / 7.937 GB, free: 3.883 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0221/43.53, allocations: 2.024 MB / 7.939 GB, free: 2.012 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428/44.96, allocations: 68.69 MB / 8.006 GB, free: 136.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03196/44.99, allocations: 0.9395 MB / 8.007 GB, free: 136.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005544/44.99, allocations: 0.8274 MB / 8.008 GB, free: 136.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/44.99, allocations: 5.969 kB / 8.008 GB, free: 136.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.235/46.23, allocations: 122.1 MB / 8.127 GB, free: 135.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006844/46.23, allocations: 113 kB / 8.127 GB, free: 135.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381/47.61, allocations: 144.5 MB / 8.269 GB, free: 82.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01774/47.63, allocations: 2 MB / 8.27 GB, free: 80.35 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2808/47.91, allocations: 73.23 MB / 8.342 GB, free: 27.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03085/47.94, allocations: 0.9204 MB / 8.343 GB, free: 26.76 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005408/47.95, allocations: 0.7803 MB / 8.344 GB, free: 26.05 MB / 1.151 GB 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 (889): * Single equations (assignments): 811 * 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 {33 119} Notification: Performance of prepare postOptimizeDAE: time 0.009045/47.96, allocations: 344.2 kB / 8.344 GB, free: 25.86 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 2.38/50.34, allocations: 119.3 MB / 8.46 GB, free: 133.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008574/50.34, allocations: 1.468 MB / 8.462 GB, free: 133.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3326/50.68, allocations: 44.26 MB / 8.505 GB, free: 132.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002972/50.68, allocations: 71.16 kB / 8.505 GB, free: 132.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002641/50.68, allocations: 31.05 kB / 8.505 GB, free: 132.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3198/51, allocations: 39.13 MB / 8.543 GB, free: 132.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3563/51.35, allocations: 59.15 MB / 8.601 GB, free: 127.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.291e-05/51.35, allocations: 0 / 8.601 GB, free: 127.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01191/51.37, allocations: 1.066 MB / 8.602 GB, free: 127.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3214/51.69, allocations: 41.81 MB / 8.643 GB, free: 118.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002531/51.69, allocations: 149 kB / 8.643 GB, free: 118.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09876/51.79, allocations: 28.75 MB / 8.671 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.908e-06/51.79, allocations: 0 / 8.671 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3565/52.14, allocations: 49.78 MB / 8.72 GB, free: 64.29 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02061/52.17, allocations: 3.148 MB / 8.723 GB, free: 61.86 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008028/52.17, allocations: 81.67 kB / 8.723 GB, free: 61.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02286/52.2, allocations: 0.8349 MB / 8.724 GB, free: 61 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003908/52.2, allocations: 433.2 kB / 8.724 GB, free: 60.62 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002435/52.2, allocations: 254.9 kB / 8.724 GB, free: 60.43 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.02873/52.23, allocations: 10.33 MB / 8.735 GB, free: 53.57 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.082e-06/52.23, allocations: 0 / 8.735 GB, free: 53.57 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.06578/52.3, allocations: 7.811 MB / 8.742 GB, free: 46.26 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 (502): * Single equations (assignments): 480 * 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 {33 119} Notification: Performance of Backend phase and start with SimCode phase: time 1.525/53.82, allocations: 54.57 MB / 8.795 GB, free: 122.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.1198/53.94, allocations: 36.52 MB / 8.831 GB, free: 119.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-05/53.94, allocations: 12.25 kB / 8.831 GB, free: 119.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0301/53.97, allocations: 8.688 MB / 8.84 GB, free: 118.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06729/54.04, allocations: 7.592 MB / 8.847 GB, free: 118.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1105/54.15, allocations: 29.77 MB / 8.876 GB, free: 113.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02284/54.17, allocations: 8.914 MB / 8.885 GB, free: 111.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.05897/54.23, allocations: 8.003 MB / 8.893 GB, free: 111.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02065/54.25, allocations: 7.413 MB / 8.9 GB, free: 111.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.964e-06/54.25, allocations: 0 / 8.9 GB, free: 111.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.56/57.81, allocations: 0.566 GB / 9.466 GB, free: 115 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002794/57.81, allocations: 171.2 kB / 9.466 GB, free: 114.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.14/94.96, allocations: 4 kB / 9.466 GB, free: 114.8 MB / 1.167 GB