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.001803/0.001804, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.002572/0.002573, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.634/1.634, allocations: 251.9 MB / 0.51 GB, free: 4.871 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.0006219/0.0006221, allocations: 16 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6411/0.6418, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2053/0.8471, allocations: 165 MB / 0.8891 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01526/0.8625, allocations: 8.466 MB / 0.8974 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002233/0.8648, allocations: 43.56 kB / 0.8974 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002972/0.8678, allocations: 0.7935 MB / 0.8982 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007245/0.875, allocations: 1.764 MB / 0.8999 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009555/0.8846, allocations: 2.806 MB / 0.9027 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005409/0.89, allocations: 1.694 MB / 0.9043 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002498/0.8926, allocations: 1.161 MB / 0.9054 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003735/0.8963, allocations: 1.102 MB / 0.9065 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.8982, allocations: 0.8483 MB / 0.9073 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002432/0.8984, allocations: 80 kB / 0.9074 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002848/0.9013, allocations: 0.8268 MB / 0.9082 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005295/0.9018, allocations: 418.7 kB / 0.9086 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005147/0.9024, allocations: 281 kB / 0.9089 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.5995/1.502, allocations: 1.933 MB / 0.9108 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.502, allocations: 0 / 0.9108 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.614e-06/1.502, allocations: 0.7812 kB / 0.9108 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.451e-05/1.502, allocations: 0 / 0.9108 GB, free: 8.191 MB / 0.7169 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.005755/1.508, allocations: 1.873 MB / 0.9126 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/1.508, allocations: 9.406 kB / 0.9126 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/1.509, allocations: 239.8 kB / 0.9129 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002859/1.512, allocations: 1.275 MB / 0.9141 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/1.512, allocations: 68.72 kB / 0.9142 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/1.512, allocations: 81.8 kB / 0.9142 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/1.514, allocations: 0.9272 MB / 0.9151 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/1.514, allocations: 1.125 kB / 0.9151 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.968e-05/1.515, allocations: 24.09 kB / 0.9152 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/1.515, allocations: 15.88 kB / 0.9152 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/1.517, allocations: 0.8549 MB / 0.916 GB, free: 6.742 MB / 0.7169 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.00716/1.524, allocations: 3.502 MB / 0.9194 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/1.525, allocations: 0.7964 MB / 0.9202 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.729e-05/1.525, allocations: 24.11 kB / 0.9202 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/1.525, allocations: 46.31 kB / 0.9203 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001352/1.527, allocations: 242.1 kB / 0.9205 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=52): time 4.348e-06/1.527, allocations: 0.5312 kB / 0.9205 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52): time 0.003376/1.53, allocations: 1.342 MB / 0.9218 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.163e-05/1.53, allocations: 213.6 kB / 0.922 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002988/1.533, allocations: 1.663 MB / 0.9237 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001469/1.533, allocations: 43.95 kB / 0.9237 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004366/1.534, allocations: 0.5541 MB / 0.9242 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/1.534, allocations: 184.3 kB / 0.9244 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/1.534, allocations: 10.97 kB / 0.9244 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0003935/1.534, allocations: 331.3 kB / 0.9247 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007296/1.535, allocations: 384.3 kB / 0.9251 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/1.536, allocations: 0.699 MB / 0.9258 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007958/1.537, allocations: 457.8 kB / 0.9262 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/1.537, allocations: 0 / 0.9262 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002152/1.539, allocations: 1.052 MB / 0.9273 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.991e-05/1.539, allocations: 99.64 kB / 0.9274 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/1.539, allocations: 3.281 kB / 0.9274 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/1.539, allocations: 0 / 0.9274 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008268/1.54, allocations: 165.8 kB / 0.9275 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/1.54, allocations: 3.312 kB / 0.9275 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/1.542, allocations: 170.5 kB / 0.9277 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/1.542, allocations: 31.92 kB / 0.9277 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/1.542, allocations: 8.344 kB / 0.9277 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001674/1.544, allocations: 0.8918 MB / 0.9286 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/1.544, allocations: 5.766 kB / 0.9286 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/1.544, allocations: 3.094 kB / 0.9286 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/1.545, allocations: 153.9 kB / 0.9287 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/1.545, allocations: 6.578 kB / 0.9287 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/1.547, allocations: 156.7 kB / 0.9289 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-05/1.547, allocations: 34.22 kB / 0.9289 GB, free: 19.8 MB / 0.7325 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.000875/1.548, allocations: 381.7 kB / 0.9293 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/1.548, allocations: 130.5 kB / 0.9294 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/1.55, allocations: 1.06 MB / 0.9305 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/1.55, allocations: 9.5 kB / 0.9305 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.55, allocations: 3.953 kB / 0.9305 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/1.55, allocations: 4.156 kB / 0.9305 GB, free: 19.45 MB / 0.7325 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.003908/1.554, allocations: 2.485 MB / 0.9329 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/1.554, allocations: 6.844 kB / 0.9329 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006845/1.555, allocations: 134 kB / 0.933 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/1.555, allocations: 4.875 kB / 0.933 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.033e-05/1.555, allocations: 21.5 kB / 0.9331 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/1.555, allocations: 5.094 kB / 0.9331 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.555, allocations: 2.906 kB / 0.9331 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/1.558, allocations: 1.701 MB / 0.9347 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008611/1.558, allocations: 354.3 kB / 0.9351 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003699/1.559, allocations: 14.66 kB / 0.9351 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/1.56, allocations: 99.02 kB / 0.9352 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/1.56, allocations: 58.3 kB / 0.9352 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/1.56, allocations: 23.48 kB / 0.9352 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002054/1.562, allocations: 1.187 MB / 0.9364 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/1.562, allocations: 0 / 0.9364 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002157/1.565, allocations: 0.5501 MB / 0.9369 GB, free: 18.12 MB / 0.7325 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.0007753/1.565, allocations: 272.6 kB / 0.9372 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002792/1.568, allocations: 1.445 MB / 0.9386 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.568, allocations: 0 / 0.9386 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007404/1.569, allocations: 442.2 kB / 0.939 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/1.572, allocations: 0.59 MB / 0.9396 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/1.576, allocations: 2.521 MB / 0.9421 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008505/1.577, allocations: 1.193 MB / 0.9432 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002025/1.579, allocations: 384.1 kB / 0.9436 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006101/1.58, allocations: 128.6 kB / 0.9437 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of SimCode: time 1.072e-06/1.58, allocations: 0 / 0.9437 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of Templates: time 0.05558/1.635, allocations: 27.02 MB / 0.9701 GB, free: 7.113 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: