Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.279/4.279, allocations: 432.6 MB / 445.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.495e-05, allocations: 3.062 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2355, allocations: 98.74 MB / 0.6347 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.299/7.534, allocations: 2.196 GB / 2.831 GB, free: 105 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/7.535, allocations: 97 kB / 2.831 GB, free: 104.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.219/10.75, allocations: 0.5833 GB / 3.414 GB, free: 155.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.903e-06/10.75, allocations: 0 / 3.414 GB, free: 155.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001686/10.75, allocations: 31.92 kB / 3.414 GB, free: 155.7 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.004999/10.76, allocations: 1.285 MB / 3.415 GB, free: 154.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/10.76, allocations: 8.031 kB / 3.415 GB, free: 154.3 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002681/10.76, allocations: 86.52 kB / 3.416 GB, free: 154.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004711/10.76, allocations: 251.2 kB / 3.416 GB, free: 154 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003026/10.77, allocations: 0.8657 MB / 3.417 GB, free: 153.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.19e-05/10.77, allocations: 41 kB / 3.417 GB, free: 153 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/10.77, allocations: 64 kB / 3.417 GB, free: 153 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/10.77, allocations: 0.6528 MB / 3.417 GB, free: 152.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/10.77, allocations: 0 / 3.417 GB, free: 152.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/10.77, allocations: 20 kB / 3.417 GB, free: 152.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/10.77, allocations: 15.39 kB / 3.417 GB, free: 152.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/10.77, allocations: 0.5545 MB / 3.418 GB, free: 151.7 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.007375/10.78, allocations: 2.54 MB / 3.42 GB, free: 149 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/10.78, allocations: 0.5509 MB / 3.421 GB, free: 148.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007069/10.78, allocations: 312.8 kB / 3.421 GB, free: 148.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000534/10.78, allocations: 295.7 kB / 3.422 GB, free: 147.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/10.78, allocations: 40 kB / 3.422 GB, free: 147.8 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00197/10.78, allocations: 227.4 kB / 3.422 GB, free: 147.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=43): time 4.929e-06/10.78, allocations: 0 / 3.422 GB, free: 147.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=43): time 0.002347/10.79, allocations: 0.6719 MB / 3.422 GB, free: 146.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/10.79, allocations: 132.5 kB / 3.423 GB, free: 146.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/10.79, allocations: 0.8964 MB / 3.423 GB, free: 145.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002117/10.79, allocations: 41.7 kB / 3.424 GB, free: 145.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004236/10.79, allocations: 418 kB / 3.424 GB, free: 145.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/10.79, allocations: 153.8 kB / 3.424 GB, free: 145.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/10.79, allocations: 4 kB / 3.424 GB, free: 145.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.035e-05/10.79, allocations: 322 kB / 3.424 GB, free: 144.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000692/10.79, allocations: 252.9 kB / 3.425 GB, free: 144.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008269/10.79, allocations: 445.1 kB / 3.425 GB, free: 144.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007459/10.79, allocations: 309.5 kB / 3.425 GB, free: 143.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/10.79, allocations: 3.953 kB / 3.425 GB, free: 143.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002103/10.79, allocations: 0.7274 MB / 3.426 GB, free: 143.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/10.79, allocations: 91.53 kB / 3.426 GB, free: 143 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/10.79, allocations: 7.984 kB / 3.426 GB, free: 143 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/10.79, allocations: 0 / 3.426 GB, free: 143 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/10.79, allocations: 139.2 kB / 3.426 GB, free: 142.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/10.79, allocations: 0 / 3.426 GB, free: 142.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/10.8, allocations: 83.95 kB / 3.426 GB, free: 142.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/10.8, allocations: 43.95 kB / 3.426 GB, free: 142.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/10.8, allocations: 7.938 kB / 3.426 GB, free: 142.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001667/10.8, allocations: 0.6019 MB / 3.427 GB, free: 142.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/10.8, allocations: 11.94 kB / 3.427 GB, free: 142.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/10.8, allocations: 4 kB / 3.427 GB, free: 142.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/10.8, allocations: 131.8 kB / 3.427 GB, free: 142 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/10.8, allocations: 0 / 3.427 GB, free: 142 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/10.8, allocations: 76.11 kB / 3.427 GB, free: 141.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/10.8, allocations: 31.97 kB / 3.427 GB, free: 141.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0002866/10.8, allocations: 137.1 kB / 3.427 GB, free: 141.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003419/10.8, allocations: 102.8 kB / 3.427 GB, free: 141.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/10.8, allocations: 0.74 MB / 3.428 GB, free: 140.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/10.8, allocations: 4 kB / 3.428 GB, free: 140.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/10.8, allocations: 4 kB / 3.428 GB, free: 140.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/10.8, allocations: 7.984 kB / 3.428 GB, free: 140.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00442/10.81, allocations: 1.764 MB / 3.43 GB, free: 139 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/10.81, allocations: 7.062 kB / 3.43 GB, free: 139 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/10.81, allocations: 119.8 kB / 3.43 GB, free: 138.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/10.81, allocations: 4 kB / 3.43 GB, free: 138.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.881e-05/10.81, allocations: 16 kB / 3.43 GB, free: 138.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/10.81, allocations: 4 kB / 3.43 GB, free: 138.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/10.81, allocations: 8.203 kB / 3.43 GB, free: 138.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/10.81, allocations: 1.229 MB / 3.431 GB, free: 137.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00083/10.81, allocations: 259.7 kB / 3.432 GB, free: 137.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/10.81, allocations: 23.94 kB / 3.432 GB, free: 137.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/10.82, allocations: 63.91 kB / 3.432 GB, free: 137.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/10.82, allocations: 43.88 kB / 3.432 GB, free: 137.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-05/10.82, allocations: 20 kB / 3.432 GB, free: 137.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001526/10.82, allocations: 0.7013 MB / 3.432 GB, free: 136.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.91e-07/10.82, allocations: 4 kB / 3.432 GB, free: 136.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00291/10.82, allocations: 0.5775 MB / 3.433 GB, free: 135.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * 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.005701/10.83, allocations: 3.943 MB / 3.437 GB, free: 131.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00255/10.83, allocations: 0.9862 MB / 3.438 GB, free: 130.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/10.83, allocations: 0 / 3.438 GB, free: 130.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007069/10.83, allocations: 287.7 kB / 3.438 GB, free: 130.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004073/10.83, allocations: 462.5 kB / 3.438 GB, free: 130 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004661/10.84, allocations: 1.485 MB / 3.44 GB, free: 128.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000587/10.84, allocations: 1.055 MB / 3.441 GB, free: 127.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002758/10.84, allocations: 366.3 kB / 3.441 GB, free: 127 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008103/10.84, allocations: 351.3 kB / 3.442 GB, free: 126.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.493e-06/10.84, allocations: 0 / 3.442 GB, free: 126.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1308/10.97, allocations: 57.65 MB / 3.498 GB, free: 69.18 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0017/10.98, allocations: 203.8 kB / 3.498 GB, free: 68.95 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.045/17.02, allocations: 0 / 3.498 GB, free: 68.95 MB / 0.823 GB