Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.806/1.806, allocations: 288.3 MB / 303.2 MB, free: 8.078 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 175.4 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008876/0.0008873, allocations: 94.86 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004637, allocations: 15.52 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2315, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.225/5.456, allocations: 2.084 GB / 3.063 GB, free: 231.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/5.456, allocations: 102.3 kB / 3.063 GB, free: 231.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.499/7.955, allocations: 0.6057 GB / 3.669 GB, free: 194.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.893e-06/7.956, allocations: 0 / 3.669 GB, free: 194.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002101/7.956, allocations: 29.09 kB / 3.669 GB, free: 194.4 MB / 0.948 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.006763/7.963, allocations: 1.72 MB / 3.671 GB, free: 193.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/7.963, allocations: 10.03 kB / 3.671 GB, free: 193.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003136/7.966, allocations: 240.4 kB / 3.671 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003825/7.97, allocations: 1.067 MB / 3.672 GB, free: 193.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.241e-05/7.97, allocations: 41.97 kB / 3.672 GB, free: 193.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000285/7.97, allocations: 63.09 kB / 3.672 GB, free: 193.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/7.972, allocations: 0.7201 MB / 3.673 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/7.972, allocations: 5.844 kB / 3.673 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.58e-05/7.972, allocations: 22.25 kB / 3.673 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/7.972, allocations: 12.66 kB / 3.673 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/7.974, allocations: 0.6511 MB / 3.673 GB, free: 193.4 MB / 0.948 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.006614/7.98, allocations: 2.741 MB / 3.676 GB, free: 192.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/7.982, allocations: 0.5738 MB / 3.677 GB, free: 192.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004284/7.982, allocations: 290 kB / 3.677 GB, free: 192.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/7.982, allocations: 37.94 kB / 3.677 GB, free: 192.3 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001446/7.984, allocations: 221.3 kB / 3.677 GB, free: 192.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 7.614e-06/7.984, allocations: 3.625 kB / 3.677 GB, free: 192.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.002989/7.987, allocations: 1.058 MB / 3.678 GB, free: 192.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/7.987, allocations: 135.8 kB / 3.678 GB, free: 192.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/7.989, allocations: 1.129 MB / 3.679 GB, free: 191.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001647/7.99, allocations: 42.58 kB / 3.679 GB, free: 191.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004581/7.99, allocations: 453.5 kB / 3.68 GB, free: 191.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/7.99, allocations: 151 kB / 3.68 GB, free: 191.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/7.99, allocations: 6.75 kB / 3.68 GB, free: 191.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.44e-05/7.99, allocations: 326.6 kB / 3.68 GB, free: 191.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005576/7.991, allocations: 288.1 kB / 3.681 GB, free: 191.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007589/7.992, allocations: 0.5305 MB / 3.681 GB, free: 191.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006069/7.992, allocations: 342.3 kB / 3.681 GB, free: 191.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/7.992, allocations: 3.5 kB / 3.681 GB, free: 191.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001729/7.994, allocations: 0.7978 MB / 3.682 GB, free: 191 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.02e-05/7.994, allocations: 94.73 kB / 3.682 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/7.994, allocations: 0 / 3.682 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/7.994, allocations: 7.062 kB / 3.682 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/7.995, allocations: 126.4 kB / 3.682 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/7.995, allocations: 3.953 kB / 3.682 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/7.997, allocations: 118.8 kB / 3.682 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.901e-05/7.997, allocations: 31.8 kB / 3.683 GB, free: 190.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/7.997, allocations: 7.25 kB / 3.683 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001241/7.998, allocations: 0.6655 MB / 3.683 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/7.998, allocations: 3.5 kB / 3.683 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/7.998, allocations: 0 / 3.683 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/7.999, allocations: 129 kB / 3.683 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/7.999, allocations: 0 / 3.683 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/8, allocations: 125 kB / 3.683 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.595e-05/8, allocations: 34.72 kB / 3.683 GB, free: 190.9 MB / 0.948 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.0006831/8.001, allocations: 333.2 kB / 3.684 GB, free: 190.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004115/8.002, allocations: 115.5 kB / 3.684 GB, free: 190.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/8.003, allocations: 0.8471 MB / 3.685 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/8.004, allocations: 6.5 kB / 3.685 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/8.004, allocations: 0 / 3.685 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/8.004, allocations: 0 / 3.685 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003932/8.007, allocations: 1.988 MB / 3.687 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/8.008, allocations: 3.594 kB / 3.687 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006151/8.008, allocations: 122 kB / 3.687 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/8.008, allocations: 3.875 kB / 3.687 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/8.008, allocations: 12.03 kB / 3.687 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/8.008, allocations: 4.969 kB / 3.687 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/8.008, allocations: 13.47 kB / 3.687 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/8.01, allocations: 1.396 MB / 3.688 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008601/8.011, allocations: 297.3 kB / 3.688 GB, free: 189.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000429/8.012, allocations: 17.23 kB / 3.688 GB, free: 189.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/8.013, allocations: 83.09 kB / 3.689 GB, free: 189.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/8.013, allocations: 37.31 kB / 3.689 GB, free: 189.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.481e-05/8.013, allocations: 29.64 kB / 3.689 GB, free: 189.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001767/8.015, allocations: 0.8936 MB / 3.689 GB, free: 189.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.41e-07/8.015, allocations: 2.75 kB / 3.689 GB, free: 189.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003068/8.018, allocations: 0.6061 MB / 3.69 GB, free: 189.5 MB / 0.948 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.003317/8.022, allocations: 1.682 MB / 3.692 GB, free: 189.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00247/8.024, allocations: 1.049 MB / 3.693 GB, free: 189 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/8.024, allocations: 1.156 kB / 3.693 GB, free: 189 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000717/8.025, allocations: 346.2 kB / 3.693 GB, free: 189 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/8.028, allocations: 471.3 kB / 3.694 GB, free: 189 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/8.031, allocations: 1.952 MB / 3.695 GB, free: 188.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007907/8.032, allocations: 1.079 MB / 3.696 GB, free: 187.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001804/8.034, allocations: 291.6 kB / 3.697 GB, free: 187.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006038/8.035, allocations: 101.6 kB / 3.697 GB, free: 187.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.152e-06/8.035, allocations: 0 / 3.697 GB, free: 187.3 MB / 0.948 GB Notification: Performance of Templates: time 0.05977/8.095, allocations: 39.89 MB / 3.736 GB, free: 186.6 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)