Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.264/4.264, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.148e-05/5.166e-05, allocations: 4.531 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.261, allocations: 98.74 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.236/1.497, allocations: 394.2 MB / 1.02 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003789/1.497, allocations: 96.72 kB / 1.02 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 15.36/16.86, allocations: 2.634 GB / 3.654 GB, free: 45.34 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.707e-06/16.86, allocations: 0 / 3.654 GB, free: 45.34 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001801/16.86, allocations: 171.8 kB / 3.654 GB, free: 45.3 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02914/16.89, allocations: 5.911 MB / 3.66 GB, free: 42.24 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.075e-05/16.89, allocations: 6.844 kB / 3.66 GB, free: 42.24 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003109/16.9, allocations: 0.5322 MB / 3.661 GB, free: 42.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007391/16.9, allocations: 0.7715 MB / 3.661 GB, free: 41.81 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2385/17.14, allocations: 57.27 MB / 3.717 GB, free: 37.18 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004799/17.14, allocations: 318.5 kB / 3.718 GB, free: 37.17 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001732/17.14, allocations: 431.6 kB / 3.718 GB, free: 37.16 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/17.16, allocations: 4.117 MB / 3.722 GB, free: 35.03 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002031/17.16, allocations: 14.94 kB / 3.722 GB, free: 35.02 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009209/17.16, allocations: 171.5 kB / 3.722 GB, free: 34.89 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001641/17.16, allocations: 117.3 kB / 3.722 GB, free: 34.89 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01024/17.17, allocations: 2.788 MB / 3.725 GB, free: 33.78 MB / 0.948 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.04286/17.21, allocations: 23.96 MB / 3.748 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004877/17.22, allocations: 2.901 MB / 3.751 GB, free: 12.69 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00271/17.22, allocations: 1.033 MB / 3.752 GB, free: 11.71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003487/17.22, allocations: 3.941 MB / 3.756 GB, free: 7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.381e-05/17.22, allocations: 56.56 kB / 3.756 GB, free: 6.938 MB / 0.948 GB Notification: Performance of pre-optimization done (n=223): time 5.67e-06/17.22, allocations: 0 / 3.756 GB, free: 6.938 MB / 0.948 GB Notification: Performance of matching and sorting (n=223): time 0.00886/17.23, allocations: 2.547 MB / 3.759 GB, free: 4.555 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/17.23, allocations: 77.36 kB / 3.759 GB, free: 4.465 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009824/17.24, allocations: 3.599 MB / 3.762 GB, free: 1.215 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006796/17.24, allocations: 73.7 kB / 3.762 GB, free: 1.137 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003982/17.25, allocations: 2.818 MB / 3.765 GB, free: 14.57 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001654/17.25, allocations: 0.778 MB / 3.766 GB, free: 13.86 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/17.25, allocations: 52 kB / 3.766 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003072/17.25, allocations: 412.4 kB / 3.766 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/17.25, allocations: 0.7613 MB / 3.767 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003936/17.26, allocations: 1.77 MB / 3.769 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003431/17.26, allocations: 1.062 MB / 3.77 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-05/17.26, allocations: 8 kB / 3.77 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01179/17.27, allocations: 3.294 MB / 3.773 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.004854/17.28, allocations: 10.39 MB / 3.783 GB, free: 11.33 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-05/17.28, allocations: 24 kB / 3.783 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/17.28, allocations: 398.8 kB / 3.784 GB, free: 10.91 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003941/17.28, allocations: 0.5304 MB / 3.784 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/17.29, allocations: 2.675 MB / 3.787 GB, free: 7.598 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008839/17.3, allocations: 0.5645 MB / 3.787 GB, free: 7.031 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008271/17.3, allocations: 132 kB / 3.787 GB, free: 6.902 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/17.3, allocations: 4 kB / 3.787 GB, free: 6.898 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009118/17.31, allocations: 2.732 MB / 3.79 GB, free: 4.156 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.661e-05/17.31, allocations: 24.03 kB / 3.79 GB, free: 4.133 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/17.31, allocations: 371.1 kB / 3.79 GB, free: 3.758 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003938/17.31, allocations: 0.5226 MB / 3.791 GB, free: 3.234 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9671/18.28, allocations: 7.697 MB / 3.798 GB, free: 72.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008306/18.29, allocations: 0.52 MB / 3.799 GB, free: 72.59 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008071/18.29, allocations: 126.8 kB / 3.799 GB, free: 72.59 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008828/18.29, allocations: 276.6 kB / 3.799 GB, free: 72.49 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002089/18.29, allocations: 0.508 MB / 3.8 GB, free: 72.49 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/18.3, allocations: 3.783 MB / 3.804 GB, free: 72.23 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000141/18.31, allocations: 36.38 kB / 3.804 GB, free: 72.23 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/18.31, allocations: 0.8438 kB / 3.804 GB, free: 72.23 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008284/18.31, allocations: 2.504 MB / 3.806 GB, free: 72.03 MB / 0.9792 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 postOpt removeSimpleEquations (simulation): time 0.03786/18.35, allocations: 8.351 MB / 3.814 GB, free: 70.65 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.093e-05/18.35, allocations: 2 kB / 3.814 GB, free: 70.65 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00445/18.36, allocations: 388.6 kB / 3.815 GB, free: 70.65 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/18.36, allocations: 295.6 kB / 3.815 GB, free: 70.62 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006352/18.36, allocations: 61.98 kB / 3.815 GB, free: 70.62 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003/18.36, allocations: 2.492 MB / 3.817 GB, free: 68.53 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/18.36, allocations: 1.938 kB / 3.817 GB, free: 68.53 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01793/18.38, allocations: 4.517 MB / 3.822 GB, free: 67.87 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006275/18.39, allocations: 0.9373 MB / 3.823 GB, free: 67.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002925/18.39, allocations: 43.19 kB / 3.823 GB, free: 67.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009501/18.4, allocations: 441.9 kB / 3.823 GB, free: 67.48 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008558/18.4, allocations: 156.9 kB / 3.823 GB, free: 67.48 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004299/18.4, allocations: 79.41 kB / 3.823 GB, free: 67.48 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.01161/18.41, allocations: 2.745 MB / 3.826 GB, free: 67.27 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.012e-06/18.41, allocations: 0.8125 kB / 3.826 GB, free: 67.27 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.02687/18.44, allocations: 3.589 MB / 3.83 GB, free: 67.09 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (223): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 33 * 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: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0291/18.47, allocations: 8.272 MB / 3.838 GB, free: 64.77 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01628/18.48, allocations: 4.48 MB / 3.842 GB, free: 64.2 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/18.48, allocations: 3.469 kB / 3.842 GB, free: 64.2 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.005157/18.49, allocations: 1.263 MB / 3.843 GB, free: 64.19 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03462/18.52, allocations: 2.739 MB / 3.846 GB, free: 64.16 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03952/18.56, allocations: 8.523 MB / 3.854 GB, free: 62.15 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007043/18.57, allocations: 3.001 MB / 3.857 GB, free: 61.35 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01756/18.59, allocations: 1.48 MB / 3.859 GB, free: 61.29 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00688/18.6, allocations: 2.466 MB / 3.861 GB, free: 61.29 MB / 0.9792 GB Notification: Performance of SimCode: time 1.733e-06/18.6, allocations: 0 / 3.861 GB, free: 61.29 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.473/19.07, allocations: 182.5 MB / 4.039 GB, free: 49.52 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/19.07, allocations: 227.2 kB / 4.039 GB, free: 49.29 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/31.93, allocations: 4 kB / 4.039 GB, free: 49.29 MB / 0.9792 GB