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.01119/0.01119, allocations: 98.42 kB / 15.73 MB, free: 6.031 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.002131/0.002131, allocations: 196.5 kB / 16.67 MB, free: 5.953 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.673/1.673, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.685/1.685, allocations: 251.7 MB / 0.5094 GB, free: 3.059 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.001423/0.001424, allocations: 64.47 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2593, allocations: 104.7 MB / 0.8281 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.8761/1.135, allocations: 199 MB / 1.022 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02065/1.156, allocations: 8.75 MB / 1.031 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004216/1.16, allocations: 48.84 kB / 1.031 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003502/1.164, allocations: 0.6877 MB / 1.032 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.008461/1.173, allocations: 1.854 MB / 1.033 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01361/1.186, allocations: 3.234 MB / 1.037 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006799/1.193, allocations: 2.963 MB / 1.04 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003575/1.197, allocations: 1.469 MB / 1.041 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003709/1.2, allocations: 1.25 MB / 1.042 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002843/1.203, allocations: 1.148 MB / 1.043 GB, free: 268 kB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0008544/1.204, allocations: 192 kB / 1.043 GB, free: 76 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004866/1.209, allocations: 1.508 MB / 1.045 GB, free: 14.56 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001122/1.21, allocations: 0.5569 MB / 1.045 GB, free: 14 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002172/1.212, allocations: 0.8553 MB / 1.046 GB, free: 13.14 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005655/1.218, allocations: 2.674 MB / 1.049 GB, free: 10.46 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/1.218, allocations: 0 / 1.049 GB, free: 10.46 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.984e-06/1.218, allocations: 0 / 1.049 GB, free: 10.46 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001017/1.218, allocations: 0 / 1.049 GB, free: 10.46 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.008563/1.227, allocations: 2.241 MB / 1.051 GB, free: 8.16 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/1.227, allocations: 8.031 kB / 1.051 GB, free: 8.152 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/1.228, allocations: 242.8 kB / 1.051 GB, free: 7.914 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003713/1.232, allocations: 1.378 MB / 1.053 GB, free: 6.484 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.145e-05/1.232, allocations: 61.25 kB / 1.053 GB, free: 6.426 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/1.233, allocations: 83.98 kB / 1.053 GB, free: 6.344 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/1.235, allocations: 0.9243 MB / 1.054 GB, free: 5.391 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/1.235, allocations: 0 / 1.054 GB, free: 5.391 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.777e-05/1.235, allocations: 32 kB / 1.054 GB, free: 5.359 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/1.235, allocations: 12 kB / 1.054 GB, free: 5.348 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/1.237, allocations: 0.821 MB / 1.055 GB, free: 4.527 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.007654/1.245, allocations: 3.499 MB / 1.058 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/1.246, allocations: 0.7744 MB / 1.059 GB, free: 68 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008298/1.247, allocations: 437.9 kB / 1.059 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004002/1.248, allocations: 295.7 kB / 1.059 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/1.248, allocations: 43 kB / 1.059 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001118/1.249, allocations: 187.6 kB / 1.06 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=52): time 6.883e-06/1.249, allocations: 4 kB / 1.06 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=52): time 0.003417/1.252, allocations: 1.326 MB / 1.061 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/1.252, allocations: 218.1 kB / 1.061 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003185/1.256, allocations: 1.671 MB / 1.063 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/1.256, allocations: 45.7 kB / 1.063 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.00054/1.256, allocations: 0.5584 MB / 1.063 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/1.256, allocations: 186.4 kB / 1.064 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003253/1.257, allocations: 170.1 kB / 1.064 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.257, allocations: 333.9 kB / 1.064 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007856/1.258, allocations: 394.6 kB / 1.064 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/1.259, allocations: 0.6917 MB / 1.065 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/1.261, allocations: 0.8198 MB / 1.066 GB, free: 8.445 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.261, allocations: 0 / 1.066 GB, free: 8.445 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002316/1.263, allocations: 1.052 MB / 1.067 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.263, allocations: 10.81 kB / 1.067 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/1.263, allocations: 7.984 kB / 1.067 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.263, allocations: 4 kB / 1.067 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007937/1.264, allocations: 147.8 kB / 1.067 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/1.264, allocations: 7.969 kB / 1.067 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/1.265, allocations: 120.4 kB / 1.067 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.612e-05/1.266, allocations: 27.97 kB / 1.067 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001132/1.267, allocations: 0.6181 MB / 1.068 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001093/1.268, allocations: 0.6919 MB / 1.069 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001581/1.269, allocations: 0.8309 MB / 1.069 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.678e-06/1.269, allocations: 3.938 kB / 1.069 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002358/1.272, allocations: 1.039 MB / 1.07 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/1.272, allocations: 6.656 kB / 1.07 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/1.272, allocations: 8 kB / 1.07 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/1.272, allocations: 0 / 1.07 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007729/1.273, allocations: 155.7 kB / 1.071 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.273, allocations: 4 kB / 1.071 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/1.274, allocations: 164.5 kB / 1.071 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.824e-05/1.274, allocations: 39.95 kB / 1.071 GB, free: 3.371 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.0003633/1.275, allocations: 225.2 kB / 1.071 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004953/1.275, allocations: 143 kB / 1.071 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/1.278, allocations: 1.028 MB / 1.072 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/1.278, allocations: 8 kB / 1.072 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/1.278, allocations: 0 / 1.072 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/1.278, allocations: 3.984 kB / 1.072 GB, free: 1.957 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.004305/1.282, allocations: 2.476 MB / 1.075 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/1.282, allocations: 4 kB / 1.075 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007021/1.283, allocations: 131.7 kB / 1.075 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-06/1.283, allocations: 4 kB / 1.075 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.888e-05/1.283, allocations: 19.98 kB / 1.075 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/1.283, allocations: 8 kB / 1.075 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.283, allocations: 8.219 kB / 1.075 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00274/1.286, allocations: 1.54 MB / 1.076 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006573/1.286, allocations: 356 kB / 1.077 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002676/1.287, allocations: 20 kB / 1.077 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/1.288, allocations: 75.89 kB / 1.077 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.288, allocations: 48.38 kB / 1.077 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-05/1.288, allocations: 20 kB / 1.077 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002003/1.29, allocations: 1.207 MB / 1.078 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.1e-07/1.29, allocations: 0 / 1.078 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001637/1.292, allocations: 0.5539 MB / 1.078 GB, free: 11.33 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.0006475/1.292, allocations: 280.1 kB / 1.079 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002921/1.295, allocations: 1.434 MB / 1.08 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.295, allocations: 0 / 1.08 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000817/1.296, allocations: 426.7 kB / 1.08 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/1.299, allocations: 0.5606 MB / 1.081 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/1.302, allocations: 2.218 MB / 1.083 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008425/1.303, allocations: 1.169 MB / 1.084 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001371/1.304, allocations: 377.6 kB / 1.085 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004689/1.305, allocations: 127.4 kB / 1.085 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/1.305, allocations: 0 / 1.085 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.05248/1.357, allocations: 29.16 MB / 1.113 GB, free: 7.859 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)