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 1.899/1.899, allocations: 287.5 MB / 302.6 MB, free: 8.246 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.001009/0.001009, allocations: 182 kB / 371.2 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 1.732/1.732, allocations: 205.4 MB / 0.6298 GB, free: 10.6 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.0007381/0.0007381, allocations: 97.31 kB / 0.7432 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003644, allocations: 15.34 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2225, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.7198/0.9423, allocations: 180.9 MB / 1.155 GB, free: 6.977 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01591/0.9583, allocations: 8.329 MB / 1.163 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/0.9606, allocations: 39.12 kB / 1.163 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.9624, allocations: 469.1 kB / 1.164 GB, free: 292 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004864/0.9673, allocations: 1.346 MB / 1.165 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.008991/0.9763, allocations: 2.388 MB / 1.168 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005626/0.982, allocations: 3.138 MB / 1.171 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002748/0.9847, allocations: 1.237 MB / 1.172 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00309/0.9878, allocations: 1.061 MB / 1.173 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002614/0.9905, allocations: 1.022 MB / 1.174 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0007759/0.9912, allocations: 78.69 kB / 1.174 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003851/0.9951, allocations: 0.978 MB / 1.175 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.9963, allocations: 438.7 kB / 1.175 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.9975, allocations: 291.3 kB / 1.176 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003499/1.001, allocations: 1.992 MB / 1.178 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/1.001, allocations: 0 / 1.178 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/1.001, allocations: 3.938 kB / 1.178 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.094e-05/1.001, allocations: 0 / 1.178 GB, free: 7.395 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.005289/1.006, allocations: 1.872 MB / 1.179 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/1.006, allocations: 10.97 kB / 1.179 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/1.007, allocations: 232.3 kB / 1.18 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/1.01, allocations: 1.331 MB / 1.181 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/1.01, allocations: 74.53 kB / 1.181 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/1.01, allocations: 86.88 kB / 1.181 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/1.012, allocations: 0.9252 MB / 1.182 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/1.012, allocations: 0 / 1.182 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.841e-05/1.012, allocations: 25.72 kB / 1.182 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/1.012, allocations: 15.59 kB / 1.182 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/1.014, allocations: 0.8519 MB / 1.183 GB, free: 3.883 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.006553/1.021, allocations: 3.511 MB / 1.186 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/1.022, allocations: 0.7699 MB / 1.187 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008154/1.023, allocations: 450.4 kB / 1.187 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004706/1.024, allocations: 294 kB / 1.188 GB, free: 200 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/1.024, allocations: 48.19 kB / 1.188 GB, free: 148 kB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001352/1.025, allocations: 237.5 kB / 1.188 GB, free: 36 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 5.371e-06/1.025, allocations: 0 / 1.188 GB, free: 36 kB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.00304/1.028, allocations: 1.344 MB / 1.189 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/1.028, allocations: 214.2 kB / 1.19 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002919/1.031, allocations: 1.67 MB / 1.191 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/1.031, allocations: 43.64 kB / 1.191 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005485/1.032, allocations: 0.5547 MB / 1.192 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/1.032, allocations: 180.2 kB / 1.192 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/1.032, allocations: 5.781 kB / 1.192 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.032, allocations: 340.1 kB / 1.192 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007241/1.033, allocations: 386.4 kB / 1.193 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/1.034, allocations: 0.705 MB / 1.193 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/1.036, allocations: 0.8259 MB / 1.194 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.036, allocations: 0 / 1.194 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002327/1.038, allocations: 1.056 MB / 1.195 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.014e-05/1.038, allocations: 101.5 kB / 1.195 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/1.038, allocations: 0 / 1.195 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/1.038, allocations: 14.78 kB / 1.195 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000842/1.039, allocations: 161.6 kB / 1.195 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.122e-05/1.039, allocations: 6.5 kB / 1.195 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/1.041, allocations: 159 kB / 1.196 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.041, allocations: 35.52 kB / 1.196 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/1.041, allocations: 2.469 kB / 1.196 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001817/1.043, allocations: 0.896 MB / 1.196 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.043, allocations: 0 / 1.196 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.492e-06/1.043, allocations: 2.438 kB / 1.196 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007863/1.044, allocations: 161.2 kB / 1.197 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.044, allocations: 6.312 kB / 1.197 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/1.046, allocations: 162.8 kB / 1.197 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/1.046, allocations: 30.84 kB / 1.197 GB, free: 10.7 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.0007585/1.047, allocations: 383.6 kB / 1.197 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003845/1.047, allocations: 133.4 kB / 1.197 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/1.05, allocations: 1.058 MB / 1.198 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/1.05, allocations: 10.19 kB / 1.198 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/1.05, allocations: 0 / 1.198 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/1.05, allocations: 3.984 kB / 1.198 GB, free: 9.723 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.004804/1.054, allocations: 2.484 MB / 1.201 GB, free: 7.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/1.054, allocations: 4 kB / 1.201 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007606/1.055, allocations: 135.7 kB / 1.201 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.257e-05/1.055, allocations: 7.938 kB / 1.201 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/1.055, allocations: 19.98 kB / 1.201 GB, free: 7.656 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/1.055, allocations: 4 kB / 1.201 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.055, allocations: 8.156 kB / 1.201 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003081/1.058, allocations: 1.57 MB / 1.202 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008636/1.059, allocations: 351.1 kB / 1.203 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003774/1.06, allocations: 20 kB / 1.203 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/1.061, allocations: 103.8 kB / 1.203 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/1.061, allocations: 44.31 kB / 1.203 GB, free: 5.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-05/1.061, allocations: 23.98 kB / 1.203 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002411/1.064, allocations: 1.187 MB / 1.204 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.81e-07/1.064, allocations: 4 kB / 1.204 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002533/1.066, allocations: 0.5538 MB / 1.205 GB, free: 3.73 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.0008942/1.067, allocations: 279.3 kB / 1.205 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003248/1.071, allocations: 1.441 MB / 1.206 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.071, allocations: 0 / 1.206 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009006/1.072, allocations: 438.7 kB / 1.207 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004117/1.076, allocations: 0.5935 MB / 1.207 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005499/1.081, allocations: 2.525 MB / 1.21 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/1.083, allocations: 1.169 MB / 1.211 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002605/1.085, allocations: 385.6 kB / 1.211 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007895/1.086, allocations: 127.4 kB / 1.211 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of SimCode: time 1.052e-06/1.086, allocations: 4 kB / 1.211 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of Templates: time 0.04847/1.134, allocations: 27.1 MB / 1.238 GB, free: 1.832 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)