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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01144/0.01144, allocations: 107.7 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001251/0.001251, allocations: 183.5 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.059/2.059, allocations: 194.5 MB / 211.3 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.37/2.37, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004914, allocations: 8 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6949/0.6955, allocations: 98.72 MB / 0.6834 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/1.963, allocations: 407.4 MB / 1.081 GB, free: 40.65 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/1.963, allocations: 100.4 kB / 1.081 GB, free: 40.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 12.81/14.77, allocations: 2.28 GB / 3.362 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.535e-06/14.77, allocations: 3.938 kB / 3.362 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001996/14.78, allocations: 267.9 kB / 3.362 GB, free: 108.3 MB / 0.8698 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.05466/14.83, allocations: 9.455 MB / 3.371 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/14.83, allocations: 7.469 kB / 3.371 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004537/14.84, allocations: 0.7734 MB / 3.372 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/14.85, allocations: 1.27 MB / 3.373 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04857/14.9, allocations: 12.68 MB / 3.385 GB, free: 98.37 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000735/14.9, allocations: 434.6 kB / 3.386 GB, free: 98.18 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003809/14.9, allocations: 0.5885 MB / 3.386 GB, free: 97.98 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04093/14.94, allocations: 13.62 MB / 3.4 GB, free: 89.34 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004806/14.94, allocations: 26.84 kB / 3.4 GB, free: 89.33 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003633/14.95, allocations: 239.6 kB / 3.4 GB, free: 89.15 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001516/14.95, allocations: 140.2 kB / 3.4 GB, free: 89.15 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0442/14.99, allocations: 18.34 MB / 3.418 GB, free: 73.24 MB / 0.8698 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1448/15.13, allocations: 55.44 MB / 3.472 GB, free: 17.06 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01954/15.15, allocations: 8.839 MB / 3.481 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7947/15.95, allocations: 26.34 MB / 3.506 GB, free: 113 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02126/15.97, allocations: 7.565 MB / 3.514 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.1003/16.07, allocations: 21.17 MB / 3.535 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=300): time 3.66e-05/16.07, allocations: 0 / 3.535 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=300): time 0.08347/16.15, allocations: 22.55 MB / 3.557 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.922e-05/16.15, allocations: 135.9 kB / 3.557 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02002/16.17, allocations: 7.459 MB / 3.564 GB, free: 111 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.002731/16.18, allocations: 97.42 kB / 3.564 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.006154/16.18, allocations: 4.044 MB / 3.568 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003769/16.19, allocations: 1.076 MB / 3.569 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002263/16.19, allocations: 87.78 kB / 3.569 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.00044/16.19, allocations: 496 kB / 3.57 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01529/16.21, allocations: 6.183 MB / 3.576 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01717/16.22, allocations: 8.001 MB / 3.583 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0191/16.24, allocations: 7.089 MB / 3.59 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.327e-05/16.24, allocations: 15.06 kB / 3.59 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.05497/16.3, allocations: 16.57 MB / 3.607 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.005677/16.3, allocations: 25.34 MB / 3.631 GB, free: 79.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002032/16.3, allocations: 47.94 kB / 3.631 GB, free: 79.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.136/16.44, allocations: 10.89 MB / 3.642 GB, free: 78.97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01632/16.46, allocations: 1.605 MB / 3.644 GB, free: 78.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01471/16.47, allocations: 6.139 MB / 3.65 GB, free: 76.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01949/16.49, allocations: 0.5906 MB / 3.65 GB, free: 75.94 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003525/16.49, allocations: 0.5451 MB / 3.651 GB, free: 75.94 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/16.49, allocations: 2.344 kB / 3.651 GB, free: 75.94 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05256/16.55, allocations: 15.91 MB / 3.666 GB, free: 75.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001815/16.55, allocations: 49.5 kB / 3.666 GB, free: 75.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1357/16.68, allocations: 10.62 MB / 3.677 GB, free: 74.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01612/16.7, allocations: 1.596 MB / 3.678 GB, free: 74.76 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02157/16.72, allocations: 10.14 MB / 3.688 GB, free: 70.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01852/16.74, allocations: 0.5721 MB / 3.689 GB, free: 69.97 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00338/16.74, allocations: 0.5326 MB / 3.689 GB, free: 69.97 MB / 0.8698 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 () * Number of clocked 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.01092/16.75, allocations: 2.634 MB / 3.692 GB, free: 69.78 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00544/16.76, allocations: 0.751 MB / 3.693 GB, free: 69.39 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0493/16.81, allocations: 13.71 MB / 3.706 GB, free: 65.82 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.129e-05/16.81, allocations: 34.5 kB / 3.706 GB, free: 65.82 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/16.81, allocations: 4 kB / 3.706 GB, free: 65.82 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02914/16.84, allocations: 10.3 MB / 3.716 GB, free: 60.83 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06432/16.9, allocations: 23.96 MB / 3.739 GB, free: 48.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.785e-05/16.9, allocations: 0 / 3.739 GB, free: 48.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009969/16.91, allocations: 0.6954 MB / 3.74 GB, free: 47.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1307/17.04, allocations: 9.931 MB / 3.75 GB, free: 40.26 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001366/17.04, allocations: 101.6 kB / 3.75 GB, free: 40.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007445/17.05, allocations: 4.326 MB / 3.754 GB, free: 35.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/17.05, allocations: 256 / 3.754 GB, free: 35.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04589/17.1, allocations: 18.41 MB / 3.772 GB, free: 19.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008975/17.11, allocations: 1.979 MB / 3.774 GB, free: 17.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004304/17.11, allocations: 71.66 kB / 3.774 GB, free: 17.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01354/17.12, allocations: 423.7 kB / 3.774 GB, free: 17.29 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001859/17.13, allocations: 221 kB / 3.775 GB, free: 17.15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00131/17.13, allocations: 161.3 kB / 3.775 GB, free: 17.02 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01564/17.14, allocations: 5.8 MB / 3.78 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.71e-07/17.14, allocations: 1.688 kB / 3.78 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.02996/17.17, allocations: 4.921 MB / 3.785 GB, free: 7.746 MB / 0.8698 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) * Number of clocked states: 0 () * 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.06441/17.24, allocations: 20.62 MB / 3.805 GB, free: 7.688 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.7792/18.02, allocations: 24.1 MB / 3.829 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/18.02, allocations: 5.812 kB / 3.829 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01688/18.03, allocations: 6.181 MB / 3.835 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04048/18.07, allocations: 4.61 MB / 3.84 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08755/18.16, allocations: 75.87 MB / 3.914 GB, free: 67.85 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009858/18.17, allocations: 5.356 MB / 3.919 GB, free: 66.98 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.03509/18.21, allocations: 5.071 MB / 3.924 GB, free: 66.82 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01488/18.22, allocations: 3.829 MB / 3.928 GB, free: 66.81 MB / 0.8855 GB Notification: Performance of SimCode: time 3.046e-06/18.22, allocations: 0 / 3.928 GB, free: 66.81 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.506/19.73, allocations: 294.2 MB / 4.215 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/19.73, allocations: 250.3 kB / 4.215 GB, free: 156 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/33.31, allocations: 0 / 4.215 GB, free: 156 MB / 0.9323 GB