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.001091/0.00109, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01346/0.01346, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.721/1.721, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.581/1.581, allocations: 252 MB / 0.5105 GB, free: 4.625 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.0005896/0.0005899, allocations: 16 kB / 0.6249 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6199/0.6205, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.8518/1.472, allocations: 194.1 MB / 0.9183 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.017/1.489, allocations: 9.079 MB / 0.9272 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002456/1.492, allocations: 39.47 kB / 0.9272 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002095/1.494, allocations: 0.5759 MB / 0.9278 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006436/1.5, allocations: 1.724 MB / 0.9294 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01204/1.513, allocations: 2.736 MB / 0.9321 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006272/1.519, allocations: 3.603 MB / 0.9356 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/1.521, allocations: 1.237 MB / 0.9368 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002984/1.524, allocations: 1.058 MB / 0.9379 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002026/1.526, allocations: 1.072 MB / 0.9389 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002644/1.526, allocations: 77.48 kB / 0.939 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003369/1.53, allocations: 1.627 MB / 0.9406 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005194/1.53, allocations: 455.6 kB / 0.941 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009739/1.531, allocations: 0.758 MB / 0.9418 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003671/1.535, allocations: 2.613 MB / 0.9443 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.535, allocations: 3.938 kB / 0.9443 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.686e-06/1.535, allocations: 0 / 0.9443 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.634e-05/1.535, allocations: 0 / 0.9443 GB, free: 1.273 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.004999/1.54, allocations: 1.883 MB / 0.9461 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.54, allocations: 8.969 kB / 0.9462 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/1.541, allocations: 235.4 kB / 0.9464 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/1.543, allocations: 1.336 MB / 0.9477 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/1.543, allocations: 73.17 kB / 0.9478 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/1.544, allocations: 79.34 kB / 0.9478 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/1.545, allocations: 0.9252 MB / 0.9487 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/1.545, allocations: 3 kB / 0.9487 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/1.545, allocations: 26.44 kB / 0.9488 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/1.545, allocations: 17 kB / 0.9488 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/1.547, allocations: 0.8502 MB / 0.9496 GB, free: 15.72 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 preOpt removeSimpleEquations (simulation): time 0.005472/1.552, allocations: 3.517 MB / 0.953 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/1.554, allocations: 0.7708 MB / 0.9538 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007527/1.555, allocations: 459.5 kB / 0.9542 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004539/1.555, allocations: 293.6 kB / 0.9545 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/1.555, allocations: 41.09 kB / 0.9546 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001125/1.556, allocations: 235.7 kB / 0.9548 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=52): time 3.436e-06/1.556, allocations: 2.875 kB / 0.9548 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=52): time 0.003089/1.559, allocations: 1.346 MB / 0.9561 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/1.559, allocations: 213.4 kB / 0.9563 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/1.562, allocations: 1.678 MB / 0.9579 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/1.562, allocations: 45.17 kB / 0.958 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004518/1.563, allocations: 0.5671 MB / 0.9585 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/1.563, allocations: 177.3 kB / 0.9587 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.572e-05/1.563, allocations: 53.83 kB / 0.9588 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.563, allocations: 329.4 kB / 0.9591 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006996/1.564, allocations: 395.5 kB / 0.9594 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009966/1.565, allocations: 0.7071 MB / 0.9601 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/1.566, allocations: 0.8405 MB / 0.961 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/1.566, allocations: 6.906 kB / 0.961 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002233/1.569, allocations: 1.063 MB / 0.962 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.403e-05/1.569, allocations: 102.7 kB / 0.9621 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.569, allocations: 3.609 kB / 0.9621 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/1.569, allocations: 10.75 kB / 0.9621 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008197/1.57, allocations: 158.1 kB / 0.9623 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/1.57, allocations: 10.77 kB / 0.9623 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/1.571, allocations: 154.8 kB / 0.9624 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.324e-05/1.571, allocations: 30.44 kB / 0.9625 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/1.571, allocations: 5.25 kB / 0.9625 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001691/1.573, allocations: 0.9025 MB / 0.9633 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/1.573, allocations: 4.812 kB / 0.9633 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.659e-06/1.573, allocations: 2.125 kB / 0.9633 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/1.574, allocations: 157.3 kB / 0.9635 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/1.574, allocations: 6.938 kB / 0.9635 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/1.576, allocations: 165.6 kB / 0.9637 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.854e-05/1.576, allocations: 35.61 kB / 0.9637 GB, free: 12.43 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007131/1.577, allocations: 381 kB / 0.9641 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/1.577, allocations: 133.9 kB / 0.9642 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/1.579, allocations: 1.059 MB / 0.9652 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/1.579, allocations: 5.125 kB / 0.9652 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.579, allocations: 0 / 0.9652 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/1.579, allocations: 7.312 kB / 0.9652 GB, free: 12.08 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.00405/1.583, allocations: 2.496 MB / 0.9677 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/1.583, allocations: 7.578 kB / 0.9677 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006932/1.584, allocations: 132.8 kB / 0.9678 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/1.584, allocations: 6.188 kB / 0.9678 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.339e-05/1.584, allocations: 20.08 kB / 0.9678 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.146e-06/1.584, allocations: 2.875 kB / 0.9678 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/1.584, allocations: 10.66 kB / 0.9678 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/1.587, allocations: 1.569 MB / 0.9694 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006033/1.587, allocations: 350.5 kB / 0.9697 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/1.587, allocations: 23.02 kB / 0.9697 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.589, allocations: 106.8 kB / 0.9698 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/1.589, allocations: 52.58 kB / 0.9699 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/1.589, allocations: 25.02 kB / 0.9699 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00191/1.591, allocations: 1.203 MB / 0.9711 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4e-07/1.591, allocations: 4 kB / 0.9711 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0018/1.593, allocations: 0.5435 MB / 0.9716 GB, free: 10.88 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 (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.0007569/1.593, allocations: 263.8 kB / 0.9719 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002856/1.596, allocations: 1.459 MB / 0.9733 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.596, allocations: 0 / 0.9733 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000808/1.597, allocations: 440.8 kB / 0.9737 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003536/1.601, allocations: 0.592 MB / 0.9743 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/1.604, allocations: 2.636 MB / 0.9769 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007409/1.605, allocations: 1.179 MB / 0.978 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001663/1.607, allocations: 377.4 kB / 0.9784 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/1.607, allocations: 127.5 kB / 0.9785 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of SimCode: time 1.142e-06/1.607, allocations: 0 / 0.9785 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of Templates: time 0.04901/1.656, allocations: 27.84 MB / 1.006 GB, free: 3.047 MB / 0.7481 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: