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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.298/4.298, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.393e-05/5.405e-05, allocations: 3.531 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2472, allocations: 98.73 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.321/1.568, allocations: 447.3 MB / 1.071 GB, free: 8.156 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/1.568, allocations: 89.58 kB / 1.072 GB, free: 8.113 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 35.89/37.46, allocations: 6.184 GB / 7.255 GB, free: 73.5 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.525e-06/37.46, allocations: 1.969 kB / 7.255 GB, free: 73.5 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.004983/37.46, allocations: 0.5383 MB / 7.256 GB, free: 73.38 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.07385/37.54, allocations: 14.04 MB / 7.27 GB, free: 67.44 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/37.54, allocations: 10.98 kB / 7.27 GB, free: 67.44 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006411/37.54, allocations: 1.043 MB / 7.271 GB, free: 67.35 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02308/37.56, allocations: 2.453 MB / 7.273 GB, free: 66.35 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1105/37.68, allocations: 23.43 MB / 7.296 GB, free: 63.75 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001474/37.68, allocations: 0.7143 MB / 7.297 GB, free: 63.74 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006948/37.68, allocations: 1.018 MB / 7.298 GB, free: 63.72 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05546/37.74, allocations: 16.6 MB / 7.314 GB, free: 61.91 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006164/37.74, allocations: 18.78 kB / 7.314 GB, free: 61.91 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005191/37.75, allocations: 359.8 kB / 7.314 GB, free: 61.91 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000274/37.75, allocations: 212 kB / 7.315 GB, free: 61.91 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05346/37.8, allocations: 19.42 MB / 7.333 GB, free: 61.84 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.2842/38.08, allocations: 78.12 MB / 7.41 GB, free: 29.6 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03376/38.12, allocations: 12.22 MB / 7.422 GB, free: 29.13 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02197/38.14, allocations: 9.421 MB / 7.431 GB, free: 29.04 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.1144/38.25, allocations: 33.68 MB / 7.464 GB, free: 20.3 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02536/38.28, allocations: 9.325 MB / 7.473 GB, free: 20.13 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08023/38.36, allocations: 15.16 MB / 7.488 GB, free: 19.16 MB / 1.089 GB Notification: Performance of pre-optimization done (n=605): time 5.647e-05/38.36, allocations: 0 / 7.488 GB, free: 19.16 MB / 1.089 GB Notification: Performance of matching and sorting (n=859): time 2.569/40.93, allocations: 168.8 MB / 7.653 GB, free: 103.6 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009216/40.93, allocations: 2.531 MB / 7.655 GB, free: 100.6 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04968/40.98, allocations: 14.63 MB / 7.669 GB, free: 99.88 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.005329/40.98, allocations: 280.9 kB / 7.67 GB, free: 99.85 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01551/41, allocations: 7.936 MB / 7.677 GB, free: 99.38 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.007537/41.01, allocations: 2.973 MB / 7.68 GB, free: 98.88 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004741/41.01, allocations: 211 kB / 7.68 GB, free: 98.88 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.001268/41.01, allocations: 0.7592 MB / 7.681 GB, free: 98.55 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02793/41.04, allocations: 9.53 MB / 7.69 GB, free: 98.53 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03247/41.07, allocations: 13.26 MB / 7.703 GB, free: 94.62 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03211/41.11, allocations: 11.05 MB / 7.714 GB, free: 94.36 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002056/41.11, allocations: 12.06 kB / 7.714 GB, free: 94.36 MB / 1.12 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 1.57/42.68, allocations: 129.5 MB / 7.841 GB, free: 90.38 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.009354/42.69, allocations: 33.16 MB / 7.873 GB, free: 56 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009206/42.69, allocations: 114.6 kB / 7.873 GB, free: 56 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575/45.26, allocations: 152 MB / 8.022 GB, free: 147 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05474/45.32, allocations: 2.186 MB / 8.024 GB, free: 147 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3473/45.66, allocations: 75.81 MB / 8.098 GB, free: 139.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03399/45.7, allocations: 1.205 MB / 8.099 GB, free: 139.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006266/45.7, allocations: 0.9116 MB / 8.1 GB, free: 139.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/45.7, allocations: 8.719 kB / 8.1 GB, free: 139.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.285/46.99, allocations: 128 MB / 8.225 GB, free: 138.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007073/46.99, allocations: 112.5 kB / 8.225 GB, free: 138.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381/48.37, allocations: 152.5 MB / 8.374 GB, free: 50.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01965/48.39, allocations: 2.169 MB / 8.376 GB, free: 48.09 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55/49.94, allocations: 82.45 MB / 8.457 GB, free: 141.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03341/49.97, allocations: 1.185 MB / 8.458 GB, free: 141.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0063/49.98, allocations: 0.8652 MB / 8.459 GB, free: 141.9 MB / 1.167 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 (990): * Single equations (assignments): 910 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,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: 2 {33 119,33 119} Notification: Performance of prepare postOptimizeDAE: time 0.01096/49.99, allocations: 0.7273 MB / 8.459 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009729/50, allocations: 1.554 MB / 8.461 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3775/50.38, allocations: 50.63 MB / 8.51 GB, free: 141 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002574/50.38, allocations: 107.2 kB / 8.51 GB, free: 141 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001528/50.38, allocations: 27.44 kB / 8.51 GB, free: 141 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.344/50.72, allocations: 44.6 MB / 8.554 GB, free: 140 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4232/51.15, allocations: 69.52 MB / 8.622 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001469/51.15, allocations: 0 / 8.622 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01477/51.16, allocations: 1.376 MB / 8.623 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3637/51.53, allocations: 44.72 MB / 8.667 GB, free: 135.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003528/51.53, allocations: 343.5 kB / 8.667 GB, free: 135.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.122/51.65, allocations: 33.13 MB / 8.7 GB, free: 126.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/51.65, allocations: 5.156 kB / 8.7 GB, free: 126.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4157/52.07, allocations: 58.04 MB / 8.756 GB, free: 94.09 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01775/52.09, allocations: 3.63 MB / 8.76 GB, free: 91.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009519/52.09, allocations: 282.7 kB / 8.76 GB, free: 91.81 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02619/52.12, allocations: 1.035 MB / 8.761 GB, free: 91.28 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004715/52.13, allocations: 0.6074 MB / 8.762 GB, free: 90.98 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003339/52.13, allocations: 344.5 kB / 8.762 GB, free: 90.75 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.03302/52.16, allocations: 11.18 MB / 8.773 GB, free: 84.42 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.142e-06/52.16, allocations: 0 / 8.773 GB, free: 84.42 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.06432/52.23, allocations: 8.745 MB / 8.781 GB, free: 76.8 MB / 1.167 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 (668): * Single equations (assignments): 644 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,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: 2 {33 118,33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.3801/52.61, allocations: 63.28 MB / 8.843 GB, free: 33.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 1.331/53.94, allocations: 44.24 MB / 8.886 GB, free: 140 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-05/53.94, allocations: 11.09 kB / 8.886 GB, free: 140 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.04025/53.98, allocations: 11.24 MB / 8.897 GB, free: 139.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07036/54.05, allocations: 7.811 MB / 8.905 GB, free: 139.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1264/54.17, allocations: 33.58 MB / 8.938 GB, free: 133.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02664/54.2, allocations: 9.442 MB / 8.947 GB, free: 132.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.06266/54.26, allocations: 8.486 MB / 8.955 GB, free: 132.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02273/54.29, allocations: 7.861 MB / 8.963 GB, free: 132.3 MB / 1.167 GB Notification: Performance of SimCode: time 3.567e-06/54.29, allocations: 0 / 8.963 GB, free: 132.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4/58.29, allocations: 0.6642 GB / 9.627 GB, free: 26.88 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/58.29, allocations: 223.6 kB / 9.627 GB, free: 26.65 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 42.43/100.7, allocations: 1.203 kB / 9.627 GB, free: 26.65 MB / 1.182 GB