Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.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.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.206/4.206, allocations: 432.6 MB / 445.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.304e-05/4.32e-05, allocations: 5 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2488, allocations: 98.73 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.375/7.624, allocations: 2.247 GB / 2.882 GB, free: 56.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/7.624, allocations: 90.22 kB / 2.882 GB, free: 56.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.71/18.33, allocations: 1.982 GB / 4.864 GB, free: 19.32 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.156e-06/18.33, allocations: 0 / 4.864 GB, free: 19.32 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005097/18.33, allocations: 99.84 kB / 4.864 GB, free: 19.23 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.01469/18.35, allocations: 3.57 MB / 4.868 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/18.35, allocations: 8.031 kB / 4.868 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001973/18.35, allocations: 391.9 kB / 4.868 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009775/18.36, allocations: 0.9243 MB / 4.869 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/18.37, allocations: 2.429 MB / 4.871 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004984/18.37, allocations: 277.5 kB / 4.871 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001548/18.37, allocations: 306.5 kB / 4.872 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01237/18.38, allocations: 3.173 MB / 4.875 GB, free: 7.906 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001387/18.38, allocations: 11.98 kB / 4.875 GB, free: 7.895 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008142/18.39, allocations: 116 kB / 4.875 GB, free: 7.781 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/18.39, allocations: 101.4 kB / 4.875 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009196/18.4, allocations: 2.622 MB / 4.878 GB, free: 5.047 MB / 0.8855 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.03193/18.43, allocations: 13.29 MB / 4.891 GB, free: 6.602 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00518/18.43, allocations: 1.76 MB / 4.892 GB, free: 4.836 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003263/18.44, allocations: 1.075 MB / 4.893 GB, free: 3.762 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008931/18.44, allocations: 321.2 kB / 4.894 GB, free: 3.391 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.981e-05/18.44, allocations: 60.56 kB / 4.894 GB, free: 3.324 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=186): time 6.072e-06/18.44, allocations: 0 / 4.894 GB, free: 3.324 MB / 0.9011 GB Notification: Performance of matching and sorting (n=186): time 0.008231/18.44, allocations: 1.956 MB / 4.896 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/18.45, allocations: 77.39 kB / 4.896 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7994/19.24, allocations: 1.698 MB / 4.897 GB, free: 86.7 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0007767/19.25, allocations: 70.8 kB / 4.897 GB, free: 86.67 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002/19.25, allocations: 1.391 MB / 4.899 GB, free: 86.52 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001432/19.25, allocations: 0.6491 MB / 4.899 GB, free: 86.19 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/19.25, allocations: 45.12 kB / 4.899 GB, free: 86.19 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000275/19.25, allocations: 394.7 kB / 4.9 GB, free: 85.88 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002846/19.25, allocations: 0.7906 MB / 4.901 GB, free: 85.88 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003753/19.26, allocations: 1.418 MB / 4.902 GB, free: 85.18 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004005/19.26, allocations: 1.145 MB / 4.903 GB, free: 85.06 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-05/19.26, allocations: 4 kB / 4.903 GB, free: 85.06 MB / 0.9011 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.01014/19.27, allocations: 2.575 MB / 4.906 GB, free: 84.76 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001467/19.27, allocations: 5.316 MB / 4.911 GB, free: 79.13 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.234e-05/19.27, allocations: 12.75 kB / 4.911 GB, free: 79.13 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001067/19.27, allocations: 24.25 kB / 4.911 GB, free: 79.13 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005281/19.28, allocations: 0.5166 MB / 4.911 GB, free: 79.13 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/19.28, allocations: 4.156 MB / 4.915 GB, free: 75.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006589/19.29, allocations: 394.4 kB / 4.916 GB, free: 74.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008014/19.29, allocations: 95.41 kB / 4.916 GB, free: 74.98 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/19.29, allocations: 6.531 kB / 4.916 GB, free: 74.98 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008376/19.3, allocations: 2.326 MB / 4.918 GB, free: 74.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.972e-05/19.3, allocations: 12.88 kB / 4.918 GB, free: 74.84 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.12e-05/19.3, allocations: 23.88 kB / 4.918 GB, free: 74.84 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004205/19.3, allocations: 485.9 kB / 4.919 GB, free: 74.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.716e-05/19.3, allocations: 33.48 kB / 4.919 GB, free: 74.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006339/19.31, allocations: 364.7 kB / 4.919 GB, free: 74.79 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007618/19.31, allocations: 89.7 kB / 4.919 GB, free: 74.79 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 255 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.001068/19.31, allocations: 246 kB / 4.919 GB, free: 74.68 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001151/19.31, allocations: 269.4 kB / 4.92 GB, free: 74.55 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007432/19.32, allocations: 2.06 MB / 4.922 GB, free: 74.42 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.477e-05/19.32, allocations: 18.33 kB / 4.922 GB, free: 74.42 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/19.32, allocations: 3.938 kB / 4.922 GB, free: 74.42 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005607/19.32, allocations: 1.837 MB / 4.923 GB, free: 74.12 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0184/19.34, allocations: 5.14 MB / 4.928 GB, free: 73.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/19.34, allocations: 3.344 kB / 4.928 GB, free: 73.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005137/19.35, allocations: 0.509 MB / 4.929 GB, free: 73.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.66e-05/19.35, allocations: 11.83 kB / 4.929 GB, free: 73.6 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004867/19.35, allocations: 54.73 kB / 4.929 GB, free: 73.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/19.35, allocations: 4.13 MB / 4.933 GB, free: 69.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/19.35, allocations: 6.922 kB / 4.933 GB, free: 69.5 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009024/19.36, allocations: 3.525 MB / 4.937 GB, free: 68.75 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002921/19.36, allocations: 0.5869 MB / 4.937 GB, free: 68.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/19.36, allocations: 42.67 kB / 4.937 GB, free: 68.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005413/19.37, allocations: 259.6 kB / 4.937 GB, free: 68.51 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006955/19.37, allocations: 121.1 kB / 4.937 GB, free: 68.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003276/19.37, allocations: 78.89 kB / 4.938 GB, free: 68.5 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003656/19.37, allocations: 1.293 MB / 4.939 GB, free: 68.34 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.072e-06/19.37, allocations: 0 / 4.939 GB, free: 68.34 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01076/19.38, allocations: 2.184 MB / 4.941 GB, free: 68.22 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.01921/19.4, allocations: 9.519 MB / 4.95 GB, free: 64.08 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01155/19.41, allocations: 3.657 MB / 4.954 GB, free: 63.64 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/19.41, allocations: 3.656 kB / 4.954 GB, free: 63.64 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003343/19.42, allocations: 0.9914 MB / 4.955 GB, free: 63.63 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01473/19.43, allocations: 1.568 MB / 4.956 GB, free: 63.59 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02109/19.45, allocations: 6.405 MB / 4.963 GB, free: 62.24 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004061/19.46, allocations: 2.267 MB / 4.965 GB, free: 61.48 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.009678/19.47, allocations: 1.316 MB / 4.966 GB, free: 61.45 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003183/19.47, allocations: 1.226 MB / 4.967 GB, free: 61.45 MB / 0.9011 GB Notification: Performance of SimCode: time 1.613e-06/19.47, allocations: 0 / 4.967 GB, free: 61.45 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.332/19.8, allocations: 152.7 MB / 5.116 GB, free: 52.48 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/19.8, allocations: 232.3 kB / 5.117 GB, free: 52.17 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/30.53, allocations: 3.938 kB / 5.117 GB, free: 52.17 MB / 0.9011 GB