Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.209/2.209, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001562/0.001561, allocations: 171.4 kB / 325.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.374/2.374, allocations: 205.4 MB / 0.5764 GB, free: 20.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001165, allocations: 97.62 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005198/0.0005198, allocations: 15 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2261, allocations: 106.3 MB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.396/7.623, allocations: 2.201 GB / 3.1 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003774/7.623, allocations: 95.05 kB / 3.1 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.589/10.21, allocations: 0.5865 GB / 3.687 GB, free: 75.84 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.164e-06/10.21, allocations: 0 / 3.687 GB, free: 75.84 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001823/10.21, allocations: 28 kB / 3.687 GB, free: 75.81 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.00774/10.22, allocations: 1.717 MB / 3.688 GB, free: 74.04 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/10.22, allocations: 12.03 kB / 3.688 GB, free: 74.02 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000445/10.22, allocations: 94.47 kB / 3.689 GB, free: 73.92 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0047/10.23, allocations: 246.3 kB / 3.689 GB, free: 73.68 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004484/10.23, allocations: 1.059 MB / 3.69 GB, free: 72.57 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.123e-05/10.23, allocations: 45 kB / 3.69 GB, free: 72.52 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/10.23, allocations: 64 kB / 3.69 GB, free: 72.46 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/10.23, allocations: 0.7152 MB / 3.691 GB, free: 71.72 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/10.23, allocations: 0 / 3.691 GB, free: 71.72 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/10.23, allocations: 23.95 kB / 3.691 GB, free: 71.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/10.23, allocations: 12 kB / 3.691 GB, free: 71.69 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/10.23, allocations: 0.648 MB / 3.691 GB, free: 71.04 MB / 0.8855 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.007239/10.24, allocations: 2.744 MB / 3.694 GB, free: 68.15 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/10.24, allocations: 0.5822 MB / 3.695 GB, free: 67.56 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005109/10.24, allocations: 283.5 kB / 3.695 GB, free: 67.23 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/10.24, allocations: 46.55 kB / 3.695 GB, free: 67.18 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002101/10.25, allocations: 215.5 kB / 3.695 GB, free: 66.96 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=43): time 4.358e-06/10.25, allocations: 4 kB / 3.695 GB, free: 66.96 MB / 0.8855 GB Notification: Performance of matching and sorting (n=43): time 0.004138/10.25, allocations: 1.056 MB / 3.696 GB, free: 65.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/10.25, allocations: 136.5 kB / 3.696 GB, free: 65.73 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/10.25, allocations: 1.126 MB / 3.697 GB, free: 64.59 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002615/10.25, allocations: 45.7 kB / 3.697 GB, free: 64.54 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004366/10.25, allocations: 460.7 kB / 3.698 GB, free: 64.09 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/10.26, allocations: 149.8 kB / 3.698 GB, free: 63.94 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/10.26, allocations: 8 kB / 3.698 GB, free: 63.93 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/10.26, allocations: 326 kB / 3.698 GB, free: 63.61 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009813/10.26, allocations: 288.7 kB / 3.699 GB, free: 63.33 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/10.26, allocations: 0.519 MB / 3.699 GB, free: 62.71 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/10.26, allocations: 346.5 kB / 3.699 GB, free: 62.38 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/10.26, allocations: 4 kB / 3.699 GB, free: 62.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002827/10.26, allocations: 0.7915 MB / 3.7 GB, free: 61.57 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.946e-05/10.26, allocations: 105 kB / 3.7 GB, free: 61.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/10.26, allocations: 0 / 3.7 GB, free: 61.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/10.26, allocations: 4 kB / 3.7 GB, free: 61.46 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/10.26, allocations: 131.8 kB / 3.7 GB, free: 61.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/10.26, allocations: 4 kB / 3.7 GB, free: 61.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002571/10.27, allocations: 119.8 kB / 3.701 GB, free: 61.21 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/10.27, allocations: 31.97 kB / 3.701 GB, free: 61.18 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/10.27, allocations: 0 / 3.701 GB, free: 61.18 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002258/10.27, allocations: 0.6661 MB / 3.701 GB, free: 60.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/10.27, allocations: 0 / 3.701 GB, free: 60.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/10.27, allocations: 0 / 3.701 GB, free: 60.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/10.27, allocations: 127.8 kB / 3.701 GB, free: 60.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/10.27, allocations: 3.984 kB / 3.701 GB, free: 60.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/10.27, allocations: 123.7 kB / 3.701 GB, free: 60.26 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/10.27, allocations: 31.97 kB / 3.701 GB, free: 60.23 MB / 0.8855 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 45 * 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.0007461/10.27, allocations: 337.2 kB / 3.702 GB, free: 59.89 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004398/10.27, allocations: 102.7 kB / 3.702 GB, free: 59.79 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/10.28, allocations: 0.8385 MB / 3.703 GB, free: 58.94 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/10.28, allocations: 4 kB / 3.703 GB, free: 58.94 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/10.28, allocations: 4 kB / 3.703 GB, free: 58.93 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/10.28, allocations: 3.984 kB / 3.703 GB, free: 58.93 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005438/10.28, allocations: 1.999 MB / 3.705 GB, free: 56.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/10.28, allocations: 8 kB / 3.705 GB, free: 56.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/10.28, allocations: 123.8 kB / 3.705 GB, free: 56.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/10.28, allocations: 4 kB / 3.705 GB, free: 56.71 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.618e-05/10.28, allocations: 16.27 kB / 3.705 GB, free: 56.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/10.28, allocations: 8 kB / 3.705 GB, free: 56.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/10.28, allocations: 0 / 3.705 GB, free: 56.69 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003769/10.29, allocations: 1.389 MB / 3.706 GB, free: 55.21 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/10.29, allocations: 303.5 kB / 3.706 GB, free: 54.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003587/10.29, allocations: 12 kB / 3.706 GB, free: 54.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/10.29, allocations: 87.89 kB / 3.707 GB, free: 54.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/10.29, allocations: 47.84 kB / 3.707 GB, free: 54.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.269e-05/10.29, allocations: 23.98 kB / 3.707 GB, free: 54.73 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002541/10.29, allocations: 0.894 MB / 3.708 GB, free: 53.82 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.52e-07/10.29, allocations: 0 / 3.708 GB, free: 53.82 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00323/10.3, allocations: 0.6009 MB / 3.708 GB, free: 53.22 MB / 0.8855 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 () * Number of clocked 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.007022/10.3, allocations: 4.1 MB / 3.712 GB, free: 48.98 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00351/10.31, allocations: 1.05 MB / 3.713 GB, free: 47.91 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/10.31, allocations: 0 / 3.713 GB, free: 47.91 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/10.31, allocations: 348.5 kB / 3.713 GB, free: 47.57 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004451/10.31, allocations: 463.4 kB / 3.714 GB, free: 47.12 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005776/10.32, allocations: 2.529 MB / 3.716 GB, free: 44.51 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006414/10.32, allocations: 1.073 MB / 3.717 GB, free: 43.41 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002288/10.32, allocations: 291.2 kB / 3.718 GB, free: 43.12 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/10.32, allocations: 403.3 kB / 3.718 GB, free: 42.72 MB / 0.8855 GB Notification: Performance of SimCode: time 1.483e-06/10.32, allocations: 0 / 3.718 GB, free: 42.72 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7901/11.11, allocations: 54.03 MB / 3.771 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002706/11.11, allocations: 218.4 kB / 3.771 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.132/16.25, allocations: 0.625 kB / 3.771 GB, free: 178.1 MB / 0.8855 GB