Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.MixingBoxMinimumFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",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.181/2.181, 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.001523/0.001523, allocations: 180.3 kB / 325.5 MB, free: 2.895 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.327/2.327, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.0011/0.0011, allocations: 97.48 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006449/0.000645, allocations: 11.66 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2284, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.355/7.584, allocations: 2.202 GB / 3.101 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004027/7.584, allocations: 100 kB / 3.101 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.876/11.46, allocations: 0.7207 GB / 3.822 GB, free: 165 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.886e-06/11.46, allocations: 0 / 3.822 GB, free: 165 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000276/11.46, allocations: 44.44 kB / 3.822 GB, free: 165 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.01043/11.47, allocations: 2.096 MB / 3.824 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/11.47, allocations: 7.75 kB / 3.824 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005737/11.47, allocations: 114.1 kB / 3.824 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005515/11.48, allocations: 299.2 kB / 3.825 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005861/11.48, allocations: 1.379 MB / 3.826 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/11.48, allocations: 62.92 kB / 3.826 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003363/11.48, allocations: 88.06 kB / 3.826 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/11.49, allocations: 0.9511 MB / 3.827 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/11.49, allocations: 0 / 3.827 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/11.49, allocations: 27.28 kB / 3.827 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/11.49, allocations: 17.16 kB / 3.827 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002953/11.49, allocations: 0.8688 MB / 3.828 GB, free: 163.7 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.01095/11.5, allocations: 3.564 MB / 3.831 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/11.5, allocations: 0.7953 MB / 3.832 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005576/11.5, allocations: 296.6 kB / 3.832 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/11.5, allocations: 40.3 kB / 3.832 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003121/11.51, allocations: 338.1 kB / 3.833 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=52): time 8.526e-06/11.51, allocations: 7.719 kB / 3.833 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=52): time 0.006288/11.51, allocations: 1.343 MB / 3.834 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.469e-05/11.51, allocations: 219.8 kB / 3.834 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004172/11.52, allocations: 1.466 MB / 3.836 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003966/11.52, allocations: 47.23 kB / 3.836 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00061/11.52, allocations: 0.5583 MB / 3.836 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/11.52, allocations: 187.4 kB / 3.836 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.539e-05/11.52, allocations: 8.469 kB / 3.836 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.692e-05/11.52, allocations: 329.5 kB / 3.837 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/11.52, allocations: 389 kB / 3.837 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/11.52, allocations: 0.7027 MB / 3.838 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/11.52, allocations: 474.5 kB / 3.838 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/11.52, allocations: 0 / 3.838 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004031/11.53, allocations: 1.049 MB / 3.839 GB, free: 160.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.769e-05/11.53, allocations: 97.03 kB / 3.839 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.591e-05/11.53, allocations: 7.094 kB / 3.839 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.373e-05/11.53, allocations: 0 / 3.839 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/11.53, allocations: 164.7 kB / 3.84 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/11.53, allocations: 3.953 kB / 3.84 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003593/11.53, allocations: 155.8 kB / 3.84 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003691/11.53, allocations: 39.8 kB / 3.84 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/11.53, allocations: 3.5 kB / 3.84 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003222/11.54, allocations: 0.8948 MB / 3.841 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/11.54, allocations: 9.438 kB / 3.841 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/11.54, allocations: 3.844 kB / 3.841 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/11.54, allocations: 157.8 kB / 3.841 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/11.54, allocations: 3.875 kB / 3.841 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003595/11.54, allocations: 152.4 kB / 3.841 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/11.54, allocations: 44.62 kB / 3.841 GB, free: 160.6 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 (61): * Single equations (assignments): 57 * 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.001118/11.54, allocations: 382.6 kB / 3.841 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007701/11.55, allocations: 129.2 kB / 3.841 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004099/11.55, allocations: 1.081 MB / 3.843 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/11.55, allocations: 7.312 kB / 3.843 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/11.55, allocations: 0 / 3.843 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/11.55, allocations: 3.891 kB / 3.843 GB, free: 160.3 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 postOpt removeSimpleEquations (simulation): time 0.00745/11.56, allocations: 2.519 MB / 3.845 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/11.56, allocations: 9.688 kB / 3.845 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/11.56, allocations: 135.1 kB / 3.845 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/11.56, allocations: 7.781 kB / 3.845 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.443e-05/11.56, allocations: 20.73 kB / 3.845 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/11.56, allocations: 6.125 kB / 3.845 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/11.56, allocations: 8.156 kB / 3.845 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004907/11.56, allocations: 1.706 MB / 3.847 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/11.57, allocations: 368 kB / 3.847 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004843/11.57, allocations: 18.08 kB / 3.847 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002716/11.57, allocations: 102.7 kB / 3.847 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003337/11.57, allocations: 49.14 kB / 3.847 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/11.57, allocations: 31.17 kB / 3.847 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003467/11.57, allocations: 1.163 MB / 3.849 GB, free: 159.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.81e-07/11.57, allocations: 0 / 3.849 GB, free: 159.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003918/11.58, allocations: 0.7329 MB / 3.849 GB, free: 159 MB / 0.8855 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 () * Number of clocked 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.01025/11.59, allocations: 4.639 MB / 3.854 GB, free: 157 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00455/11.59, allocations: 1.422 MB / 3.855 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.008e-06/11.59, allocations: 0 / 3.855 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/11.59, allocations: 429.6 kB / 3.856 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005642/11.6, allocations: 0.572 MB / 3.856 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008029/11.61, allocations: 3.178 MB / 3.859 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007767/11.61, allocations: 1.199 MB / 3.86 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002982/11.61, allocations: 372.1 kB / 3.861 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0018/11.61, allocations: 0.5315 MB / 3.861 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.734e-06/11.61, allocations: 0 / 3.861 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1458/11.76, allocations: 65.64 MB / 3.925 GB, free: 148.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/11.76, allocations: 229.3 kB / 3.926 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.802/17.56, allocations: 0 / 3.926 GB, free: 148.1 MB / 0.8855 GB