Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadModel(Buildings): time 3.991/3.991, allocations: 432.7 MB / 445.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.119e-05/3.155e-05, allocations: 5.547 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1819, allocations: 98.73 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.544/5.726, allocations: 2.247 GB / 2.882 GB, free: 117.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/5.726, allocations: 89.78 kB / 2.882 GB, free: 117.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 9.356/15.08, allocations: 1.982 GB / 4.864 GB, free: 67.34 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.88e-06/15.08, allocations: 0 / 4.864 GB, free: 67.34 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004425/15.08, allocations: 100.1 kB / 4.864 GB, free: 67.31 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.01183/15.09, allocations: 3.56 MB / 4.868 GB, free: 65.08 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/15.09, allocations: 7.656 kB / 4.868 GB, free: 65.08 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008699/15.1, allocations: 0.9328 MB / 4.868 GB, free: 64.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007854/15.11, allocations: 2.423 MB / 4.871 GB, free: 63.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003789/15.11, allocations: 282.9 kB / 4.871 GB, free: 63.53 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/15.11, allocations: 298.7 kB / 4.871 GB, free: 63.53 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00911/15.12, allocations: 3.185 MB / 4.875 GB, free: 62.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.206e-05/15.12, allocations: 0 / 4.875 GB, free: 62.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005177/15.12, allocations: 112.9 kB / 4.875 GB, free: 62.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/15.12, allocations: 106.1 kB / 4.875 GB, free: 62.79 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007264/15.13, allocations: 2.626 MB / 4.877 GB, free: 61.07 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.0224/15.15, allocations: 13.28 MB / 4.89 GB, free: 46.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003499/15.16, allocations: 1.769 MB / 4.892 GB, free: 44.94 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002104/15.16, allocations: 1.063 MB / 4.893 GB, free: 43.88 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000557/15.16, allocations: 332.4 kB / 4.893 GB, free: 43.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.399e-05/15.16, allocations: 60.56 kB / 4.893 GB, free: 43.43 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=186): time 5.766e-06/15.16, allocations: 2.531 kB / 4.893 GB, free: 43.43 MB / 0.8855 GB Notification: Performance of matching and sorting (n=186): time 0.005761/15.16, allocations: 1.957 MB / 4.895 GB, free: 41.47 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/15.16, allocations: 77.34 kB / 4.895 GB, free: 41.38 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003413/15.17, allocations: 1.694 MB / 4.897 GB, free: 39.67 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005383/15.17, allocations: 71.67 kB / 4.897 GB, free: 39.59 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/15.17, allocations: 1.395 MB / 4.898 GB, free: 38.18 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008836/15.17, allocations: 0.6546 MB / 4.899 GB, free: 37.52 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/15.17, allocations: 44 kB / 4.899 GB, free: 37.47 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001672/15.17, allocations: 393.8 kB / 4.9 GB, free: 37.09 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001731/15.17, allocations: 0.7968 MB / 4.9 GB, free: 36.29 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002249/15.17, allocations: 1.415 MB / 4.902 GB, free: 34.61 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002307/15.18, allocations: 1.146 MB / 4.903 GB, free: 33.44 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/15.18, allocations: 3.75 kB / 4.903 GB, free: 33.44 MB / 0.8855 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.005834/15.18, allocations: 2.581 MB / 4.905 GB, free: 30.83 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001083/15.18, allocations: 5.312 MB / 4.911 GB, free: 25.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.92e-05/15.18, allocations: 19.98 kB / 4.911 GB, free: 24.99 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.956e-05/15.18, allocations: 24 kB / 4.911 GB, free: 24.97 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00336/15.19, allocations: 0.5107 MB / 4.911 GB, free: 24.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/15.19, allocations: 4.149 MB / 4.915 GB, free: 20.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004519/15.19, allocations: 393.7 kB / 4.915 GB, free: 19.76 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005037/15.19, allocations: 99.88 kB / 4.916 GB, free: 19.66 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/15.19, allocations: 4 kB / 4.916 GB, free: 19.66 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004839/15.2, allocations: 2.333 MB / 4.918 GB, free: 17.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/15.2, allocations: 12 kB / 4.918 GB, free: 17.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.329e-05/15.2, allocations: 24 kB / 4.918 GB, free: 17.27 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002536/15.2, allocations: 479.3 kB / 4.918 GB, free: 16.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.811e-05/15.2, allocations: 31.92 kB / 4.918 GB, free: 16.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004385/15.21, allocations: 362.1 kB / 4.919 GB, free: 16.42 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007104/15.21, allocations: 95.97 kB / 4.919 GB, free: 16.32 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 () * 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.001074/15.21, allocations: 242.6 kB / 4.919 GB, free: 16.09 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001428/15.21, allocations: 280.8 kB / 4.919 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007868/15.22, allocations: 2.052 MB / 4.921 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-05/15.22, allocations: 20 kB / 4.921 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/15.22, allocations: 0 / 4.921 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005293/15.22, allocations: 1.842 MB / 4.923 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/15.24, allocations: 5.134 MB / 4.928 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/15.24, allocations: 4 kB / 4.928 GB, free: 6.594 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003302/15.24, allocations: 0.5108 MB / 4.929 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.628e-05/15.24, allocations: 8 kB / 4.929 GB, free: 6.078 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002692/15.24, allocations: 55.97 kB / 4.929 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/15.24, allocations: 4.125 MB / 4.933 GB, free: 1.738 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.869e-06/15.24, allocations: 7.984 kB / 4.933 GB, free: 1.73 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007112/15.25, allocations: 3.528 MB / 4.936 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002354/15.25, allocations: 0.5908 MB / 4.937 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007599/15.25, allocations: 43.98 kB / 4.937 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003698/15.26, allocations: 263.3 kB / 4.937 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003551/15.26, allocations: 117.9 kB / 4.937 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000241/15.26, allocations: 75.95 kB / 4.937 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002956/15.26, allocations: 1.301 MB / 4.939 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9.39e-07/15.26, allocations: 0 / 4.939 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.008106/15.27, allocations: 2.179 MB / 4.941 GB, free: 9.473 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.00942/15.28, allocations: 4.792 MB / 4.945 GB, free: 4.41 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.009225/15.29, allocations: 3.654 MB / 4.949 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/15.29, allocations: 0 / 4.949 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.6013/15.89, allocations: 0.9945 MB / 4.95 GB, free: 90.68 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009827/15.9, allocations: 1.574 MB / 4.951 GB, free: 90.64 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/15.91, allocations: 5.564 MB / 4.957 GB, free: 89.39 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003399/15.92, allocations: 2.262 MB / 4.959 GB, free: 88.64 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.008052/15.92, allocations: 1.32 MB / 4.96 GB, free: 88.61 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009703/15.92, allocations: 180.4 kB / 4.961 GB, free: 88.6 MB / 0.9011 GB Notification: Performance of SimCode: time 3.002e-06/15.92, allocations: 0 / 4.961 GB, free: 88.6 MB / 0.9011 GB Notification: Performance of Templates: time 0.2247/16.15, allocations: 114.3 MB / 5.072 GB, free: 84.21 MB / 0.9011 GB