Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.Performance.Example1v2.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.Performance.Example1v2,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.017/4.017, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.593e-05/4.609e-05, allocations: 5.984 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2413, allocations: 98.74 MB / 0.6347 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.227/1.469, allocations: 407.4 MB / 1.033 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/1.469, allocations: 91.83 kB / 1.033 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 12.41/13.88, allocations: 2.272 GB / 3.305 GB, free: 40.58 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.925e-06/13.88, allocations: 7.922 kB / 3.305 GB, free: 40.57 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.002074/13.88, allocations: 259.4 kB / 3.305 GB, free: 40.32 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1415 * Number of variables: 1415 Notification: Performance of Generate backend data structure: time 0.04159/13.92, allocations: 7.293 MB / 3.312 GB, free: 32.96 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/13.92, allocations: 8.031 kB / 3.312 GB, free: 32.96 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004438/13.92, allocations: 0.7523 MB / 3.313 GB, free: 32.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/13.94, allocations: 1.274 MB / 3.314 GB, free: 30.91 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05141/13.99, allocations: 12.6 MB / 3.326 GB, free: 18.29 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000783/13.99, allocations: 435.1 kB / 3.327 GB, free: 17.86 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003933/13.99, allocations: 0.5819 MB / 3.327 GB, free: 17.28 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04121/14.03, allocations: 13.46 MB / 3.341 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000479/14.03, allocations: 23.84 kB / 3.341 GB, free: 3.531 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003569/14.04, allocations: 243.9 kB / 3.341 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001277/14.04, allocations: 136 kB / 3.341 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05104/14.09, allocations: 18.06 MB / 3.359 GB, free: 1.078 MB / 0.8698 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 1.531/15.62, allocations: 55.33 MB / 3.413 GB, free: 78.54 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0196/15.64, allocations: 8.697 MB / 3.421 GB, free: 78.45 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01987/15.66, allocations: 9.256 MB / 3.43 GB, free: 78.19 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08239/15.74, allocations: 26.29 MB / 3.456 GB, free: 71.15 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01779/15.76, allocations: 7.457 MB / 3.463 GB, free: 71 MB / 0.8699 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.1008/15.86, allocations: 21.18 MB / 3.484 GB, free: 70.39 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=300): time 3.618e-05/15.86, allocations: 0 / 3.484 GB, free: 70.39 MB / 0.8699 GB Notification: Performance of matching and sorting (n=300): time 0.04992/15.91, allocations: 14.49 MB / 3.498 GB, free: 69.77 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.019e-05/15.91, allocations: 138.1 kB / 3.498 GB, free: 69.64 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02162/15.93, allocations: 7.377 MB / 3.505 GB, free: 69.16 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 0.002708/15.93, allocations: 97.52 kB / 3.505 GB, free: 69.13 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.006838/15.94, allocations: 4.042 MB / 3.509 GB, free: 68.25 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 0.003933/15.95, allocations: 1.082 MB / 3.51 GB, free: 67.73 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002531/15.95, allocations: 92.62 kB / 3.51 GB, free: 67.73 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 0.0005242/15.95, allocations: 488.8 kB / 3.511 GB, free: 67.41 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01511/15.96, allocations: 6.075 MB / 3.517 GB, free: 67.4 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01679/15.98, allocations: 7.898 MB / 3.525 GB, free: 65.14 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01748/16, allocations: 6.994 MB / 3.531 GB, free: 64.97 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.927e-05/16, allocations: 15.5 kB / 3.531 GB, free: 64.97 MB / 0.8699 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.05406/16.05, allocations: 16.36 MB / 3.547 GB, free: 64.31 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 0.005515/16.06, allocations: 25.34 MB / 3.572 GB, free: 37.66 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001861/16.06, allocations: 45.41 kB / 3.572 GB, free: 37.66 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1319/16.19, allocations: 10.9 MB / 3.583 GB, free: 36.84 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01633/16.21, allocations: 1.595 MB / 3.584 GB, free: 36.83 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/16.22, allocations: 6.083 MB / 3.59 GB, free: 33.14 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01984/16.24, allocations: 0.6035 MB / 3.591 GB, free: 32.98 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003416/16.24, allocations: 0.5396 MB / 3.591 GB, free: 32.95 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/16.24, allocations: 7.031 kB / 3.591 GB, free: 32.95 MB / 0.8699 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04932/16.29, allocations: 15.71 MB / 3.607 GB, free: 27.33 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001835/16.29, allocations: 48.62 kB / 3.607 GB, free: 27.33 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1311/16.43, allocations: 10.61 MB / 3.617 GB, free: 26.29 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01626/16.44, allocations: 1.599 MB / 3.619 GB, free: 26.25 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02135/16.46, allocations: 9.963 MB / 3.628 GB, free: 19.84 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01921/16.48, allocations: 0.5741 MB / 3.629 GB, free: 19.7 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003429/16.49, allocations: 0.5374 MB / 3.63 GB, free: 19.66 MB / 0.8699 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.005291/16.49, allocations: 401.6 kB / 3.63 GB, free: 19.43 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005175/16.5, allocations: 0.755 MB / 3.631 GB, free: 19.03 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04787/16.54, allocations: 13.5 MB / 3.644 GB, free: 11.09 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.513e-05/16.54, allocations: 32 kB / 3.644 GB, free: 11.06 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/16.54, allocations: 0 / 3.644 GB, free: 11.06 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02744/16.57, allocations: 10.09 MB / 3.654 GB, free: 1.977 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08205/16.65, allocations: 24.23 MB / 3.677 GB, free: 15.37 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.614e-05/16.65, allocations: 0 / 3.677 GB, free: 15.37 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01069/16.66, allocations: 0.7021 MB / 3.678 GB, free: 14.82 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1319/16.8, allocations: 9.923 MB / 3.688 GB, free: 7.559 MB / 0.9012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001594/16.8, allocations: 105.2 kB / 3.688 GB, free: 7.477 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008865/16.81, allocations: 4.255 MB / 3.692 GB, free: 3.254 MB / 0.9012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/16.81, allocations: 2.438 kB / 3.692 GB, free: 3.254 MB / 0.9012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7937/17.6, allocations: 18.41 MB / 3.71 GB, free: 124.4 MB / 0.9012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01017/17.61, allocations: 1.98 MB / 3.712 GB, free: 123.9 MB / 0.9012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004502/17.62, allocations: 71.72 kB / 3.712 GB, free: 123.9 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01434/17.63, allocations: 422 kB / 3.712 GB, free: 123.9 MB / 0.9012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002101/17.63, allocations: 223 kB / 3.713 GB, free: 123.8 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001859/17.63, allocations: 156 kB / 3.713 GB, free: 123.8 MB / 0.9012 GB Notification: Performance of sorting global known variables: time 0.01894/17.65, allocations: 5.725 MB / 3.718 GB, free: 123.6 MB / 0.9012 GB Notification: Performance of sort global known variables: time 1.192e-06/17.65, allocations: 2.062 kB / 3.718 GB, free: 123.6 MB / 0.9012 GB Notification: Performance of remove unused functions: time 0.03143/17.68, allocations: 4.919 MB / 3.723 GB, free: 123.4 MB / 0.9012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.05016/17.74, allocations: 19.66 MB / 3.742 GB, free: 122 MB / 0.9012 GB Notification: Performance of simCode: created initialization part: time 0.05812/17.79, allocations: 23.06 MB / 3.765 GB, free: 121.2 MB / 0.9012 GB Notification: Performance of simCode: created event and clocks part: time 1.605e-05/17.79, allocations: 6.562 kB / 3.765 GB, free: 121.2 MB / 0.9012 GB Notification: Performance of simCode: created simulation system equations: time 0.01424/17.81, allocations: 6.017 MB / 3.771 GB, free: 121 MB / 0.9012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03904/17.85, allocations: 4.618 MB / 3.775 GB, free: 120.9 MB / 0.9012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06197/17.91, allocations: 19.49 MB / 3.794 GB, free: 118.1 MB / 0.9012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01054/17.92, allocations: 5.376 MB / 3.8 GB, free: 117.2 MB / 0.9012 GB Notification: Performance of simCode: alias equations: time 0.04851/17.97, allocations: 7.961 MB / 3.807 GB, free: 117.1 MB / 0.9012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01433/17.98, allocations: 3.674 MB / 3.811 GB, free: 117.1 MB / 0.9012 GB Notification: Performance of SimCode: time 2.114e-06/17.98, allocations: 2.156 kB / 3.811 GB, free: 117.1 MB / 0.9012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.38/19.36, allocations: 301.7 MB / 4.106 GB, free: 126.1 MB / 0.9168 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/19.36, allocations: 224.4 kB / 4.106 GB, free: 125.9 MB / 0.9168 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.57/35.93, allocations: 0 / 4.106 GB, free: 125.9 MB / 0.9168 GB