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.004201/0.004205, allocations: 239.6 kB / 15.81 MB, free: 6.281 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.001101/0.001101, allocations: 179.8 kB / 16.69 MB, free: 5.449 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.551/3.551, allocations: 389.1 MB / 406.5 MB, free: 6.777 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.93/4.93, allocations: 472.3 MB / 0.9023 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004848, allocations: 12 kB / 1.008 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2026, allocations: 98.7 MB / 1.105 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.9055/1.108, allocations: 270.7 MB / 1.369 GB, free: 70.45 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.04466/1.153, allocations: 25.71 MB / 1.394 GB, free: 44.73 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004398/1.157, allocations: 95.31 kB / 1.394 GB, free: 44.64 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.006727/1.164, allocations: 1.549 MB / 1.396 GB, free: 43.08 MB / 0.7917 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.02239/1.186, allocations: 6.225 MB / 1.402 GB, free: 36.83 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.01082/1.197, allocations: 2.805 MB / 1.404 GB, free: 34.11 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01411/1.211, allocations: 10.77 MB / 1.415 GB, free: 23.32 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004588/1.216, allocations: 2.57 MB / 1.417 GB, free: 20.8 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007372/1.223, allocations: 2.929 MB / 1.42 GB, free: 17.86 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005763/1.229, allocations: 2.86 MB / 1.423 GB, free: 14.99 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0008198/1.23, allocations: 152 kB / 1.423 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007488/1.238, allocations: 1.847 MB / 1.425 GB, free: 12.99 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.002101/1.24, allocations: 1.457 MB / 1.426 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001596/1.241, allocations: 0.7733 MB / 1.427 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.007641/1.249, allocations: 4.639 MB / 1.432 GB, free: 6.102 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.249, allocations: 0 / 1.432 GB, free: 6.102 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.735e-06/1.249, allocations: 0 / 1.432 GB, free: 6.102 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001054/1.249, allocations: 0 / 1.432 GB, free: 6.102 MB / 0.7917 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.008152/1.257, allocations: 3.5 MB / 1.435 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.257, allocations: 12.03 kB / 1.435 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007632/1.265, allocations: 0.9438 MB / 1.436 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005931/1.271, allocations: 2.164 MB / 1.438 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003671/1.271, allocations: 281.5 kB / 1.439 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007035/1.272, allocations: 303.9 kB / 1.439 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008871/1.281, allocations: 3.392 MB / 1.442 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.731e-05/1.281, allocations: 2.375 kB / 1.442 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004247/1.282, allocations: 120 kB / 1.442 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001833/1.282, allocations: 109.4 kB / 1.442 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008185/1.29, allocations: 2.82 MB / 1.445 GB, free: 8.188 MB / 0.8073 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.03288/1.323, allocations: 13.33 MB / 1.458 GB, free: 9.707 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006202/1.329, allocations: 1.858 MB / 1.46 GB, free: 7.863 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003703/1.333, allocations: 1.11 MB / 1.461 GB, free: 6.754 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009314/1.334, allocations: 336.3 kB / 1.461 GB, free: 6.371 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.289e-05/1.334, allocations: 60.56 kB / 1.461 GB, free: 6.305 MB / 0.823 GB Notification: Performance of pre-optimization done (n=186): time 7.214e-06/1.334, allocations: 0 / 1.461 GB, free: 6.305 MB / 0.823 GB Notification: Performance of matching and sorting (n=186): time 0.01111/1.345, allocations: 2.746 MB / 1.464 GB, free: 3.555 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/1.345, allocations: 70.25 kB / 1.464 GB, free: 3.473 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005474/1.351, allocations: 1.988 MB / 1.466 GB, free: 1.465 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000574/1.351, allocations: 73.7 kB / 1.466 GB, free: 1.387 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.5218/1.873, allocations: 1.393 MB / 1.467 GB, free: 279.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001096/1.874, allocations: 0.6524 MB / 1.468 GB, free: 279.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/1.875, allocations: 45.53 kB / 1.468 GB, free: 279.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.875, allocations: 389.7 kB / 1.469 GB, free: 279.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002031/1.877, allocations: 0.8293 MB / 1.469 GB, free: 279.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/1.879, allocations: 1.453 MB / 1.471 GB, free: 278.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/1.882, allocations: 1.163 MB / 1.472 GB, free: 278.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/1.882, allocations: 3.562 kB / 1.472 GB, free: 278.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.006024/1.888, allocations: 2.645 MB / 1.474 GB, free: 278 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003034/1.888, allocations: 0.5419 MB / 1.475 GB, free: 277.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/1.888, allocations: 13.86 kB / 1.475 GB, free: 277.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.082e-05/1.888, allocations: 24.69 kB / 1.475 GB, free: 277.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004706/1.893, allocations: 0.5688 MB / 1.476 GB, free: 277.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/1.895, allocations: 4.157 MB / 1.48 GB, free: 273.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005396/1.9, allocations: 390.8 kB / 1.48 GB, free: 273.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/1.901, allocations: 91.48 kB / 1.48 GB, free: 273.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/1.901, allocations: 4.969 kB / 1.48 GB, free: 273.2 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005816/1.906, allocations: 2.395 MB / 1.482 GB, free: 272.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/1.906, allocations: 11.91 kB / 1.482 GB, free: 272.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.232e-05/1.907, allocations: 27.41 kB / 1.483 GB, free: 272.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003343/1.91, allocations: 484.8 kB / 1.483 GB, free: 272.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.885e-05/1.91, allocations: 28.98 kB / 1.483 GB, free: 272.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005017/1.915, allocations: 367.6 kB / 1.483 GB, free: 272.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002199/1.915, allocations: 92.09 kB / 1.483 GB, free: 272.8 MB / 0.823 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.002021/1.917, allocations: 0.8734 MB / 1.484 GB, free: 272.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007678/1.918, allocations: 268.3 kB / 1.485 GB, free: 272.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005105/1.923, allocations: 2.113 MB / 1.487 GB, free: 271.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004587/1.928, allocations: 1.894 MB / 1.488 GB, free: 270.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/1.928, allocations: 6.703 kB / 1.488 GB, free: 270.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002267/1.93, allocations: 0.574 MB / 1.489 GB, free: 270.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007981/1.931, allocations: 44.98 kB / 1.489 GB, free: 270.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004766/1.936, allocations: 269.4 kB / 1.489 GB, free: 270.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004614/1.936, allocations: 106.1 kB / 1.489 GB, free: 270.3 MB / 0.823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008848/1.945, allocations: 2.365 MB / 1.492 GB, free: 269.4 MB / 0.823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007883/1.953, allocations: 3.441 MB / 1.495 GB, free: 267.9 MB / 0.823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002162/1.955, allocations: 0.9172 MB / 1.496 GB, free: 267.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002942/1.958, allocations: 1.314 MB / 1.497 GB, free: 267.1 MB / 0.823 GB Notification: Performance of Backend: time 1.343e-06/1.958, allocations: 0 / 1.497 GB, free: 267.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01338/1.972, allocations: 3.823 MB / 1.501 GB, free: 265.7 MB / 0.823 GB Notification: Performance of SimCode: time 0.02274/1.994, allocations: 8.833 MB / 1.51 GB, free: 261.2 MB / 0.823 GB Notification: Performance of Templates: time 0.1592/2.154, allocations: 63.83 MB / 1.572 GB, free: 222 MB / 0.823 GB