Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.293/4.293, allocations: 433.2 MB / 440.7 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.034e-05/3.045e-05, allocations: 5 kB / 0.5325 GB, free: 12.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2428, allocations: 98.73 MB / 0.6289 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.338/7.581, allocations: 2.24 GB / 2.868 GB, free: 97.81 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/7.581, allocations: 90.92 kB / 2.869 GB, free: 97.77 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.449/11.03, allocations: 0.6298 GB / 3.498 GB, free: 104 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.066e-06/11.03, allocations: 0 / 3.498 GB, free: 104 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001114/11.03, allocations: 34.67 kB / 3.498 GB, free: 104 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003972/11.03, allocations: 1.349 MB / 3.5 GB, free: 102.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/11.03, allocations: 8.031 kB / 3.5 GB, free: 102.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/11.04, allocations: 251.2 kB / 3.5 GB, free: 102.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/11.04, allocations: 0.7855 MB / 3.501 GB, free: 101.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/11.04, allocations: 28 kB / 3.501 GB, free: 101.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/11.04, allocations: 56 kB / 3.501 GB, free: 101.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001985/11.04, allocations: 0.777 MB / 3.502 GB, free: 100.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/11.04, allocations: 0.9767 MB / 3.503 GB, free: 99.61 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/11.04, allocations: 11.92 kB / 3.503 GB, free: 99.59 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/11.04, allocations: 4 kB / 3.503 GB, free: 99.59 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.485e-05/11.04, allocations: 37.95 kB / 3.503 GB, free: 99.55 MB / 0.823 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.007562/11.05, allocations: 5.432 MB / 3.508 GB, free: 93.73 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/11.05, allocations: 0.5508 MB / 3.508 GB, free: 93.17 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/11.05, allocations: 303.5 kB / 3.509 GB, free: 92.86 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007253/11.05, allocations: 306.3 kB / 3.509 GB, free: 92.51 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/11.05, allocations: 42.94 kB / 3.509 GB, free: 92.46 MB / 0.823 GB Notification: Performance of pre-optimization done (n=52): time 3.266e-06/11.05, allocations: 0 / 3.509 GB, free: 92.46 MB / 0.823 GB Notification: Performance of matching and sorting (n=52): time 0.002/11.06, allocations: 0.5967 MB / 3.51 GB, free: 91.86 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/11.06, allocations: 81.55 kB / 3.51 GB, free: 91.76 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008616/11.06, allocations: 0.5035 MB / 3.51 GB, free: 91.25 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.447e-05/11.06, allocations: 29.7 kB / 3.51 GB, free: 91.21 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/11.06, allocations: 0.4947 MB / 3.511 GB, free: 90.71 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/11.06, allocations: 193.2 kB / 3.511 GB, free: 90.52 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/11.06, allocations: 0 / 3.511 GB, free: 90.52 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001298/11.06, allocations: 378.8 kB / 3.511 GB, free: 90.14 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005443/11.06, allocations: 233.5 kB / 3.511 GB, free: 89.91 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006813/11.06, allocations: 0.5245 MB / 3.512 GB, free: 89.25 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009308/11.06, allocations: 372.4 kB / 3.512 GB, free: 88.89 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/11.06, allocations: 4 kB / 3.512 GB, free: 88.89 MB / 0.823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001963/11.06, allocations: 0.7839 MB / 3.513 GB, free: 88.09 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.517e-05/11.06, allocations: 41.69 kB / 3.513 GB, free: 88.05 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/11.06, allocations: 8 kB / 3.513 GB, free: 88.04 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.313e-05/11.06, allocations: 12.75 kB / 3.513 GB, free: 88.03 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/11.06, allocations: 151.8 kB / 3.513 GB, free: 87.88 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/11.06, allocations: 23.92 kB / 3.513 GB, free: 87.86 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/11.07, allocations: 111.2 kB / 3.513 GB, free: 87.75 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.944e-05/11.07, allocations: 39.98 kB / 3.513 GB, free: 87.71 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001986/11.07, allocations: 128.7 kB / 3.514 GB, free: 87.57 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001351/11.07, allocations: 0.5616 MB / 3.514 GB, free: 87.01 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/11.07, allocations: 71.16 kB / 3.514 GB, free: 86.94 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/11.07, allocations: 0.5892 MB / 3.515 GB, free: 86.33 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/11.07, allocations: 8 kB / 3.515 GB, free: 86.32 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/11.07, allocations: 0 / 3.515 GB, free: 86.32 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001035/11.07, allocations: 0.5056 MB / 3.515 GB, free: 85.81 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003684/11.07, allocations: 1.551 MB / 3.517 GB, free: 84.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/11.07, allocations: 4 kB / 3.517 GB, free: 84.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/11.07, allocations: 119.8 kB / 3.517 GB, free: 84.08 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/11.07, allocations: 4 kB / 3.517 GB, free: 84.07 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.77e-05/11.07, allocations: 4 kB / 3.517 GB, free: 84.07 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/11.07, allocations: 4 kB / 3.517 GB, free: 84.07 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/11.07, allocations: 7.953 kB / 3.517 GB, free: 84.06 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/11.08, allocations: 1.202 MB / 3.518 GB, free: 82.77 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005872/11.08, allocations: 232 kB / 3.518 GB, free: 82.52 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/11.08, allocations: 4 kB / 3.518 GB, free: 82.52 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/11.08, allocations: 55.84 kB / 3.518 GB, free: 82.46 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.612e-05/11.08, allocations: 31.95 kB / 3.518 GB, free: 82.43 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.495e-05/11.08, allocations: 20 kB / 3.518 GB, free: 82.41 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006646/11.08, allocations: 399.1 kB / 3.519 GB, free: 82.03 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.81e-07/11.08, allocations: 0 / 3.519 GB, free: 82.03 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001885/11.08, allocations: 426.3 kB / 3.519 GB, free: 81.62 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005896/11.09, allocations: 4.328 MB / 3.523 GB, free: 77.18 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001528/11.09, allocations: 0.6223 MB / 3.524 GB, free: 76.55 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/11.09, allocations: 0 / 3.524 GB, free: 76.55 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005041/11.09, allocations: 264.5 kB / 3.524 GB, free: 76.29 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00321/11.09, allocations: 366 kB / 3.525 GB, free: 75.93 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004741/11.1, allocations: 1.741 MB / 3.526 GB, free: 74.12 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007539/11.1, allocations: 1.137 MB / 3.527 GB, free: 72.96 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001517/11.1, allocations: 246.2 kB / 3.528 GB, free: 72.71 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000686/11.1, allocations: 351.3 kB / 3.528 GB, free: 72.37 MB / 0.823 GB Notification: Performance of SimCode: time 1.252e-06/11.1, allocations: 0 / 3.528 GB, free: 72.37 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/11.21, allocations: 34.55 MB / 3.562 GB, free: 37.98 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003198/11.21, allocations: 174.3 kB / 3.562 GB, free: 37.79 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.187/15.4, allocations: 0 / 3.562 GB, free: 37.79 MB / 0.823 GB