Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 192.1 kB / 16.53 MB, free: 6.664 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.772/1.772, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.614/1.614, allocations: 251.7 MB / 0.5092 GB, free: 3.156 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.001681/0.001681, allocations: 71.89 kB / 0.6223 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5814/0.5831, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.8308/1.414, allocations: 190.2 MB / 0.9102 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02071/1.435, allocations: 7.539 MB / 0.9176 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003798/1.439, allocations: 38.06 kB / 0.9176 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002821/1.442, allocations: 0.5415 MB / 0.9182 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008342/1.45, allocations: 1.556 MB / 0.9197 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01585/1.466, allocations: 2.731 MB / 0.9223 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007119/1.473, allocations: 2.288 MB / 0.9246 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003198/1.476, allocations: 1.085 MB / 0.9256 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004573/1.481, allocations: 0.9523 MB / 0.9266 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003729/1.485, allocations: 0.8607 MB / 0.9274 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007235/1.485, allocations: 141.8 kB / 0.9275 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005579/1.491, allocations: 1.366 MB / 0.9289 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001139/1.492, allocations: 429.8 kB / 0.9293 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00186/1.494, allocations: 0.6493 MB / 0.9299 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006654/1.501, allocations: 2.089 MB / 0.932 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.266e-05/1.501, allocations: 1.062 kB / 0.932 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.386e-06/1.501, allocations: 0.8438 kB / 0.932 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.463e-05/1.501, allocations: 0 / 0.932 GB, free: 1.402 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.00845/1.509, allocations: 1.759 MB / 0.9337 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.808e-05/1.509, allocations: 11.34 kB / 0.9337 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/1.511, allocations: 188.2 kB / 0.9339 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003103/1.514, allocations: 1.05 MB / 0.9349 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/1.514, allocations: 56.12 kB / 0.9349 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/1.515, allocations: 58.06 kB / 0.935 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/1.517, allocations: 0.6913 MB / 0.9357 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/1.517, allocations: 0 / 0.9357 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.655e-05/1.517, allocations: 21.41 kB / 0.9357 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/1.517, allocations: 10.84 kB / 0.9357 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/1.518, allocations: 0.6216 MB / 0.9363 GB, free: 16.07 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.005305/1.524, allocations: 2.687 MB / 0.9389 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/1.525, allocations: 0.545 MB / 0.9395 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006395/1.526, allocations: 353.1 kB / 0.9398 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004574/1.526, allocations: 288.1 kB / 0.9401 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/1.526, allocations: 41.08 kB / 0.9401 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008823/1.527, allocations: 147 kB / 0.9403 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 6.462e-06/1.527, allocations: 0 / 0.9403 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.002612/1.53, allocations: 1.03 MB / 0.9413 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/1.53, allocations: 132.8 kB / 0.9414 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00277/1.533, allocations: 1.284 MB / 0.9426 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/1.533, allocations: 40.92 kB / 0.9427 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004468/1.533, allocations: 448.9 kB / 0.9431 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/1.533, allocations: 152.7 kB / 0.9433 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/1.534, allocations: 122.9 kB / 0.9434 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001626/1.534, allocations: 330.1 kB / 0.9437 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006378/1.534, allocations: 287.8 kB / 0.944 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008912/1.535, allocations: 0.5133 MB / 0.9445 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/1.537, allocations: 0.6152 MB / 0.9451 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/1.537, allocations: 3.562 kB / 0.9451 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001805/1.538, allocations: 0.7758 MB / 0.9458 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/1.539, allocations: 7.969 kB / 0.9458 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/1.539, allocations: 3.719 kB / 0.9458 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/1.539, allocations: 2.812 kB / 0.9458 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/1.539, allocations: 115.6 kB / 0.946 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/1.539, allocations: 2.375 kB / 0.946 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/1.541, allocations: 102.5 kB / 0.9461 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.279e-05/1.541, allocations: 25.67 kB / 0.9461 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009378/1.542, allocations: 492.5 kB / 0.9465 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008532/1.543, allocations: 0.5107 MB / 0.947 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001179/1.544, allocations: 0.6124 MB / 0.9476 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.757e-06/1.544, allocations: 0 / 0.9476 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001747/1.546, allocations: 0.7704 MB / 0.9484 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/1.546, allocations: 4.875 kB / 0.9484 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.546, allocations: 3.438 kB / 0.9484 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/1.546, allocations: 3.938 kB / 0.9484 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005818/1.546, allocations: 119.7 kB / 0.9485 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/1.546, allocations: 0 / 0.9485 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/1.548, allocations: 122.7 kB / 0.9486 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.231e-05/1.548, allocations: 31.02 kB / 0.9487 GB, free: 13.1 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0003082/1.548, allocations: 218.5 kB / 0.9489 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/1.549, allocations: 105.6 kB / 0.949 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/1.55, allocations: 0.8063 MB / 0.9498 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/1.55, allocations: 4.375 kB / 0.9498 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.55, allocations: 4.531 kB / 0.9498 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/1.55, allocations: 2.859 kB / 0.9498 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003423/1.554, allocations: 1.946 MB / 0.9517 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/1.554, allocations: 3.156 kB / 0.9517 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/1.554, allocations: 108.9 kB / 0.9518 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-05/1.554, allocations: 3.594 kB / 0.9518 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.115e-05/1.554, allocations: 18.23 kB / 0.9518 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.951e-05/1.554, allocations: 12.69 kB / 0.9518 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.555, allocations: 2.531 kB / 0.9518 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/1.557, allocations: 1.245 MB / 0.953 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006149/1.558, allocations: 285.4 kB / 0.9533 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/1.558, allocations: 11.91 kB / 0.9533 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/1.559, allocations: 65.05 kB / 0.9534 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/1.559, allocations: 47.5 kB / 0.9534 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/1.559, allocations: 16.38 kB / 0.9534 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001796/1.561, allocations: 0.9323 MB / 0.9544 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.91e-07/1.561, allocations: 0 / 0.9544 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001972/1.563, allocations: 450.6 kB / 0.9548 GB, free: 11.83 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.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 (52): * Single equations (assignments): 52 * 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.0008917/1.564, allocations: 262.1 kB / 0.955 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002436/1.566, allocations: 1.096 MB / 0.9561 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.566, allocations: 4 kB / 0.9561 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006615/1.567, allocations: 337.9 kB / 0.9564 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003061/1.57, allocations: 448.4 kB / 0.9569 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/1.574, allocations: 1.713 MB / 0.9585 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009293/1.575, allocations: 1.056 MB / 0.9596 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001655/1.576, allocations: 295.6 kB / 0.9598 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005075/1.577, allocations: 100.8 kB / 0.9599 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of SimCode: time 2.705e-06/1.577, allocations: 0 / 0.9599 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.05063/1.628, allocations: 22.67 MB / 0.9821 GB, free: 0.8945 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)