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.MixingBoxMinimumFlow.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.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.278/4.278, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 6.726e-05/6.734e-05, allocations: 4.156 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2611, allocations: 98.73 MB / 0.6289 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.007/7.268, allocations: 2.197 GB / 2.825 GB, free: 143.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003927/7.268, allocations: 92.12 kB / 2.826 GB, free: 143.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.769/11.04, allocations: 0.708 GB / 3.534 GB, free: 67.54 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.158e-06/11.04, allocations: 0 / 3.534 GB, free: 67.54 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004319/11.04, allocations: 35.98 kB / 3.534 GB, free: 67.5 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.008961/11.05, allocations: 1.528 MB / 3.535 GB, free: 65.93 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/11.05, allocations: 12.03 kB / 3.535 GB, free: 65.92 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005837/11.05, allocations: 322 kB / 3.535 GB, free: 65.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004426/11.06, allocations: 1.104 MB / 3.536 GB, free: 64.45 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/11.06, allocations: 20 kB / 3.536 GB, free: 64.43 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002888/11.06, allocations: 49.02 kB / 3.537 GB, free: 64.38 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001999/11.06, allocations: 0.7445 MB / 3.537 GB, free: 63.63 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/11.06, allocations: 0.7948 MB / 3.538 GB, free: 62.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/11.06, allocations: 3.953 kB / 3.538 GB, free: 62.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/11.06, allocations: 0 / 3.538 GB, free: 62.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/11.06, allocations: 16 kB / 3.538 GB, free: 62.78 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.009267/11.07, allocations: 3.144 MB / 3.541 GB, free: 59.49 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/11.07, allocations: 0.7322 MB / 3.542 GB, free: 58.73 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008234/11.07, allocations: 410.8 kB / 3.542 GB, free: 58.32 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005082/11.07, allocations: 291.7 kB / 3.542 GB, free: 57.98 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/11.07, allocations: 42.94 kB / 3.543 GB, free: 57.93 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002764/11.08, allocations: 307.4 kB / 3.543 GB, free: 57.63 MB / 0.823 GB Notification: Performance of pre-optimization done (n=52): time 7.474e-06/11.08, allocations: 0 / 3.543 GB, free: 57.63 MB / 0.823 GB Notification: Performance of matching and sorting (n=52): time 0.003104/11.08, allocations: 0.8616 MB / 3.544 GB, free: 56.77 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/11.08, allocations: 218 kB / 3.544 GB, free: 56.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/11.08, allocations: 0.9899 MB / 3.545 GB, free: 55.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003409/11.08, allocations: 25.7 kB / 3.545 GB, free: 55.47 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005307/11.08, allocations: 0.5196 MB / 3.545 GB, free: 54.94 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/11.08, allocations: 173.3 kB / 3.546 GB, free: 54.77 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-05/11.08, allocations: 0 / 3.546 GB, free: 54.77 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.886e-05/11.08, allocations: 338 kB / 3.546 GB, free: 54.43 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008535/11.08, allocations: 349.2 kB / 3.546 GB, free: 54.09 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009909/11.09, allocations: 0.572 MB / 3.547 GB, free: 53.43 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/11.09, allocations: 425.7 kB / 3.547 GB, free: 53.02 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/11.09, allocations: 0 / 3.547 GB, free: 53.02 MB / 0.823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002713/11.09, allocations: 0.9699 MB / 3.548 GB, free: 52.04 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.512e-05/11.09, allocations: 96.64 kB / 3.548 GB, free: 51.94 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/11.09, allocations: 7.984 kB / 3.548 GB, free: 51.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/11.09, allocations: 4 kB / 3.548 GB, free: 51.93 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/11.09, allocations: 175.7 kB / 3.548 GB, free: 51.76 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/11.09, allocations: 4 kB / 3.548 GB, free: 51.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/11.09, allocations: 87.81 kB / 3.548 GB, free: 51.67 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002864/11.09, allocations: 39.95 kB / 3.548 GB, free: 51.63 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/11.09, allocations: 4 kB / 3.548 GB, free: 51.62 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002197/11.1, allocations: 0.8056 MB / 3.549 GB, free: 50.82 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/11.1, allocations: 4 kB / 3.549 GB, free: 50.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/11.1, allocations: 4 kB / 3.549 GB, free: 50.81 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/11.1, allocations: 179.7 kB / 3.549 GB, free: 50.64 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/11.1, allocations: 7.984 kB / 3.549 GB, free: 50.63 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/11.1, allocations: 79.77 kB / 3.55 GB, free: 50.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002362/11.1, allocations: 51.94 kB / 3.55 GB, free: 50.5 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 (69): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003208/11.1, allocations: 112.9 kB / 3.55 GB, free: 50.38 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002256/11.1, allocations: 0.8031 MB / 3.55 GB, free: 49.57 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004574/11.1, allocations: 118.5 kB / 3.551 GB, free: 49.45 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/11.11, allocations: 0.9126 MB / 3.551 GB, free: 48.54 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/11.11, allocations: 4 kB / 3.551 GB, free: 48.53 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/11.11, allocations: 0 / 3.551 GB, free: 48.53 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/11.11, allocations: 3.984 kB / 3.552 GB, free: 48.53 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 postOpt removeSimpleEquations (simulation): time 0.006601/11.11, allocations: 2.112 MB / 3.554 GB, free: 46.34 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/11.11, allocations: 0 / 3.554 GB, free: 46.34 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/11.12, allocations: 140.1 kB / 3.554 GB, free: 46.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/11.12, allocations: 4 kB / 3.554 GB, free: 46.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.823e-05/11.12, allocations: 19.92 kB / 3.554 GB, free: 46.18 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.555e-06/11.12, allocations: 4 kB / 3.554 GB, free: 46.17 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/11.12, allocations: 7.953 kB / 3.554 GB, free: 46.16 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002965/11.12, allocations: 1.471 MB / 3.555 GB, free: 44.61 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009398/11.12, allocations: 303.5 kB / 3.555 GB, free: 44.29 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003184/11.12, allocations: 11.98 kB / 3.555 GB, free: 44.28 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002013/11.12, allocations: 71.77 kB / 3.556 GB, free: 44.21 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/11.12, allocations: 48.38 kB / 3.556 GB, free: 44.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/11.12, allocations: 31.94 kB / 3.556 GB, free: 44.13 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00164/11.12, allocations: 0.7601 MB / 3.556 GB, free: 43.36 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.11e-07/11.12, allocations: 0 / 3.556 GB, free: 43.36 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00299/11.13, allocations: 0.6472 MB / 3.557 GB, free: 42.71 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.006726/11.13, allocations: 4.635 MB / 3.562 GB, free: 37.91 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00311/11.14, allocations: 1.333 MB / 3.563 GB, free: 36.55 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/11.14, allocations: 0 / 3.563 GB, free: 36.55 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008209/11.14, allocations: 361.9 kB / 3.563 GB, free: 36.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004439/11.14, allocations: 485.5 kB / 3.564 GB, free: 35.73 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00558/11.15, allocations: 1.828 MB / 3.565 GB, free: 33.83 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007734/11.15, allocations: 1.174 MB / 3.567 GB, free: 32.63 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003445/11.15, allocations: 428.1 kB / 3.567 GB, free: 32.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/11.15, allocations: 467.2 kB / 3.567 GB, free: 31.75 MB / 0.823 GB Notification: Performance of SimCode: time 1.322e-06/11.15, allocations: 0 / 3.567 GB, free: 31.75 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7576/11.91, allocations: 46.47 MB / 3.613 GB, free: 139.8 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/11.91, allocations: 192.2 kB / 3.613 GB, free: 139.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.566/17.48, allocations: 3.938 kB / 3.613 GB, free: 139.6 MB / 0.823 GB