Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.544/2.544, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00162/0.00162, allocations: 175.3 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.544/2.544, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 104.3 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004793, allocations: 11.97 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2205, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.9308/1.151, allocations: 165 MB / 1.06 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01924/1.171, allocations: 8.47 MB / 1.068 GB, free: 3.711 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/1.173, allocations: 40.84 kB / 1.068 GB, free: 3.711 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00355/1.177, allocations: 0.7907 MB / 1.069 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008046/1.185, allocations: 1.775 MB / 1.071 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01318/1.198, allocations: 2.801 MB / 1.074 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005123/1.203, allocations: 1.695 MB / 1.075 GB, free: 3.559 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005126/1.208, allocations: 1.152 MB / 1.076 GB, free: 3.43 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005927/1.214, allocations: 1.109 MB / 1.077 GB, free: 3.422 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003837/1.218, allocations: 0.856 MB / 1.078 GB, free: 3.414 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001214/1.219, allocations: 77.75 kB / 1.078 GB, free: 3.414 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00586/1.225, allocations: 0.8288 MB / 1.079 GB, free: 3.414 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00167/1.227, allocations: 419.2 kB / 1.08 GB, free: 3.414 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001467/1.229, allocations: 281.9 kB / 1.08 GB, free: 19.38 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005989/1.235, allocations: 1.94 MB / 1.082 GB, free: 19.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.235, allocations: 0 / 1.082 GB, free: 19.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.068e-06/1.235, allocations: 0 / 1.082 GB, free: 19.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.429e-05/1.235, allocations: 4 kB / 1.082 GB, free: 19.26 MB / 0.7136 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.01317/1.248, allocations: 1.869 MB / 1.084 GB, free: 18.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.217e-05/1.248, allocations: 9.781 kB / 1.084 GB, free: 18.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/1.251, allocations: 235.3 kB / 1.084 GB, free: 18.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007177/1.258, allocations: 1.279 MB / 1.085 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005767/1.259, allocations: 66.67 kB / 1.085 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005448/1.259, allocations: 77.91 kB / 1.085 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004698/1.264, allocations: 0.9226 MB / 1.086 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.154e-05/1.264, allocations: 5.859 kB / 1.086 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/1.265, allocations: 32.98 kB / 1.086 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/1.265, allocations: 15.56 kB / 1.086 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005176/1.27, allocations: 0.8439 MB / 1.087 GB, free: 17.78 MB / 0.7136 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.01663/1.286, allocations: 3.505 MB / 1.09 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004132/1.291, allocations: 0.8036 MB / 1.091 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/1.291, allocations: 21.45 kB / 1.091 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/1.291, allocations: 42.66 kB / 1.091 GB, free: 16.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003616/1.295, allocations: 236.6 kB / 1.091 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 1.111e-05/1.295, allocations: 0 / 1.091 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.008102/1.303, allocations: 1.343 MB / 1.093 GB, free: 16.44 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001788/1.303, allocations: 212.5 kB / 1.093 GB, free: 16.19 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008108/1.311, allocations: 1.661 MB / 1.095 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006301/1.312, allocations: 42.7 kB / 1.095 GB, free: 16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001246/1.313, allocations: 0.5612 MB / 1.095 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007287/1.314, allocations: 183.4 kB / 1.095 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/1.314, allocations: 10.31 kB / 1.095 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002339/1.314, allocations: 328.1 kB / 1.096 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/1.316, allocations: 386 kB / 1.096 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00311/1.32, allocations: 0.6979 MB / 1.097 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002735/1.322, allocations: 464.4 kB / 1.097 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/1.322, allocations: 2.812 kB / 1.097 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.006044/1.329, allocations: 1.059 MB / 1.098 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.151e-05/1.329, allocations: 99.62 kB / 1.098 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.17e-05/1.329, allocations: 3.094 kB / 1.098 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/1.329, allocations: 1.656 kB / 1.098 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/1.331, allocations: 159.2 kB / 1.098 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/1.331, allocations: 6.875 kB / 1.098 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00619/1.337, allocations: 169.2 kB / 1.099 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003943/1.338, allocations: 31.22 kB / 1.099 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.338, allocations: 6.125 kB / 1.099 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00486/1.342, allocations: 0.8882 MB / 1.099 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.266e-05/1.343, allocations: 6.047 kB / 1.1 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/1.343, allocations: 10.02 kB / 1.1 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002302/1.345, allocations: 159.8 kB / 1.1 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.345, allocations: 0 / 1.1 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004485/1.349, allocations: 159.2 kB / 1.1 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/1.35, allocations: 37.42 kB / 1.1 GB, free: 14.8 MB / 0.7136 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.001259/1.351, allocations: 379 kB / 1.1 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007319/1.352, allocations: 133.8 kB / 1.1 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004475/1.356, allocations: 1.056 MB / 1.101 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/1.356, allocations: 5.781 kB / 1.101 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/1.356, allocations: 2.375 kB / 1.101 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/1.356, allocations: 4.828 kB / 1.101 GB, free: 14.45 MB / 0.7136 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.03592/1.392, allocations: 2.49 MB / 1.104 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/1.392, allocations: 6.188 kB / 1.104 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/1.394, allocations: 139.4 kB / 1.104 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/1.394, allocations: 5.719 kB / 1.104 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/1.394, allocations: 19.25 kB / 1.104 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/1.394, allocations: 2.969 kB / 1.104 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.394, allocations: 6.766 kB / 1.104 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006863/1.401, allocations: 1.698 MB / 1.106 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/1.403, allocations: 348.3 kB / 1.106 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005492/1.403, allocations: 19.06 kB / 1.106 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002927/1.406, allocations: 105.3 kB / 1.106 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/1.407, allocations: 44.08 kB / 1.106 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/1.407, allocations: 21.8 kB / 1.106 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004399/1.411, allocations: 1.199 MB / 1.107 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.22e-07/1.411, allocations: 0 / 1.107 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004058/1.415, allocations: 0.5476 MB / 1.108 GB, free: 13.11 MB / 0.7136 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.001165/1.416, allocations: 275.2 kB / 1.108 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005899/1.422, allocations: 1.439 MB / 1.11 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/1.422, allocations: 1.031 kB / 1.11 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001889/1.424, allocations: 438.1 kB / 1.11 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006272/1.431, allocations: 0.5919 MB / 1.111 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006218/1.437, allocations: 2.528 MB / 1.113 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/1.438, allocations: 1.198 MB / 1.114 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003267/1.442, allocations: 378.6 kB / 1.115 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/1.443, allocations: 125.4 kB / 1.115 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of SimCode: time 1.483e-06/1.443, allocations: 0 / 1.115 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of Templates: time 0.08497/1.528, allocations: 27.02 MB / 1.141 GB, free: 12.07 MB / 0.7292 GB