Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.769/2.769, allocations: 287.5 MB / 302.4 MB, free: 8.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001386/0.001386, allocations: 172.3 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.186/2.186, allocations: 205.4 MB / 0.6297 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009473/0.000947, allocations: 99.12 kB / 0.743 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007629/0.0007632, allocations: 10.69 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2489, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.9345/1.183, allocations: 180.9 MB / 1.155 GB, free: 7.031 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02236/1.206, allocations: 8.313 MB / 1.163 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002517/1.208, allocations: 43.47 kB / 1.163 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002715/1.211, allocations: 473.6 kB / 1.164 GB, free: 356 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006505/1.218, allocations: 1.342 MB / 1.165 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01145/1.229, allocations: 2.394 MB / 1.167 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00695/1.236, allocations: 3.087 MB / 1.17 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003159/1.239, allocations: 1.157 MB / 1.171 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003666/1.243, allocations: 1.061 MB / 1.172 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003111/1.246, allocations: 1.028 MB / 1.173 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.000745/1.247, allocations: 76.47 kB / 1.174 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004781/1.252, allocations: 0.9786 MB / 1.174 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001415/1.253, allocations: 443.3 kB / 1.175 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0009569/1.254, allocations: 282.9 kB / 1.175 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004645/1.259, allocations: 1.989 MB / 1.177 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.259, allocations: 2.688 kB / 1.177 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.022e-06/1.259, allocations: 0 / 1.177 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.821e-05/1.259, allocations: 3.938 kB / 1.177 GB, free: 7.539 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.008948/1.268, allocations: 1.893 MB / 1.179 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/1.268, allocations: 10.84 kB / 1.179 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/1.27, allocations: 228.1 kB / 1.179 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004201/1.274, allocations: 1.274 MB / 1.18 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003538/1.275, allocations: 78.62 kB / 1.181 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/1.275, allocations: 77.88 kB / 1.181 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002798/1.278, allocations: 0.9308 MB / 1.181 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/1.278, allocations: 3.953 kB / 1.181 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/1.278, allocations: 25.09 kB / 1.182 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/1.278, allocations: 16.69 kB / 1.182 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/1.281, allocations: 0.849 MB / 1.182 GB, free: 4.078 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.01043/1.292, allocations: 3.499 MB / 1.186 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/1.294, allocations: 0.7879 MB / 1.187 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/1.296, allocations: 453.9 kB / 1.187 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000583/1.296, allocations: 294.1 kB / 1.187 GB, free: 392 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/1.296, allocations: 37.91 kB / 1.187 GB, free: 348 kB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00232/1.299, allocations: 249.8 kB / 1.188 GB, free: 224 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 7.063e-06/1.299, allocations: 0 / 1.188 GB, free: 224 kB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.005346/1.304, allocations: 1.346 MB / 1.189 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/1.304, allocations: 211.1 kB / 1.189 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004583/1.309, allocations: 1.665 MB / 1.191 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003063/1.309, allocations: 45.61 kB / 1.191 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008183/1.31, allocations: 0.5566 MB / 1.191 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003177/1.31, allocations: 182.8 kB / 1.191 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.822e-05/1.31, allocations: 11.16 kB / 1.191 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.311, allocations: 331.7 kB / 1.192 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/1.312, allocations: 385.9 kB / 1.192 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/1.314, allocations: 0.6982 MB / 1.193 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/1.315, allocations: 468.3 kB / 1.193 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/1.316, allocations: 0 / 1.193 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003803/1.319, allocations: 1.052 MB / 1.194 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.931e-05/1.319, allocations: 100.4 kB / 1.194 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/1.32, allocations: 2.906 kB / 1.194 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/1.32, allocations: 2.844 kB / 1.194 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/1.321, allocations: 161.1 kB / 1.195 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/1.321, allocations: 2.906 kB / 1.195 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003513/1.325, allocations: 158.9 kB / 1.195 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/1.325, allocations: 37.66 kB / 1.195 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.325, allocations: 10.83 kB / 1.195 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003137/1.328, allocations: 0.8938 MB / 1.196 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/1.328, allocations: 7.047 kB / 1.196 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/1.328, allocations: 2.844 kB / 1.196 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/1.33, allocations: 165 kB / 1.196 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/1.33, allocations: 0 / 1.196 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003452/1.334, allocations: 165 kB / 1.196 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002739/1.334, allocations: 34.8 kB / 1.196 GB, free: 11.07 MB / 0.7292 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.001009/1.335, allocations: 375.1 kB / 1.196 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006216/1.336, allocations: 137.3 kB / 1.196 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003787/1.339, allocations: 1.053 MB / 1.197 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/1.339, allocations: 5.062 kB / 1.198 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.339, allocations: 2.875 kB / 1.198 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/1.339, allocations: 3.984 kB / 1.198 GB, free: 10.1 MB / 0.7292 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.006834/1.346, allocations: 2.483 MB / 1.2 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/1.346, allocations: 3.156 kB / 1.2 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/1.348, allocations: 140.8 kB / 1.2 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/1.348, allocations: 4.281 kB / 1.2 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.292e-05/1.348, allocations: 23.98 kB / 1.2 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/1.348, allocations: 7.953 kB / 1.2 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.348, allocations: 7.938 kB / 1.2 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004977/1.353, allocations: 1.558 MB / 1.202 GB, free: 6.629 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/1.354, allocations: 351.2 kB / 1.202 GB, free: 6.266 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003569/1.355, allocations: 16 kB / 1.202 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002391/1.357, allocations: 103.7 kB / 1.202 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/1.357, allocations: 52.31 kB / 1.202 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.086e-05/1.357, allocations: 24 kB / 1.202 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003305/1.361, allocations: 1.195 MB / 1.203 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.31e-07/1.361, allocations: 0 / 1.203 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002828/1.363, allocations: 0.55 MB / 1.204 GB, free: 4.328 MB / 0.7292 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.001/1.364, allocations: 280.8 kB / 1.204 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004822/1.369, allocations: 1.441 MB / 1.206 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.369, allocations: 0 / 1.206 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/1.371, allocations: 438.7 kB / 1.206 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005901/1.377, allocations: 0.5951 MB / 1.207 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005854/1.383, allocations: 2.533 MB / 1.209 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.384, allocations: 1.165 MB / 1.21 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002963/1.387, allocations: 381.6 kB / 1.211 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008266/1.388, allocations: 131.3 kB / 1.211 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of SimCode: time 1.603e-06/1.388, allocations: 0 / 1.211 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of Templates: time 0.07798/1.466, allocations: 27.07 MB / 1.237 GB, free: 2.457 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)