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.426/2.426, allocations: 248.5 MB / 261.1 MB, free: 6.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001558, allocations: 174.7 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.157/2.157, allocations: 205.2 MB / 0.5711 GB, free: 11.79 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.001184/0.001184, allocations: 93.31 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.23e-05/4.256e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2297, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.354/7.584, allocations: 2.201 GB / 3.092 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/7.584, allocations: 91.94 kB / 3.092 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.285/10.87, allocations: 0.5859 GB / 3.678 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.873e-06/10.87, allocations: 0 / 3.678 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001476/10.87, allocations: 36.31 kB / 3.678 GB, free: 182.6 MB / 0.8698 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.004345/10.87, allocations: 1.329 MB / 3.679 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/10.87, allocations: 9.781 kB / 3.679 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002211/10.87, allocations: 89.02 kB / 3.679 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004376/10.88, allocations: 238.6 kB / 3.68 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003242/10.88, allocations: 1.037 MB / 3.681 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/10.88, allocations: 46.89 kB / 3.681 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/10.88, allocations: 65.09 kB / 3.681 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/10.88, allocations: 0.6593 MB / 3.681 GB, free: 181 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/10.88, allocations: 0 / 3.681 GB, free: 181 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.742e-05/10.88, allocations: 23.09 kB / 3.681 GB, free: 181 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/10.88, allocations: 8.469 kB / 3.681 GB, free: 181 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/10.89, allocations: 0.5568 MB / 3.682 GB, free: 180.8 MB / 0.8698 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.007145/10.89, allocations: 2.735 MB / 3.685 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/10.89, allocations: 0.5179 MB / 3.685 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006955/10.89, allocations: 318.1 kB / 3.685 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005123/10.9, allocations: 291.6 kB / 3.686 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/10.9, allocations: 34.56 kB / 3.686 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002015/10.9, allocations: 225 kB / 3.686 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 3.737e-06/10.9, allocations: 0 / 3.686 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43): time 0.002174/10.9, allocations: 0.6846 MB / 3.687 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/10.9, allocations: 138.5 kB / 3.687 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002481/10.9, allocations: 1.094 MB / 3.688 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002584/10.9, allocations: 41.11 kB / 3.688 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004715/10.9, allocations: 455.5 kB / 3.688 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/10.9, allocations: 153.8 kB / 3.688 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/10.9, allocations: 4 kB / 3.688 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.651e-05/10.9, allocations: 327.9 kB / 3.689 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006126/10.9, allocations: 235.6 kB / 3.689 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008563/10.9, allocations: 494 kB / 3.689 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006851/10.91, allocations: 291.6 kB / 3.69 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/10.91, allocations: 3.953 kB / 3.69 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002032/10.91, allocations: 0.6948 MB / 3.69 GB, free: 176 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.435e-05/10.91, allocations: 109.2 kB / 3.691 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/10.91, allocations: 3.984 kB / 3.691 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/10.91, allocations: 3.625 kB / 3.691 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/10.91, allocations: 121.7 kB / 3.691 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/10.91, allocations: 3.688 kB / 3.691 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/10.91, allocations: 118.2 kB / 3.691 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/10.91, allocations: 34.27 kB / 3.691 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/10.91, allocations: 8.75 kB / 3.691 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00153/10.91, allocations: 0.57 MB / 3.691 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/10.91, allocations: 11.8 kB / 3.691 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/10.91, allocations: 0 / 3.691 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/10.91, allocations: 124.5 kB / 3.692 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/10.91, allocations: 0 / 3.692 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002613/10.92, allocations: 115.9 kB / 3.692 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/10.92, allocations: 33.78 kB / 3.692 GB, free: 175.6 MB / 0.8698 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 (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.0003038/10.92, allocations: 129.9 kB / 3.692 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/10.92, allocations: 104.8 kB / 3.692 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/10.92, allocations: 0.7516 MB / 3.693 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/10.92, allocations: 3.906 kB / 3.693 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/10.92, allocations: 3.5 kB / 3.693 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/10.92, allocations: 3.656 kB / 3.693 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004449/10.92, allocations: 1.893 MB / 3.694 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/10.92, allocations: 3.75 kB / 3.694 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/10.93, allocations: 121.1 kB / 3.695 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/10.93, allocations: 3.844 kB / 3.695 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.26e-05/10.93, allocations: 14.84 kB / 3.695 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/10.93, allocations: 3.469 kB / 3.695 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/10.93, allocations: 3.156 kB / 3.695 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/10.93, allocations: 1.247 MB / 3.696 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008088/10.93, allocations: 305.8 kB / 3.696 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/10.93, allocations: 22.69 kB / 3.696 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/10.93, allocations: 72.5 kB / 3.696 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/10.93, allocations: 50.47 kB / 3.696 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.68e-05/10.93, allocations: 23.86 kB / 3.696 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001844/10.93, allocations: 0.8637 MB / 3.697 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.51e-07/10.93, allocations: 0 / 3.697 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002817/10.94, allocations: 0.6007 MB / 3.698 GB, free: 172.7 MB / 0.8698 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.005616/10.94, allocations: 3.945 MB / 3.702 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002393/10.94, allocations: 0.9441 MB / 3.702 GB, free: 170 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/10.94, allocations: 0 / 3.702 GB, free: 170 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006874/10.95, allocations: 293.4 kB / 3.703 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00421/10.95, allocations: 473.5 kB / 3.703 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/10.95, allocations: 1.526 MB / 3.705 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/10.95, allocations: 1.079 MB / 3.706 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0029/10.96, allocations: 419.8 kB / 3.706 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007482/10.96, allocations: 374 kB / 3.707 GB, free: 168 MB / 0.8698 GB Notification: Performance of SimCode: time 1.333e-06/10.96, allocations: 0 / 3.707 GB, free: 168 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1714/11.13, allocations: 60.16 MB / 3.765 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/11.13, allocations: 201.2 kB / 3.765 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.371/16.5, allocations: 0 / 3.765 GB, free: 115.2 MB / 0.8698 GB