Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01205/0.01205, allocations: 110.3 kB / 15.74 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002589/0.002589, allocations: 196 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.619/1.619, allocations: 251.7 MB / 0.5094 GB, free: 3.062 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 69.77 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2899, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 1.008/1.298, allocations: 199 MB / 1.022 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.03184/1.33, allocations: 8.737 MB / 1.031 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00445/1.335, allocations: 46.16 kB / 1.031 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004513/1.339, allocations: 0.709 MB / 1.032 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01205/1.351, allocations: 1.918 MB / 1.034 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01729/1.369, allocations: 3.255 MB / 1.037 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006976/1.376, allocations: 2.977 MB / 1.04 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002598/1.378, allocations: 1.468 MB / 1.041 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002735/1.381, allocations: 1.265 MB / 1.042 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/1.383, allocations: 1.152 MB / 1.043 GB, free: 128 kB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003042/1.383, allocations: 192 kB / 1.044 GB, free: 15.93 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003328/1.386, allocations: 1.512 MB / 1.045 GB, free: 14.42 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005994/1.387, allocations: 0.5568 MB / 1.046 GB, free: 13.86 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009842/1.388, allocations: 0.8631 MB / 1.046 GB, free: 13 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00536/1.393, allocations: 2.663 MB / 1.049 GB, free: 10.33 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/1.393, allocations: 3.938 kB / 1.049 GB, free: 10.32 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.647e-06/1.393, allocations: 0 / 1.049 GB, free: 10.32 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.694e-05/1.394, allocations: 0 / 1.049 GB, free: 10.32 MB / 0.795 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.006961/1.4, allocations: 2.192 MB / 1.051 GB, free: 8.074 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/1.401, allocations: 12.03 kB / 1.051 GB, free: 8.062 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/1.402, allocations: 230 kB / 1.051 GB, free: 7.836 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003265/1.405, allocations: 1.365 MB / 1.053 GB, free: 6.418 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-05/1.405, allocations: 61.25 kB / 1.053 GB, free: 6.359 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/1.405, allocations: 83.98 kB / 1.053 GB, free: 6.277 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/1.407, allocations: 0.9166 MB / 1.054 GB, free: 5.332 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/1.407, allocations: 7.938 kB / 1.054 GB, free: 5.324 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.134e-05/1.408, allocations: 27.98 kB / 1.054 GB, free: 5.297 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/1.408, allocations: 16 kB / 1.054 GB, free: 5.281 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/1.409, allocations: 0.825 MB / 1.055 GB, free: 4.457 MB / 0.795 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.006462/1.416, allocations: 3.479 MB / 1.058 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/1.417, allocations: 0.7666 MB / 1.059 GB, free: 24 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008366/1.418, allocations: 449.9 kB / 1.059 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004419/1.419, allocations: 291.6 kB / 1.06 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/1.419, allocations: 43 kB / 1.06 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001095/1.42, allocations: 191.4 kB / 1.06 GB, free: 15 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=52): time 6.742e-06/1.42, allocations: 0 / 1.06 GB, free: 15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=52): time 0.003523/1.423, allocations: 1.309 MB / 1.061 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/1.424, allocations: 214.1 kB / 1.061 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003956/1.427, allocations: 1.686 MB / 1.063 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002473/1.428, allocations: 45.7 kB / 1.063 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005888/1.428, allocations: 0.5464 MB / 1.063 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/1.429, allocations: 181.4 kB / 1.064 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004496/1.429, allocations: 166.1 kB / 1.064 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.429, allocations: 337.9 kB / 1.064 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008399/1.43, allocations: 390.6 kB / 1.064 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.431, allocations: 0.6917 MB / 1.065 GB, free: 9.238 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/1.433, allocations: 0.8198 MB / 1.066 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/1.433, allocations: 0 / 1.066 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00249/1.435, allocations: 1.044 MB / 1.067 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/1.435, allocations: 6.656 kB / 1.067 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.822e-05/1.435, allocations: 4 kB / 1.067 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.969e-05/1.436, allocations: 0 / 1.067 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008495/1.436, allocations: 159.7 kB / 1.067 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/1.436, allocations: 4 kB / 1.067 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/1.438, allocations: 128.3 kB / 1.067 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/1.438, allocations: 39.94 kB / 1.067 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001223/1.44, allocations: 0.6142 MB / 1.068 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001087/1.441, allocations: 0.6958 MB / 1.069 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001671/1.442, allocations: 0.8232 MB / 1.069 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.999e-06/1.442, allocations: 3.938 kB / 1.069 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002606/1.445, allocations: 1.03 MB / 1.07 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.445, allocations: 7.281 kB / 1.07 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/1.445, allocations: 4 kB / 1.07 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/1.445, allocations: 4 kB / 1.07 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000828/1.446, allocations: 155.8 kB / 1.071 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/1.446, allocations: 0 / 1.071 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/1.448, allocations: 168.4 kB / 1.071 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.261e-05/1.448, allocations: 31.95 kB / 1.071 GB, free: 3.359 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003148/1.449, allocations: 220.1 kB / 1.071 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005049/1.449, allocations: 134.3 kB / 1.071 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/1.452, allocations: 1.036 MB / 1.072 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/1.452, allocations: 8 kB / 1.072 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.452, allocations: 0 / 1.072 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/1.452, allocations: 12.08 kB / 1.072 GB, free: 1.941 MB / 0.8106 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.005612/1.457, allocations: 2.468 MB / 1.075 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/1.457, allocations: 4 kB / 1.075 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008235/1.458, allocations: 136 kB / 1.075 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.951e-05/1.458, allocations: 4 kB / 1.075 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/1.458, allocations: 27.98 kB / 1.075 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.504e-05/1.458, allocations: 4 kB / 1.075 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.458, allocations: 0 / 1.075 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00386/1.462, allocations: 1.528 MB / 1.076 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/1.463, allocations: 355.1 kB / 1.077 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005603/1.464, allocations: 19.98 kB / 1.077 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/1.466, allocations: 75.89 kB / 1.077 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/1.466, allocations: 56.31 kB / 1.077 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.244e-05/1.466, allocations: 20 kB / 1.077 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002577/1.469, allocations: 1.203 MB / 1.078 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.31e-07/1.469, allocations: 0 / 1.078 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002592/1.471, allocations: 0.5499 MB / 1.078 GB, free: 11.34 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009277/1.472, allocations: 281.3 kB / 1.079 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003252/1.475, allocations: 1.423 MB / 1.08 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.475, allocations: 4 kB / 1.08 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000864/1.476, allocations: 426.1 kB / 1.08 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003285/1.48, allocations: 0.5555 MB / 1.081 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/1.484, allocations: 2.19 MB / 1.083 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/1.486, allocations: 1.161 MB / 1.084 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001894/1.487, allocations: 377.6 kB / 1.085 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007483/1.488, allocations: 131.4 kB / 1.085 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of SimCode: time 9.257e-06/1.488, allocations: 0 / 1.085 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of Templates: time 0.05908/1.547, allocations: 29.17 MB / 1.113 GB, free: 7.895 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)