Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.607/4.607, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002376/0.002375, allocations: 354.3 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.873/3.873, allocations: 410.7 MB / 1.112 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001799/0.001798, allocations: 183.2 kB / 1.225 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004911, allocations: 16 kB / 1.348 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5756/0.5761, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1657/0.7418, allocations: 170.7 MB / 1.627 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01182/0.7537, allocations: 7.312 MB / 1.635 GB, free: 106.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.7551, allocations: 27.75 kB / 1.635 GB, free: 106.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.7567, allocations: 0.5358 MB / 1.635 GB, free: 105.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00475/0.7615, allocations: 1.509 MB / 1.637 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.007086/0.7686, allocations: 2.349 MB / 1.639 GB, free: 102 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003009/0.7716, allocations: 2.42 MB / 1.641 GB, free: 99.54 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.7729, allocations: 0.8503 MB / 1.642 GB, free: 98.68 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.7746, allocations: 0.8636 MB / 1.643 GB, free: 97.81 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009653/0.7756, allocations: 0.7743 MB / 1.644 GB, free: 97.03 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.7758, allocations: 60 kB / 1.644 GB, free: 96.97 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.7779, allocations: 0.7208 MB / 1.644 GB, free: 96.25 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004323/0.7783, allocations: 334.8 kB / 1.645 GB, free: 95.92 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003508/0.7787, allocations: 225.1 kB / 1.645 GB, free: 95.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.7806, allocations: 1.516 MB / 1.646 GB, free: 94.18 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.107e-06/0.7806, allocations: 0 / 1.646 GB, free: 94.18 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.253e-06/0.7806, allocations: 4 kB / 1.646 GB, free: 94.17 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.7806, allocations: 0 / 1.646 GB, free: 94.17 MB / 0.8542 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.004171/0.7848, allocations: 1.526 MB / 1.648 GB, free: 92.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.7849, allocations: 11.62 kB / 1.648 GB, free: 92.59 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.786, allocations: 190.4 kB / 1.648 GB, free: 92.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.7882, allocations: 1.007 MB / 1.649 GB, free: 91.34 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.7884, allocations: 56.98 kB / 1.649 GB, free: 91.29 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.7885, allocations: 56 kB / 1.649 GB, free: 91.23 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.79, allocations: 0.6987 MB / 1.65 GB, free: 90.52 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.7901, allocations: 4 kB / 1.65 GB, free: 90.51 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.581e-05/0.7902, allocations: 23.94 kB / 1.65 GB, free: 90.49 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.7902, allocations: 12 kB / 1.65 GB, free: 90.48 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.7918, allocations: 0.6363 MB / 1.651 GB, free: 89.84 MB / 0.8542 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.005047/0.7968, allocations: 2.687 MB / 1.653 GB, free: 87.02 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.7983, allocations: 0.5609 MB / 1.654 GB, free: 86.45 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007699/0.7991, allocations: 356.8 kB / 1.654 GB, free: 86.09 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003817/0.7995, allocations: 299.4 kB / 1.654 GB, free: 85.75 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.7995, allocations: 42.5 kB / 1.654 GB, free: 85.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001042/0.8005, allocations: 163.5 kB / 1.655 GB, free: 85.54 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=43): time 3.917e-06/0.8006, allocations: 0 / 1.655 GB, free: 85.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43): time 0.002937/0.8035, allocations: 1.059 MB / 1.656 GB, free: 84.47 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.8036, allocations: 140.5 kB / 1.656 GB, free: 84.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.806, allocations: 1.28 MB / 1.657 GB, free: 83 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.8061, allocations: 37.7 kB / 1.657 GB, free: 82.96 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000369/0.8065, allocations: 457.8 kB / 1.657 GB, free: 82.51 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.8067, allocations: 145.8 kB / 1.658 GB, free: 82.37 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.8067, allocations: 12 kB / 1.658 GB, free: 82.36 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.275e-05/0.8068, allocations: 322 kB / 1.658 GB, free: 82.04 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007305/0.8075, allocations: 280.7 kB / 1.658 GB, free: 81.76 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009081/0.8085, allocations: 0.5201 MB / 1.659 GB, free: 81.16 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007884/0.8093, allocations: 356.5 kB / 1.659 GB, free: 80.81 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.412e-06/0.8093, allocations: 0 / 1.659 GB, free: 80.81 MB / 0.8542 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002006/0.8113, allocations: 0.7954 MB / 1.66 GB, free: 80.01 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.964e-05/0.8114, allocations: 103.4 kB / 1.66 GB, free: 79.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.8114, allocations: 0 / 1.66 GB, free: 79.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.8114, allocations: 0 / 1.66 GB, free: 79.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008198/0.8123, allocations: 127.8 kB / 1.66 GB, free: 79.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.8123, allocations: 0 / 1.66 GB, free: 79.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.814, allocations: 127.2 kB / 1.66 GB, free: 79.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.606e-05/0.8141, allocations: 27.97 kB / 1.66 GB, free: 79.63 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.8141, allocations: 4 kB / 1.66 GB, free: 79.62 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001683/0.8158, allocations: 0.6699 MB / 1.661 GB, free: 78.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.8158, allocations: 4 kB / 1.661 GB, free: 78.95 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.525e-06/0.8159, allocations: 3.953 kB / 1.661 GB, free: 78.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007862/0.8167, allocations: 119.8 kB / 1.661 GB, free: 78.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.8167, allocations: 4 kB / 1.661 GB, free: 78.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.8183, allocations: 122.9 kB / 1.661 GB, free: 78.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.827e-05/0.8184, allocations: 27.97 kB / 1.661 GB, free: 78.68 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005336/0.819, allocations: 340.7 kB / 1.661 GB, free: 78.34 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.8193, allocations: 102.7 kB / 1.662 GB, free: 78.24 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/0.8213, allocations: 0.8384 MB / 1.662 GB, free: 77.39 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.96e-06/0.8213, allocations: 11.95 kB / 1.662 GB, free: 77.38 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.148e-06/0.8214, allocations: 4 kB / 1.662 GB, free: 77.38 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.22e-06/0.8214, allocations: 3.984 kB / 1.662 GB, free: 77.38 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003726/0.8251, allocations: 1.963 MB / 1.664 GB, free: 75.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.361e-06/0.8252, allocations: 0 / 1.664 GB, free: 75.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007642/0.8259, allocations: 120.1 kB / 1.664 GB, free: 75.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.826, allocations: 4 kB / 1.664 GB, free: 75.21 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/0.826, allocations: 12 kB / 1.664 GB, free: 75.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.166e-06/0.826, allocations: 15.92 kB / 1.664 GB, free: 75.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.364e-06/0.8261, allocations: 0 / 1.664 GB, free: 75.18 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.8287, allocations: 1.28 MB / 1.666 GB, free: 73.86 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006237/0.8293, allocations: 295.5 kB / 1.666 GB, free: 73.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.8295, allocations: 8 kB / 1.666 GB, free: 73.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.8308, allocations: 83.97 kB / 1.666 GB, free: 73.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.831, allocations: 43.89 kB / 1.666 GB, free: 73.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.395e-05/0.831, allocations: 16 kB / 1.666 GB, free: 73.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001699/0.8327, allocations: 0.9213 MB / 1.667 GB, free: 72.47 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.21e-07/0.8328, allocations: 0 / 1.667 GB, free: 72.47 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001516/0.8343, allocations: 451.4 kB / 1.667 GB, free: 72.03 MB / 0.8542 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 (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.0006064/0.8349, allocations: 264.4 kB / 1.668 GB, free: 71.77 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002477/0.8374, allocations: 1.061 MB / 1.669 GB, free: 70.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.6e-06/0.8374, allocations: 0 / 1.669 GB, free: 70.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008063/0.8383, allocations: 358.6 kB / 1.669 GB, free: 70.35 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/0.8412, allocations: 472.3 kB / 1.67 GB, free: 69.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/0.8443, allocations: 1.977 MB / 1.671 GB, free: 67.87 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/0.8449, allocations: 1.069 MB / 1.672 GB, free: 66.77 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001648/0.8465, allocations: 303.3 kB / 1.673 GB, free: 66.47 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000436/0.847, allocations: 103.3 kB / 1.673 GB, free: 66.37 MB / 0.8542 GB Notification: Performance of SimCode: time 1.893e-06/0.847, allocations: 0 / 1.673 GB, free: 66.37 MB / 0.8542 GB Notification: Performance of Templates: time 0.0424/0.8894, allocations: 21.12 MB / 1.693 GB, free: 45.66 MB / 0.8542 GB