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.000748/0.0007481, 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.005199/0.005199, allocations: 169 kB / 16.26 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.595/1.595, allocations: 205.4 MB / 222.5 MB, free: 5.547 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.694/1.694, allocations: 252 MB / 0.5105 GB, free: 4.672 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.0005628/0.0005628, allocations: 12 kB / 0.6249 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6178/0.6184, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2321/0.8505, allocations: 185.5 MB / 0.9098 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.642/1.493, allocations: 7.855 MB / 0.9175 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/1.495, allocations: 31.53 kB / 0.9175 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001974/1.497, allocations: 469.5 kB / 0.918 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00563/1.502, allocations: 1.451 MB / 0.9194 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0106/1.513, allocations: 2.28 MB / 0.9216 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005887/1.519, allocations: 2.807 MB / 0.9244 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00352/1.523, allocations: 0.9202 MB / 0.9253 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004095/1.527, allocations: 0.8131 MB / 0.9261 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002681/1.529, allocations: 0.8122 MB / 0.9268 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004138/1.53, allocations: 56.19 kB / 0.9269 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004554/1.534, allocations: 1.491 MB / 0.9284 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005102/1.535, allocations: 343.9 kB / 0.9287 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/1.536, allocations: 0.5842 MB / 0.9293 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003356/1.54, allocations: 2.077 MB / 0.9313 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.54, allocations: 0 / 0.9313 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.744e-06/1.54, allocations: 0 / 0.9313 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.512e-05/1.54, allocations: 0 / 0.9313 GB, free: 17.59 MB / 0.7325 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.004002/1.544, allocations: 1.533 MB / 0.9328 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/1.544, allocations: 8.594 kB / 0.9328 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009402/1.545, allocations: 190.1 kB / 0.933 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/1.546, allocations: 1.051 MB / 0.934 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/1.547, allocations: 54.31 kB / 0.934 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/1.547, allocations: 59.72 kB / 0.9341 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/1.548, allocations: 0.7048 MB / 0.9348 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/1.548, allocations: 0 / 0.9348 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.254e-05/1.548, allocations: 23.03 kB / 0.9348 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/1.548, allocations: 11.16 kB / 0.9348 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/1.549, allocations: 0.6375 MB / 0.9354 GB, free: 16.26 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.004617/1.554, allocations: 2.697 MB / 0.9381 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/1.555, allocations: 0.5539 MB / 0.9386 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006259/1.556, allocations: 372.5 kB / 0.939 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004053/1.556, allocations: 285.4 kB / 0.9393 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/1.556, allocations: 44.88 kB / 0.9393 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008386/1.557, allocations: 158.2 kB / 0.9394 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.895e-06/1.557, allocations: 5.859 kB / 0.9395 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.002296/1.56, allocations: 1.068 MB / 0.9405 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.602e-05/1.56, allocations: 141.8 kB / 0.9406 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/1.562, allocations: 1.28 MB / 0.9419 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.199e-05/1.562, allocations: 41.92 kB / 0.9419 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003546/1.562, allocations: 453 kB / 0.9424 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/1.562, allocations: 146.2 kB / 0.9425 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.087e-05/1.562, allocations: 38.61 kB / 0.9425 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.562, allocations: 325.6 kB / 0.9428 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/1.563, allocations: 297.3 kB / 0.9431 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007805/1.564, allocations: 0.5244 MB / 0.9436 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/1.565, allocations: 0.6369 MB / 0.9443 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/1.565, allocations: 0 / 0.9443 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001589/1.567, allocations: 0.8127 MB / 0.945 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.945e-05/1.567, allocations: 96.89 kB / 0.9451 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/1.567, allocations: 1.969 kB / 0.9451 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/1.567, allocations: 3.312 kB / 0.9451 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/1.567, allocations: 128.7 kB / 0.9453 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/1.567, allocations: 6.219 kB / 0.9453 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/1.569, allocations: 122.1 kB / 0.9454 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.439e-05/1.569, allocations: 31.28 kB / 0.9454 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/1.569, allocations: 7.031 kB / 0.9454 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001275/1.57, allocations: 0.6669 MB / 0.9461 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.57, allocations: 2.906 kB / 0.9461 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/1.57, allocations: 0 / 0.9461 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000567/1.571, allocations: 125.3 kB / 0.9462 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/1.571, allocations: 7.422 kB / 0.9462 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/1.572, allocations: 119.1 kB / 0.9463 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/1.572, allocations: 24.42 kB / 0.9463 GB, free: 13.54 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.0005962/1.573, allocations: 338 kB / 0.9467 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/1.573, allocations: 103.7 kB / 0.9468 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/1.575, allocations: 0.8327 MB / 0.9476 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/1.575, allocations: 6.438 kB / 0.9476 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.575, allocations: 1.859 kB / 0.9476 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/1.575, allocations: 3.281 kB / 0.9476 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/1.578, allocations: 1.973 MB / 0.9495 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/1.578, allocations: 6.875 kB / 0.9495 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/1.578, allocations: 116.6 kB / 0.9496 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/1.578, allocations: 10.92 kB / 0.9496 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/1.578, allocations: 17.09 kB / 0.9497 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.046e-06/1.579, allocations: 5.125 kB / 0.9497 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.579, allocations: 5.812 kB / 0.9497 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/1.581, allocations: 1.283 MB / 0.9509 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005412/1.581, allocations: 296.4 kB / 0.9512 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/1.581, allocations: 12.47 kB / 0.9512 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/1.582, allocations: 79.62 kB / 0.9513 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/1.582, allocations: 37.2 kB / 0.9513 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/1.583, allocations: 21.95 kB / 0.9514 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001433/1.584, allocations: 0.9276 MB / 0.9523 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.584, allocations: 0 / 0.9523 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001466/1.585, allocations: 455.9 kB / 0.9527 GB, free: 12.2 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.0006781/1.586, allocations: 253.2 kB / 0.9529 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002117/1.588, allocations: 1.064 MB / 0.954 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.588, allocations: 0 / 0.954 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006635/1.589, allocations: 357.6 kB / 0.9543 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/1.592, allocations: 482.8 kB / 0.9548 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/1.595, allocations: 2.058 MB / 0.9568 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008712/1.596, allocations: 1.053 MB / 0.9578 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001518/1.598, allocations: 300.8 kB / 0.9581 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/1.598, allocations: 100.2 kB / 0.9582 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of SimCode: time 8.82e-07/1.598, allocations: 0 / 0.9582 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of Templates: time 0.04184/1.64, allocations: 21.72 MB / 0.9794 GB, free: 1.441 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: