Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.188/2.188, allocations: 251.1 MB / 266.7 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001435, allocations: 170.7 kB / 326.2 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.368/2.368, allocations: 205.4 MB / 0.5772 GB, free: 21.05 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009665/0.0009662, allocations: 89.17 kB / 0.6817 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.0004918, allocations: 11.75 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.237, allocations: 106.3 MB / 0.8995 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.461/7.698, allocations: 2.201 GB / 3.101 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003749/7.698, allocations: 101.3 kB / 3.101 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.593/10.29, allocations: 0.5851 GB / 3.686 GB, free: 30.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.228e-06/10.29, allocations: 0 / 3.686 GB, free: 30.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001515/10.29, allocations: 39.92 kB / 3.686 GB, free: 30.56 MB / 0.8855 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.007233/10.3, allocations: 1.706 MB / 3.688 GB, free: 28.79 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/10.3, allocations: 12.03 kB / 3.688 GB, free: 28.78 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/10.3, allocations: 243.3 kB / 3.688 GB, free: 28.54 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003661/10.31, allocations: 1.068 MB / 3.689 GB, free: 27.42 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.523e-05/10.31, allocations: 45.38 kB / 3.689 GB, free: 27.38 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/10.31, allocations: 64.38 kB / 3.689 GB, free: 27.32 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/10.31, allocations: 0.7157 MB / 3.69 GB, free: 26.57 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/10.31, allocations: 3.938 kB / 3.69 GB, free: 26.57 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/10.31, allocations: 20 kB / 3.69 GB, free: 26.55 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/10.31, allocations: 12 kB / 3.69 GB, free: 26.54 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/10.31, allocations: 0.6597 MB / 3.691 GB, free: 25.88 MB / 0.8855 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.007133/10.32, allocations: 2.732 MB / 3.693 GB, free: 23.01 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/10.32, allocations: 0.5725 MB / 3.694 GB, free: 22.43 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/10.32, allocations: 368.6 kB / 3.694 GB, free: 22.06 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005061/10.32, allocations: 291.5 kB / 3.694 GB, free: 21.72 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/10.32, allocations: 38.56 kB / 3.694 GB, free: 21.68 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002101/10.32, allocations: 227.4 kB / 3.695 GB, free: 21.45 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=43): time 4.739e-06/10.32, allocations: 0 / 3.695 GB, free: 21.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=43): time 0.004128/10.33, allocations: 1.055 MB / 3.696 GB, free: 20.39 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.141e-05/10.33, allocations: 140.5 kB / 3.696 GB, free: 20.22 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003071/10.33, allocations: 1.252 MB / 3.697 GB, free: 18.95 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002862/10.33, allocations: 41.7 kB / 3.697 GB, free: 18.91 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004558/10.33, allocations: 448.4 kB / 3.698 GB, free: 18.46 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/10.33, allocations: 153.8 kB / 3.698 GB, free: 18.31 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/10.33, allocations: 4 kB / 3.698 GB, free: 18.31 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.541e-05/10.33, allocations: 326 kB / 3.698 GB, free: 17.98 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009998/10.33, allocations: 288.7 kB / 3.698 GB, free: 17.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/10.34, allocations: 0.5307 MB / 3.699 GB, free: 17.08 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/10.34, allocations: 342 kB / 3.699 GB, free: 16.75 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/10.34, allocations: 0 / 3.699 GB, free: 16.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002848/10.34, allocations: 0.7876 MB / 3.7 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.738e-05/10.34, allocations: 107.3 kB / 3.7 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/10.34, allocations: 4 kB / 3.7 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/10.34, allocations: 0 / 3.7 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/10.34, allocations: 123.8 kB / 3.7 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/10.34, allocations: 112 / 3.7 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/10.34, allocations: 123.7 kB / 3.7 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/10.34, allocations: 31.97 kB / 3.7 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/10.34, allocations: 7.984 kB / 3.7 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002275/10.35, allocations: 0.666 MB / 3.701 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/10.35, allocations: 0 / 3.701 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-06/10.35, allocations: 4 kB / 3.701 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/10.35, allocations: 123.8 kB / 3.701 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/10.35, allocations: 4 kB / 3.701 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002541/10.35, allocations: 123.8 kB / 3.701 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/10.35, allocations: 27.97 kB / 3.701 GB, free: 14.61 MB / 0.8855 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.0007392/10.35, allocations: 337.3 kB / 3.701 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003897/10.35, allocations: 106.7 kB / 3.702 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002843/10.35, allocations: 0.8501 MB / 3.702 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/10.35, allocations: 4 kB / 3.702 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/10.35, allocations: 7.938 kB / 3.702 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/10.35, allocations: 3.984 kB / 3.702 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005022/10.36, allocations: 1.995 MB / 3.704 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/10.36, allocations: 4 kB / 3.704 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/10.36, allocations: 116.1 kB / 3.704 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/10.36, allocations: 4 kB / 3.704 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.093e-05/10.36, allocations: 16 kB / 3.705 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.769e-06/10.36, allocations: 7.984 kB / 3.705 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/10.36, allocations: 7.938 kB / 3.705 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00365/10.36, allocations: 1.272 MB / 3.706 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/10.36, allocations: 311.5 kB / 3.706 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005/10.37, allocations: 12 kB / 3.706 GB, free: 9.414 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002357/10.37, allocations: 83.91 kB / 3.706 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002856/10.37, allocations: 47.88 kB / 3.706 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.373e-05/10.37, allocations: 20 kB / 3.706 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002736/10.37, allocations: 0.894 MB / 3.707 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.81e-07/10.37, allocations: 0 / 3.707 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003312/10.37, allocations: 0.6087 MB / 3.708 GB, free: 7.754 MB / 0.8855 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.003111/10.38, allocations: 1.672 MB / 3.709 GB, free: 6.008 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003467/10.38, allocations: 1.046 MB / 3.71 GB, free: 4.949 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/10.38, allocations: 4 kB / 3.71 GB, free: 4.945 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/10.38, allocations: 340.1 kB / 3.711 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004531/10.39, allocations: 488.7 kB / 3.711 GB, free: 4.145 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/10.39, allocations: 1.958 MB / 3.713 GB, free: 2.125 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000588/10.39, allocations: 1.053 MB / 3.714 GB, free: 1.043 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002095/10.39, allocations: 295.2 kB / 3.714 GB, free: 0.75 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006027/10.39, allocations: 99.38 kB / 3.714 GB, free: 0.6523 MB / 0.8855 GB Notification: Performance of SimCode: time 1.052e-06/10.39, allocations: 0 / 3.714 GB, free: 0.6523 MB / 0.8855 GB Notification: Performance of Templates: time 0.764/11.16, allocations: 39.89 MB / 3.753 GB, free: 177.8 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)