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.004297/0.004302, allocations: 227.5 kB / 15.82 MB, free: 6.305 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.001176/0.001175, allocations: 176.7 kB / 16.71 MB, free: 5.453 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 3.992/3.992, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.03/4.03, allocations: 472.3 MB / 0.9024 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006864/0.0006867, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1857, allocations: 98.73 MB / 1.105 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.228/7.414, allocations: 2.237 GB / 3.342 GB, free: 231.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/7.414, allocations: 98.56 kB / 3.342 GB, free: 231.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.47/17.89, allocations: 1.977 GB / 5.319 GB, free: 78.39 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.575e-06/17.89, allocations: 2.875 kB / 5.319 GB, free: 78.39 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005022/17.89, allocations: 97.62 kB / 5.319 GB, free: 78.38 MB / 0.9011 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/17.91, allocations: 4.058 MB / 5.323 GB, free: 76.82 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/17.91, allocations: 7.469 kB / 5.323 GB, free: 76.82 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009698/17.92, allocations: 0.9271 MB / 5.324 GB, free: 76.62 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/17.93, allocations: 2.435 MB / 5.326 GB, free: 76.14 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000463/17.93, allocations: 285.5 kB / 5.327 GB, free: 76.07 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001472/17.93, allocations: 302.4 kB / 5.327 GB, free: 76.07 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01189/17.94, allocations: 3.264 MB / 5.33 GB, free: 75.81 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001381/17.94, allocations: 11.05 kB / 5.33 GB, free: 75.81 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007259/17.94, allocations: 114.3 kB / 5.33 GB, free: 75.81 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/17.94, allocations: 101.6 kB / 5.33 GB, free: 75.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009108/17.95, allocations: 2.687 MB / 5.333 GB, free: 75.77 MB / 0.9011 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.02751/17.98, allocations: 13.28 MB / 5.346 GB, free: 68.56 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00446/17.98, allocations: 1.804 MB / 5.348 GB, free: 68.52 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002682/17.99, allocations: 1.085 MB / 5.349 GB, free: 68.51 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007085/17.99, allocations: 333.3 kB / 5.349 GB, free: 68.23 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.498e-05/17.99, allocations: 60.72 kB / 5.349 GB, free: 68.19 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=186): time 4.378e-06/17.99, allocations: 3.062 kB / 5.349 GB, free: 68.19 MB / 0.9011 GB Notification: Performance of matching and sorting (n=186): time 0.008305/17.99, allocations: 2.712 MB / 5.352 GB, free: 67.97 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/17.99, allocations: 73.89 kB / 5.352 GB, free: 67.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004345/18, allocations: 1.984 MB / 5.354 GB, free: 67.67 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0007458/18, allocations: 76.44 kB / 5.354 GB, free: 67.64 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001581/18, allocations: 1.393 MB / 5.355 GB, free: 67.11 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/18, allocations: 0.6567 MB / 5.356 GB, free: 66.69 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/18, allocations: 43.09 kB / 5.356 GB, free: 66.69 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001924/18, allocations: 391.2 kB / 5.356 GB, free: 66.38 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002405/18.01, allocations: 0.8202 MB / 5.357 GB, free: 66.38 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003139/18.01, allocations: 1.45 MB / 5.358 GB, free: 65.68 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003127/18.01, allocations: 1.153 MB / 5.36 GB, free: 65.57 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.93e-05/18.01, allocations: 8.812 kB / 5.36 GB, free: 65.57 MB / 0.9011 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.007928/18.02, allocations: 2.629 MB / 5.362 GB, free: 65.26 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003544/18.02, allocations: 0.5515 MB / 5.363 GB, free: 64.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/18.02, allocations: 13.19 kB / 5.363 GB, free: 64.62 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.309e-05/18.02, allocations: 23.44 kB / 5.363 GB, free: 64.62 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005147/18.03, allocations: 0.5628 MB / 5.363 GB, free: 64.62 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/18.03, allocations: 4.158 MB / 5.367 GB, free: 60.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00631/18.03, allocations: 390.8 kB / 5.368 GB, free: 60.43 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006934/18.03, allocations: 92.28 kB / 5.368 GB, free: 60.43 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/18.03, allocations: 6.469 kB / 5.368 GB, free: 60.43 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006641/18.04, allocations: 2.377 MB / 5.37 GB, free: 60.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/18.04, allocations: 18.42 kB / 5.37 GB, free: 60.29 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.972e-05/18.04, allocations: 23.84 kB / 5.37 GB, free: 60.29 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003741/18.05, allocations: 478 kB / 5.371 GB, free: 60.29 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.833e-05/18.05, allocations: 36.92 kB / 5.371 GB, free: 60.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006339/18.05, allocations: 369.1 kB / 5.371 GB, free: 60.19 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007812/18.05, allocations: 92.78 kB / 5.371 GB, free: 60.19 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 () * 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.003436/18.06, allocations: 0.8717 MB / 5.372 GB, free: 60 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/18.06, allocations: 267.5 kB / 5.372 GB, free: 59.86 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00697/18.06, allocations: 2.102 MB / 5.374 GB, free: 59.74 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.575e-05/18.06, allocations: 23.89 kB / 5.374 GB, free: 59.74 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/18.06, allocations: 0 / 5.374 GB, free: 59.74 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004937/18.07, allocations: 1.877 MB / 5.376 GB, free: 59.44 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/18.08, allocations: 5.184 MB / 5.381 GB, free: 58.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/18.08, allocations: 7.094 kB / 5.381 GB, free: 58.89 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004647/18.09, allocations: 0.5107 MB / 5.382 GB, free: 58.89 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.663e-05/18.09, allocations: 14.78 kB / 5.382 GB, free: 58.89 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003009/18.09, allocations: 51.38 kB / 5.382 GB, free: 58.89 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/18.09, allocations: 4.125 MB / 5.386 GB, free: 54.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/18.09, allocations: 8.938 kB / 5.386 GB, free: 54.8 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00848/18.1, allocations: 3.358 MB / 5.389 GB, free: 54.34 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002811/18.1, allocations: 0.5796 MB / 5.39 GB, free: 54.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001081/18.1, allocations: 44.69 kB / 5.39 GB, free: 54.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005313/18.11, allocations: 259.9 kB / 5.39 GB, free: 54.07 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005777/18.11, allocations: 122.6 kB / 5.39 GB, free: 54.06 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002815/18.11, allocations: 69.45 kB / 5.39 GB, free: 54.06 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003224/18.11, allocations: 1.319 MB / 5.391 GB, free: 53.92 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.854e-06/18.11, allocations: 1.188 kB / 5.391 GB, free: 53.92 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.009775/18.12, allocations: 2.192 MB / 5.394 GB, free: 53.66 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 () * 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.009147/18.13, allocations: 4.79 MB / 5.398 GB, free: 51.38 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01164/18.14, allocations: 3.704 MB / 5.402 GB, free: 50.95 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.801e-05/18.14, allocations: 6.219 kB / 5.402 GB, free: 50.95 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003627/18.15, allocations: 1.024 MB / 5.403 GB, free: 50.94 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01525/18.16, allocations: 1.614 MB / 5.404 GB, free: 50.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/18.18, allocations: 7.867 MB / 5.412 GB, free: 47.84 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002497/18.18, allocations: 2.254 MB / 5.414 GB, free: 47.08 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.006605/18.19, allocations: 1.081 MB / 5.415 GB, free: 47.05 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001259/18.19, allocations: 216.2 kB / 5.416 GB, free: 47.05 MB / 0.9011 GB Notification: Performance of SimCode: time 1.112e-06/18.19, allocations: 0 / 5.416 GB, free: 47.05 MB / 0.9011 GB Notification: Performance of Templates: time 0.2279/18.42, allocations: 99.65 MB / 5.513 GB, free: 22.86 MB / 0.9011 GB