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: 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00947/0.00947, allocations: 111.2 kB / 15.06 MB, free: 5.98 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.001139/0.001138, allocations: 182.1 kB / 15.94 MB, free: 5.938 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.078/2.078, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.207/2.207, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004803, allocations: 12 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.542/0.5425, allocations: 98.71 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.734/6.276, allocations: 2.237 GB / 2.92 GB, free: 168.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/6.276, allocations: 94.7 kB / 2.92 GB, free: 168 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 9.59/15.87, allocations: 1.984 GB / 4.904 GB, free: 68.52 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.39e-06/15.87, allocations: 0 / 4.904 GB, free: 68.52 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003779/15.87, allocations: 101 kB / 4.904 GB, free: 68.5 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.01265/15.88, allocations: 4.048 MB / 4.908 GB, free: 66.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/15.88, allocations: 12.03 kB / 4.908 GB, free: 66.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00813/15.89, allocations: 0.9261 MB / 4.909 GB, free: 66.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007909/15.9, allocations: 2.442 MB / 4.911 GB, free: 65.65 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/15.9, allocations: 287.9 kB / 4.912 GB, free: 65.58 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001042/15.9, allocations: 301.1 kB / 4.912 GB, free: 65.58 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00919/15.91, allocations: 3.233 MB / 4.915 GB, free: 65.32 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-05/15.91, allocations: 11.73 kB / 4.915 GB, free: 65.31 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004823/15.91, allocations: 113.7 kB / 4.915 GB, free: 65.31 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/15.91, allocations: 103.6 kB / 4.915 GB, free: 65.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007566/15.91, allocations: 2.689 MB / 4.918 GB, free: 65.26 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.02188/15.94, allocations: 13.29 MB / 4.931 GB, free: 57.91 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003738/15.94, allocations: 1.796 MB / 4.933 GB, free: 57.84 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005421/15.94, allocations: 331.4 kB / 4.933 GB, free: 57.56 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.355e-05/15.94, allocations: 66.52 kB / 4.933 GB, free: 57.52 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=186): time 5.543e-06/15.94, allocations: 0 / 4.933 GB, free: 57.52 MB / 0.8855 GB Notification: Performance of matching and sorting (n=186): time 0.007405/15.95, allocations: 2.716 MB / 4.936 GB, free: 57.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/15.95, allocations: 72.12 kB / 4.936 GB, free: 57.23 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003538/15.95, allocations: 1.719 MB / 4.937 GB, free: 57.02 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005649/15.95, allocations: 76.86 kB / 4.937 GB, free: 56.98 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001194/15.95, allocations: 1.39 MB / 4.939 GB, free: 56.45 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009541/15.95, allocations: 0.6559 MB / 4.939 GB, free: 56.03 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/15.95, allocations: 45.91 kB / 4.94 GB, free: 56.03 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001576/15.95, allocations: 387.1 kB / 4.94 GB, free: 55.73 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00193/15.96, allocations: 0.8194 MB / 4.941 GB, free: 55.72 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002427/15.96, allocations: 1.45 MB / 4.942 GB, free: 55.02 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002628/15.96, allocations: 1.161 MB / 4.943 GB, free: 54.88 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.498e-05/15.96, allocations: 0 / 4.943 GB, free: 54.88 MB / 0.8855 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.006131/15.97, allocations: 2.628 MB / 4.946 GB, free: 54.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001104/15.97, allocations: 5.313 MB / 4.951 GB, free: 48.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.767e-05/15.97, allocations: 14.38 kB / 4.951 GB, free: 48.86 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.856e-05/15.97, allocations: 28.84 kB / 4.951 GB, free: 48.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00354/15.97, allocations: 0.5236 MB / 4.952 GB, free: 48.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/15.97, allocations: 4.15 MB / 4.956 GB, free: 44.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004483/15.98, allocations: 392.1 kB / 4.956 GB, free: 44.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004889/15.98, allocations: 92.7 kB / 4.956 GB, free: 44.61 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/15.98, allocations: 3.25 kB / 4.956 GB, free: 44.61 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008134/15.99, allocations: 2.372 MB / 4.958 GB, free: 44.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.495e-05/15.99, allocations: 15.25 kB / 4.958 GB, free: 44.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.233e-05/15.99, allocations: 28.69 kB / 4.958 GB, free: 44.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00434/15.99, allocations: 483.7 kB / 4.959 GB, free: 44.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.132e-05/15.99, allocations: 33.06 kB / 4.959 GB, free: 44.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007125/16, allocations: 372.8 kB / 4.959 GB, free: 44.01 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000699/16, allocations: 93.09 kB / 4.959 GB, free: 43.99 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.003746/16, allocations: 0.8752 MB / 4.96 GB, free: 43.49 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001269/16.01, allocations: 266.6 kB / 4.96 GB, free: 43.36 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00791/16.01, allocations: 2.099 MB / 4.963 GB, free: 42.49 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.764e-05/16.01, allocations: 19.03 kB / 4.963 GB, free: 42.49 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-05/16.01, allocations: 3.953 kB / 4.963 GB, free: 42.48 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007307/16.02, allocations: 1.874 MB / 4.964 GB, free: 41.62 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02203/16.04, allocations: 5.18 MB / 4.969 GB, free: 39.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.112e-05/16.04, allocations: 3.312 kB / 4.969 GB, free: 39.44 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006584/16.05, allocations: 0.5104 MB / 4.97 GB, free: 39.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-05/16.05, allocations: 6.875 kB / 4.97 GB, free: 39.41 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005557/16.05, allocations: 56.62 kB / 4.97 GB, free: 39.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003021/16.05, allocations: 4.131 MB / 4.974 GB, free: 35.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/16.05, allocations: 7.844 kB / 4.974 GB, free: 35.23 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/16.07, allocations: 3.577 MB / 4.978 GB, free: 32.42 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00405/16.07, allocations: 0.5921 MB / 4.978 GB, free: 31.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001525/16.07, allocations: 47.02 kB / 4.978 GB, free: 31.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006791/16.08, allocations: 261.2 kB / 4.978 GB, free: 31.66 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006145/16.08, allocations: 117.5 kB / 4.979 GB, free: 31.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004115/16.08, allocations: 74.55 kB / 4.979 GB, free: 31.52 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004706/16.08, allocations: 1.317 MB / 4.98 GB, free: 30.43 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.76e-06/16.08, allocations: 0 / 4.98 GB, free: 30.43 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01236/16.1, allocations: 2.184 MB / 4.982 GB, free: 28.27 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.01269/16.11, allocations: 4.785 MB / 4.987 GB, free: 24.25 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01019/16.12, allocations: 3.647 MB / 4.99 GB, free: 20.94 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/16.12, allocations: 1.625 kB / 4.99 GB, free: 20.94 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00241/16.12, allocations: 1.017 MB / 4.991 GB, free: 20.05 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009157/16.13, allocations: 1.573 MB / 4.993 GB, free: 18.92 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/16.15, allocations: 7.856 MB / 5 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002822/16.15, allocations: 2.256 MB / 5.003 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005766/16.15, allocations: 1.078 MB / 5.004 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/16.15, allocations: 223.2 kB / 5.004 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of SimCode: time 1.851e-06/16.15, allocations: 0 / 5.004 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of Templates: time 0.9011/17.06, allocations: 99.6 MB / 5.101 GB, free: 101 MB / 0.9167 GB