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 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.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",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.01106/0.01106, allocations: 106.8 kB / 15.05 MB, free: 5.934 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.001249/0.001249, allocations: 185.3 kB / 15.94 MB, free: 5.898 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.118/2.118, allocations: 194.6 MB / 211.2 MB, free: 11.29 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.404/2.404, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005351/0.000535, allocations: 19.98 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6902/0.6908, allocations: 98.72 MB / 0.6834 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.08/7.771, allocations: 2.237 GB / 2.92 GB, free: 155.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/7.771, allocations: 87.95 kB / 2.921 GB, free: 155.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.8/18.57, allocations: 1.983 GB / 4.904 GB, free: 67.44 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.524e-06/18.57, allocations: 0 / 4.904 GB, free: 67.44 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004575/18.58, allocations: 96.59 kB / 4.904 GB, free: 67.42 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.01707/18.59, allocations: 4.054 MB / 4.908 GB, free: 65.38 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/18.59, allocations: 7.562 kB / 4.908 GB, free: 65.38 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002213/18.59, allocations: 399.5 kB / 4.908 GB, free: 65.33 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009661/18.6, allocations: 0.9317 MB / 4.909 GB, free: 65.12 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00931/18.61, allocations: 2.435 MB / 4.912 GB, free: 64.47 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004697/18.61, allocations: 290.4 kB / 4.912 GB, free: 64.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001388/18.62, allocations: 299.9 kB / 4.912 GB, free: 64.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01041/18.63, allocations: 3.25 MB / 4.915 GB, free: 64.14 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001173/18.63, allocations: 3.938 kB / 4.915 GB, free: 64.13 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005297/18.63, allocations: 115.9 kB / 4.916 GB, free: 64.13 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/18.63, allocations: 105.9 kB / 4.916 GB, free: 64.12 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008663/18.64, allocations: 2.685 MB / 4.918 GB, free: 64.09 MB / 0.8855 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.02585/18.66, allocations: 13.29 MB / 4.931 GB, free: 56.73 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004103/18.67, allocations: 1.809 MB / 4.933 GB, free: 56.66 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007423/18.67, allocations: 322.9 kB / 4.933 GB, free: 56.38 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.381e-05/18.67, allocations: 63.28 kB / 4.933 GB, free: 56.34 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=186): time 4.228e-06/18.67, allocations: 0 / 4.933 GB, free: 56.34 MB / 0.8855 GB Notification: Performance of matching and sorting (n=186): time 0.008181/18.67, allocations: 2.717 MB / 4.936 GB, free: 56.11 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/18.67, allocations: 70.88 kB / 4.936 GB, free: 56.05 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003731/18.68, allocations: 1.72 MB / 4.938 GB, free: 55.84 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006971/18.68, allocations: 70.33 kB / 4.938 GB, free: 55.81 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001222/18.68, allocations: 1.403 MB / 4.939 GB, free: 55.27 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001083/18.68, allocations: 0.6524 MB / 4.94 GB, free: 54.85 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/18.68, allocations: 40.47 kB / 4.94 GB, free: 54.85 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001688/18.68, allocations: 390 kB / 4.94 GB, free: 54.55 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/18.68, allocations: 0.8157 MB / 4.941 GB, free: 54.41 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002728/18.69, allocations: 1.446 MB / 4.943 GB, free: 53.36 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002856/18.69, allocations: 1.158 MB / 4.944 GB, free: 52.83 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-05/18.69, allocations: 3.906 kB / 4.944 GB, free: 52.83 MB / 0.8855 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.007051/18.7, allocations: 2.635 MB / 4.946 GB, free: 51.73 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001231/18.7, allocations: 5.311 MB / 4.951 GB, free: 46 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.185e-05/18.7, allocations: 15.36 kB / 4.951 GB, free: 46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.323e-05/18.7, allocations: 33.66 kB / 4.951 GB, free: 45.99 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004795/18.7, allocations: 0.5187 MB / 4.952 GB, free: 45.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/18.71, allocations: 4.153 MB / 4.956 GB, free: 41.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006073/18.71, allocations: 390.6 kB / 4.956 GB, free: 41.65 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004552/18.71, allocations: 94.38 kB / 4.956 GB, free: 41.63 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/18.71, allocations: 3.906 kB / 4.957 GB, free: 41.63 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005815/18.72, allocations: 2.372 MB / 4.959 GB, free: 40.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/18.72, allocations: 13.09 kB / 4.959 GB, free: 40.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.297e-05/18.72, allocations: 25.16 kB / 4.959 GB, free: 40.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003546/18.72, allocations: 485.3 kB / 4.959 GB, free: 40.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-05/18.72, allocations: 30.08 kB / 4.959 GB, free: 40.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005806/18.73, allocations: 367.5 kB / 4.96 GB, free: 40.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004102/18.73, allocations: 93.62 kB / 4.96 GB, free: 40.46 MB / 0.8855 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 () * Number of clocked 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.002713/18.73, allocations: 0.8737 MB / 4.961 GB, free: 39.96 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/18.73, allocations: 266.6 kB / 4.961 GB, free: 39.83 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00556/18.74, allocations: 2.098 MB / 4.963 GB, free: 38.63 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.348e-05/18.74, allocations: 23.95 kB / 4.963 GB, free: 38.61 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/18.74, allocations: 3.312 kB / 4.963 GB, free: 38.61 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004272/18.74, allocations: 1.877 MB / 4.965 GB, free: 36.87 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/18.76, allocations: 5.181 MB / 4.97 GB, free: 31.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/18.76, allocations: 0 / 4.97 GB, free: 31.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004843/18.76, allocations: 0.5115 MB / 4.97 GB, free: 31.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.826e-05/18.76, allocations: 12 kB / 4.97 GB, free: 31.29 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004197/18.76, allocations: 55.97 kB / 4.97 GB, free: 31.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/18.76, allocations: 4.122 MB / 4.974 GB, free: 26.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/18.76, allocations: 10.94 kB / 4.974 GB, free: 26.95 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008089/18.77, allocations: 3.581 MB / 4.978 GB, free: 23.25 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002585/18.77, allocations: 0.5871 MB / 4.979 GB, free: 22.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008809/18.77, allocations: 44 kB / 4.979 GB, free: 22.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005013/18.78, allocations: 262.9 kB / 4.979 GB, free: 22.36 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005251/18.78, allocations: 117.5 kB / 4.979 GB, free: 22.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002901/18.78, allocations: 75.95 kB / 4.979 GB, free: 22.17 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003064/18.78, allocations: 1.321 MB / 4.98 GB, free: 20.84 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.71e-07/18.78, allocations: 0 / 4.98 GB, free: 20.84 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.009183/18.79, allocations: 2.178 MB / 4.982 GB, free: 18.66 MB / 0.8855 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 () * Number of clocked 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.01673/18.81, allocations: 9.58 MB / 4.992 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009988/18.82, allocations: 3.642 MB / 4.995 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/18.82, allocations: 4.062 kB / 4.995 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002853/18.82, allocations: 1.014 MB / 4.996 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01378/18.84, allocations: 1.568 MB / 4.998 GB, free: 3.086 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02758/18.86, allocations: 17.72 MB / 5.015 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00411/18.87, allocations: 2.256 MB / 5.017 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.007025/18.88, allocations: 1.087 MB / 5.018 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003661/18.88, allocations: 1.261 MB / 5.02 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of SimCode: time 3.446e-06/18.88, allocations: 0 / 5.02 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.096/19.97, allocations: 137.5 MB / 5.154 GB, free: 97.52 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003138/19.98, allocations: 262.8 kB / 5.154 GB, free: 97.17 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.125/29.1, allocations: 0 / 5.154 GB, free: 97.17 MB / 0.9167 GB