Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.565/1.565, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.001104/0.001104, allocations: 175 kB / 371.6 MB, free: 3.398 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.512/1.512, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009169/0.0009171, allocations: 94.23 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.764e-05/3.765e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2679, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.435/5.703, allocations: 2.084 GB / 3.064 GB, free: 111.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/5.703, allocations: 96.95 kB / 3.064 GB, free: 111.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.281/7.984, allocations: 0.6052 GB / 3.669 GB, free: 169.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.292e-06/7.984, allocations: 0 / 3.669 GB, free: 169.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001073/7.984, allocations: 36.28 kB / 3.67 GB, free: 169.6 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.002649/7.987, allocations: 1.32 MB / 3.671 GB, free: 169 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/7.987, allocations: 9.094 kB / 3.671 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002285/7.989, allocations: 243.8 kB / 3.671 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/7.991, allocations: 1.037 MB / 3.672 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.356e-05/7.991, allocations: 45.5 kB / 3.672 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/7.991, allocations: 65.58 kB / 3.672 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000961/7.992, allocations: 0.6562 MB / 3.673 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/7.992, allocations: 3.5 kB / 3.673 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-05/7.992, allocations: 25.95 kB / 3.673 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/7.992, allocations: 15.28 kB / 3.673 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007876/7.993, allocations: 0.5509 MB / 3.673 GB, free: 168.5 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.003686/7.996, allocations: 2.733 MB / 3.676 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007667/7.997, allocations: 0.5135 MB / 3.677 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003901/7.998, allocations: 315.8 kB / 3.677 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000359/7.998, allocations: 292.3 kB / 3.677 GB, free: 167.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/7.998, allocations: 41.27 kB / 3.677 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008509/7.999, allocations: 225.9 kB / 3.677 GB, free: 167.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/7.999, allocations: 0 / 3.677 GB, free: 167.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.001285/8, allocations: 0.6905 MB / 3.678 GB, free: 167.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/8, allocations: 131.8 kB / 3.678 GB, free: 167.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/8.002, allocations: 1.101 MB / 3.679 GB, free: 166.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.301e-05/8.002, allocations: 39.98 kB / 3.679 GB, free: 166.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/8.002, allocations: 450.5 kB / 3.68 GB, free: 166.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/8.002, allocations: 150.1 kB / 3.68 GB, free: 166.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/8.002, allocations: 15.19 kB / 3.68 GB, free: 166.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.41e-05/8.002, allocations: 320.9 kB / 3.68 GB, free: 166 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/8.002, allocations: 236.3 kB / 3.68 GB, free: 165.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004777/8.003, allocations: 491.4 kB / 3.681 GB, free: 165.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/8.003, allocations: 300.8 kB / 3.681 GB, free: 165.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/8.003, allocations: 0 / 3.681 GB, free: 165.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009961/8.004, allocations: 0.6996 MB / 3.682 GB, free: 165.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/8.004, allocations: 101.2 kB / 3.682 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/8.004, allocations: 0 / 3.682 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/8.004, allocations: 1.844 kB / 3.682 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/8.005, allocations: 131.7 kB / 3.682 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/8.005, allocations: 2.844 kB / 3.682 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/8.006, allocations: 118.7 kB / 3.682 GB, free: 165 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.503e-05/8.006, allocations: 36.62 kB / 3.682 GB, free: 165 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/8.006, allocations: 4.812 kB / 3.682 GB, free: 165 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008446/8.007, allocations: 0.5616 MB / 3.683 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/8.007, allocations: 12.44 kB / 3.683 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.68e-06/8.007, allocations: 7.094 kB / 3.683 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000564/8.008, allocations: 120 kB / 3.683 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/8.008, allocations: 6.922 kB / 3.683 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/8.009, allocations: 120.9 kB / 3.683 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/8.009, allocations: 33.77 kB / 3.683 GB, free: 164.8 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 () * 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.0001362/8.009, allocations: 137.8 kB / 3.683 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/8.009, allocations: 103.3 kB / 3.683 GB, free: 164.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/8.01, allocations: 0.7377 MB / 3.684 GB, free: 164.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/8.01, allocations: 8.938 kB / 3.684 GB, free: 164.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/8.01, allocations: 0 / 3.684 GB, free: 164.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/8.01, allocations: 3.953 kB / 3.684 GB, free: 164.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/8.013, allocations: 1.903 MB / 3.686 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/8.013, allocations: 2.125 kB / 3.686 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005386/8.013, allocations: 114.6 kB / 3.686 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/8.013, allocations: 6.125 kB / 3.686 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/8.013, allocations: 18.61 kB / 3.686 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/8.013, allocations: 7.719 kB / 3.686 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/8.013, allocations: 3.938 kB / 3.686 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/8.015, allocations: 1.24 MB / 3.687 GB, free: 162.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004344/8.015, allocations: 298.9 kB / 3.688 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/8.015, allocations: 12.97 kB / 3.688 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009652/8.016, allocations: 86.91 kB / 3.688 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/8.016, allocations: 43.09 kB / 3.688 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.735e-05/8.017, allocations: 26.98 kB / 3.688 GB, free: 162.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00105/8.018, allocations: 0.862 MB / 3.689 GB, free: 162 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/8.018, allocations: 7.031 kB / 3.689 GB, free: 162 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001742/8.019, allocations: 0.6018 MB / 3.689 GB, free: 161.8 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 () * 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.002039/8.021, allocations: 1.67 MB / 3.691 GB, free: 161.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001289/8.023, allocations: 0.9428 MB / 3.692 GB, free: 160.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/8.023, allocations: 10.34 kB / 3.692 GB, free: 160.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003617/8.023, allocations: 295 kB / 3.692 GB, free: 160.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/8.025, allocations: 469.9 kB / 3.692 GB, free: 160.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/8.027, allocations: 1.291 MB / 3.694 GB, free: 160.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/8.028, allocations: 1.077 MB / 3.695 GB, free: 159.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00154/8.029, allocations: 421.5 kB / 3.695 GB, free: 159.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/8.029, allocations: 73.53 kB / 3.695 GB, free: 159.4 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/8.029, allocations: 0 / 3.695 GB, free: 159.4 MB / 0.948 GB Notification: Performance of Templates: time 0.05531/8.085, allocations: 45.81 MB / 3.74 GB, free: 152.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)