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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.326/1.326, allocations: 252 MB / 267.9 MB, free: 10.92 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.001189/0.001189, allocations: 182.2 kB / 327.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.4 MB / 0.5785 GB, free: 20.49 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.0007372/0.0007371, allocations: 85.28 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003922, allocations: 15.19 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2041, allocations: 106.3 MB / 0.9012 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.664/4.868, allocations: 2.202 GB / 3.103 GB, free: 16.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/4.868, allocations: 97.73 kB / 3.103 GB, free: 16.01 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.13/6.998, allocations: 0.5851 GB / 3.688 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.046e-06/6.998, allocations: 0 / 3.688 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001811/6.999, allocations: 32.17 kB / 3.688 GB, free: 122.4 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.005213/7.004, allocations: 1.701 MB / 3.69 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/7.004, allocations: 12.03 kB / 3.69 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/7.006, allocations: 243.2 kB / 3.69 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002588/7.009, allocations: 1.106 MB / 3.691 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/7.009, allocations: 41.38 kB / 3.691 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/7.009, allocations: 64.36 kB / 3.691 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/7.01, allocations: 0.7236 MB / 3.692 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/7.01, allocations: 7.938 kB / 3.692 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-05/7.01, allocations: 19.94 kB / 3.692 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/7.01, allocations: 12 kB / 3.692 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/7.011, allocations: 0.648 MB / 3.693 GB, free: 117.7 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.003789/7.015, allocations: 2.74 MB / 3.695 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009497/7.016, allocations: 0.5841 MB / 3.696 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/7.017, allocations: 361.6 kB / 3.696 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003293/7.017, allocations: 291.5 kB / 3.697 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/7.017, allocations: 38.56 kB / 3.697 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009046/7.018, allocations: 227.4 kB / 3.697 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=43): time 3.377e-06/7.018, allocations: 0 / 3.697 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=43): time 0.00195/7.02, allocations: 1.059 MB / 3.698 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/7.02, allocations: 136.5 kB / 3.698 GB, free: 112 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/7.021, allocations: 1.252 MB / 3.699 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/7.022, allocations: 37.7 kB / 3.699 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/7.022, allocations: 451 kB / 3.7 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.941e-05/7.022, allocations: 149.8 kB / 3.7 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/7.022, allocations: 8 kB / 3.7 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.752e-05/7.022, allocations: 326 kB / 3.7 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004679/7.022, allocations: 284.7 kB / 3.7 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/7.023, allocations: 0.5268 MB / 3.701 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009619/7.024, allocations: 0.6292 MB / 3.702 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/7.024, allocations: 0 / 3.702 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001252/7.025, allocations: 0.7876 MB / 3.702 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.126e-05/7.025, allocations: 99.33 kB / 3.702 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/7.025, allocations: 7.938 kB / 3.702 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/7.025, allocations: 4.094 kB / 3.702 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005834/7.026, allocations: 131.7 kB / 3.703 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/7.026, allocations: 0 / 3.703 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/7.027, allocations: 123.7 kB / 3.703 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.044e-05/7.027, allocations: 31.97 kB / 3.703 GB, free: 107 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/7.027, allocations: 4 kB / 3.703 GB, free: 107 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00112/7.029, allocations: 0.6622 MB / 3.703 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/7.029, allocations: 3.984 kB / 3.703 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.15e-06/7.029, allocations: 4 kB / 3.703 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005412/7.029, allocations: 123.8 kB / 3.703 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/7.029, allocations: 4 kB / 3.703 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/7.03, allocations: 115.9 kB / 3.704 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.904e-05/7.03, allocations: 27.97 kB / 3.704 GB, free: 106.1 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.0005481/7.031, allocations: 341.2 kB / 3.704 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/7.031, allocations: 106.7 kB / 3.704 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/7.033, allocations: 0.8423 MB / 3.705 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/7.033, allocations: 8 kB / 3.705 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/7.033, allocations: 3.984 kB / 3.705 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/7.033, allocations: 3.984 kB / 3.705 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002752/7.035, allocations: 1.984 MB / 3.707 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/7.035, allocations: 7.984 kB / 3.707 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005303/7.036, allocations: 116.1 kB / 3.707 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/7.036, allocations: 4 kB / 3.707 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/7.036, allocations: 15.98 kB / 3.707 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/7.036, allocations: 4 kB / 3.707 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/7.036, allocations: 11.94 kB / 3.707 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/7.038, allocations: 1.28 MB / 3.708 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005387/7.038, allocations: 307.6 kB / 3.708 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/7.039, allocations: 12 kB / 3.708 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/7.04, allocations: 83.89 kB / 3.709 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/7.04, allocations: 47.78 kB / 3.709 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/7.04, allocations: 23.98 kB / 3.709 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001198/7.041, allocations: 0.8979 MB / 3.71 GB, free: 99.84 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.4e-07/7.041, allocations: 0 / 3.71 GB, free: 99.84 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001852/7.043, allocations: 0.6086 MB / 3.71 GB, free: 99.23 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.002075/7.045, allocations: 1.673 MB / 3.712 GB, free: 97.49 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001758/7.047, allocations: 1.042 MB / 3.713 GB, free: 96.44 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/7.047, allocations: 0 / 3.713 GB, free: 96.44 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005206/7.047, allocations: 348.9 kB / 3.713 GB, free: 96.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/7.05, allocations: 480.7 kB / 3.714 GB, free: 95.63 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/7.052, allocations: 1.962 MB / 3.715 GB, free: 93.61 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/7.053, allocations: 1.053 MB / 3.716 GB, free: 92.53 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00118/7.054, allocations: 283.2 kB / 3.717 GB, free: 92.25 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/7.054, allocations: 103.4 kB / 3.717 GB, free: 92.14 MB / 0.8855 GB Notification: Performance of SimCode: time 8.72e-07/7.054, allocations: 0 / 3.717 GB, free: 92.14 MB / 0.8855 GB Notification: Performance of Templates: time 0.05111/7.105, allocations: 40.19 MB / 3.756 GB, free: 52.15 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (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)