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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.275/4.275, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.195e-05/4.215e-05, allocations: 6.234 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2409, allocations: 98.74 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.271/7.512, allocations: 2.24 GB / 2.875 GB, free: 60.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/7.512, allocations: 88.77 kB / 2.875 GB, free: 60.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.642/11.15, allocations: 0.6374 GB / 3.512 GB, free: 54.32 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.194e-06/11.15, allocations: 0 / 3.512 GB, free: 54.32 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000115/11.15, allocations: 31.98 kB / 3.512 GB, free: 54.29 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.004049/11.16, allocations: 1.359 MB / 3.514 GB, free: 52.88 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/11.16, allocations: 12.03 kB / 3.514 GB, free: 52.87 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003162/11.16, allocations: 143.6 kB / 3.514 GB, free: 52.72 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/11.16, allocations: 250.4 kB / 3.514 GB, free: 52.47 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002539/11.16, allocations: 0.7769 MB / 3.515 GB, free: 51.66 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.876e-05/11.16, allocations: 74 kB / 3.515 GB, free: 51.59 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/11.16, allocations: 92 kB / 3.515 GB, free: 51.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/11.17, allocations: 1.11 MB / 3.516 GB, free: 50.32 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.657e-05/11.17, allocations: 3.938 kB / 3.516 GB, free: 50.32 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/11.17, allocations: 40 kB / 3.516 GB, free: 50.28 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.936e-05/11.17, allocations: 37.95 kB / 3.516 GB, free: 50.24 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/11.17, allocations: 0.8471 MB / 3.517 GB, free: 49.39 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.007974/11.18, allocations: 5.62 MB / 3.523 GB, free: 43.32 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/11.18, allocations: 0.5863 MB / 3.523 GB, free: 42.71 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006479/11.18, allocations: 319.5 kB / 3.523 GB, free: 42.39 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000735/11.18, allocations: 311.8 kB / 3.524 GB, free: 42.03 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/11.18, allocations: 39 kB / 3.524 GB, free: 41.98 MB / 0.823 GB Notification: Performance of pre-optimization done (n=52): time 3.296e-06/11.18, allocations: 0 / 3.524 GB, free: 41.98 MB / 0.823 GB Notification: Performance of matching and sorting (n=52): time 0.001935/11.18, allocations: 0.5966 MB / 3.524 GB, free: 41.38 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/11.18, allocations: 85.55 kB / 3.524 GB, free: 41.28 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/11.18, allocations: 0.6407 MB / 3.525 GB, free: 40.64 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/11.18, allocations: 41.7 kB / 3.525 GB, free: 40.59 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/11.18, allocations: 498.8 kB / 3.526 GB, free: 40.09 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/11.18, allocations: 189.3 kB / 3.526 GB, free: 39.91 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/11.18, allocations: 16 kB / 3.526 GB, free: 39.89 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001445/11.18, allocations: 394.7 kB / 3.526 GB, free: 39.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006249/11.18, allocations: 257.5 kB / 3.526 GB, free: 39.25 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008362/11.18, allocations: 0.5566 MB / 3.527 GB, free: 38.55 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008084/11.19, allocations: 387.5 kB / 3.527 GB, free: 38.17 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/11.19, allocations: 4 kB / 3.527 GB, free: 38.16 MB / 0.823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002057/11.19, allocations: 0.8859 MB / 3.528 GB, free: 37.27 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.459e-05/11.19, allocations: 37.7 kB / 3.528 GB, free: 37.23 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/11.19, allocations: 4 kB / 3.528 GB, free: 37.22 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.663e-05/11.19, allocations: 16 kB / 3.528 GB, free: 37.21 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/11.19, allocations: 160.4 kB / 3.528 GB, free: 37.05 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-05/11.19, allocations: 15.94 kB / 3.528 GB, free: 37.04 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/11.19, allocations: 151 kB / 3.528 GB, free: 36.89 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/11.19, allocations: 32 kB / 3.529 GB, free: 36.86 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 (90): * Single equations (assignments): 89 * 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.0002295/11.19, allocations: 160.7 kB / 3.529 GB, free: 36.69 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/11.19, allocations: 90.95 kB / 3.529 GB, free: 36.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/11.19, allocations: 0.598 MB / 3.529 GB, free: 36 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/11.19, allocations: 15.97 kB / 3.529 GB, free: 35.98 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/11.19, allocations: 0 / 3.529 GB, free: 35.98 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001021/11.19, allocations: 0.5017 MB / 3.53 GB, free: 35.46 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004343/11.2, allocations: 1.663 MB / 3.531 GB, free: 33.72 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/11.2, allocations: 0 / 3.531 GB, free: 33.72 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/11.2, allocations: 115.9 kB / 3.532 GB, free: 33.61 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/11.2, allocations: 4 kB / 3.532 GB, free: 33.61 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.365e-05/11.2, allocations: 16.22 kB / 3.532 GB, free: 33.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/11.2, allocations: 11.95 kB / 3.532 GB, free: 33.58 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/11.2, allocations: 7.938 kB / 3.532 GB, free: 33.57 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/11.2, allocations: 1.218 MB / 3.533 GB, free: 32.26 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007315/11.2, allocations: 231.9 kB / 3.533 GB, free: 32.02 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/11.2, allocations: 19.92 kB / 3.533 GB, free: 32 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/11.2, allocations: 63.88 kB / 3.533 GB, free: 31.93 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/11.2, allocations: 31.97 kB / 3.533 GB, free: 31.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.158e-05/11.2, allocations: 23.98 kB / 3.533 GB, free: 31.88 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009501/11.21, allocations: 0.4913 MB / 3.534 GB, free: 31.39 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.21e-07/11.21, allocations: 0 / 3.534 GB, free: 31.39 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002318/11.21, allocations: 495.2 kB / 3.534 GB, free: 30.91 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.005888/11.21, allocations: 4.118 MB / 3.538 GB, free: 26.64 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001712/11.22, allocations: 0.6826 MB / 3.539 GB, free: 25.95 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/11.22, allocations: 4.062 kB / 3.539 GB, free: 25.94 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000564/11.22, allocations: 271.7 kB / 3.539 GB, free: 25.68 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003747/11.22, allocations: 422 kB / 3.539 GB, free: 25.27 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004874/11.22, allocations: 1.802 MB / 3.541 GB, free: 23.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007362/11.23, allocations: 1.146 MB / 3.542 GB, free: 22.23 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001418/11.23, allocations: 267 kB / 3.543 GB, free: 21.96 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006491/11.23, allocations: 351.3 kB / 3.543 GB, free: 21.62 MB / 0.823 GB Notification: Performance of SimCode: time 3.126e-06/11.23, allocations: 0 / 3.543 GB, free: 21.62 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.905/12.13, allocations: 56.43 MB / 3.598 GB, free: 151.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/12.13, allocations: 202 kB / 3.598 GB, free: 151.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.517/17.65, allocations: 0 / 3.598 GB, free: 151.4 MB / 0.8386 GB