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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001063, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005256/0.0005256, allocations: 12.34 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2764, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7171/0.9936, allocations: 172.8 MB / 0.956 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01299/1.007, allocations: 7.16 MB / 0.963 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/1.008, allocations: 34.44 kB / 0.9631 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001434/1.01, allocations: 365.9 kB / 0.9634 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003568/1.014, allocations: 1.125 MB / 0.9645 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007807/1.021, allocations: 2.045 MB / 0.9665 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004325/1.026, allocations: 2.411 MB / 0.9689 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/1.027, allocations: 0.8567 MB / 0.9697 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/1.029, allocations: 0.8187 MB / 0.9705 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/1.03, allocations: 0.7827 MB / 0.9713 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001653/1.031, allocations: 57.66 kB / 0.9713 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002502/1.033, allocations: 0.9193 MB / 0.9722 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004136/1.033, allocations: 336 kB / 0.9725 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005104/1.034, allocations: 225.6 kB / 0.9727 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002113/1.036, allocations: 1.552 MB / 0.9743 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/1.036, allocations: 0 / 0.9743 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.917e-06/1.036, allocations: 3.938 kB / 0.9743 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.873e-05/1.036, allocations: 3.016 kB / 0.9743 GB, free: 18.54 MB / 0.7325 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.003854/1.04, allocations: 1.542 MB / 0.9758 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/1.04, allocations: 9.719 kB / 0.9758 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000917/1.041, allocations: 190.1 kB / 0.976 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/1.043, allocations: 1.013 MB / 0.9769 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/1.043, allocations: 50.3 kB / 0.977 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/1.043, allocations: 63.31 kB / 0.9771 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/1.044, allocations: 0.6926 MB / 0.9777 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/1.044, allocations: 4 kB / 0.9777 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.027e-05/1.044, allocations: 20.88 kB / 0.9778 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/1.044, allocations: 10.09 kB / 0.9778 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/1.045, allocations: 0.6427 MB / 0.9784 GB, free: 16.74 MB / 0.7325 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.004039/1.049, allocations: 2.677 MB / 0.981 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/1.051, allocations: 0.565 MB / 0.9816 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/1.051, allocations: 354.4 kB / 0.9819 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004174/1.052, allocations: 297.8 kB / 0.9822 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/1.052, allocations: 45.88 kB / 0.9822 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007471/1.052, allocations: 167.8 kB / 0.9824 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.865e-06/1.052, allocations: 0 / 0.9824 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.00212/1.054, allocations: 1.068 MB / 0.9834 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/1.055, allocations: 131.8 kB / 0.9836 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/1.056, allocations: 1.275 MB / 0.9848 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.114e-05/1.057, allocations: 43.95 kB / 0.9848 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/1.057, allocations: 442.9 kB / 0.9853 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/1.057, allocations: 162 kB / 0.9854 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/1.057, allocations: 12.28 kB / 0.9854 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001976/1.057, allocations: 322.5 kB / 0.9857 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005109/1.058, allocations: 283.7 kB / 0.986 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007931/1.059, allocations: 0.5171 MB / 0.9865 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006211/1.059, allocations: 350 kB / 0.9868 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.059, allocations: 0 / 0.9868 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001441/1.061, allocations: 0.7932 MB / 0.9876 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.053e-05/1.061, allocations: 97.39 kB / 0.9877 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/1.061, allocations: 3.984 kB / 0.9877 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.061, allocations: 2.625 kB / 0.9877 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/1.061, allocations: 122.7 kB / 0.9878 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/1.061, allocations: 0 / 0.9878 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/1.063, allocations: 127.3 kB / 0.988 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/1.063, allocations: 26.12 kB / 0.988 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.495e-06/1.063, allocations: 1.969 kB / 0.988 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001245/1.064, allocations: 0.6729 MB / 0.9886 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.064, allocations: 1.188 kB / 0.9886 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-06/1.064, allocations: 7.156 kB / 0.9887 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000532/1.065, allocations: 120.3 kB / 0.9888 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/1.065, allocations: 6.922 kB / 0.9888 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.066, allocations: 123.1 kB / 0.9889 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/1.066, allocations: 20.67 kB / 0.9889 GB, free: 12.36 MB / 0.7325 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.0006001/1.067, allocations: 333.3 kB / 0.9892 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/1.067, allocations: 106.3 kB / 0.9893 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/1.068, allocations: 0.8305 MB / 0.9901 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/1.068, allocations: 9.719 kB / 0.9901 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.068, allocations: 3.953 kB / 0.9902 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/1.068, allocations: 3.094 kB / 0.9902 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/1.071, allocations: 1.976 MB / 0.9921 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.071, allocations: 3.281 kB / 0.9921 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005296/1.072, allocations: 118.6 kB / 0.9922 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/1.072, allocations: 5.875 kB / 0.9922 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/1.072, allocations: 12.25 kB / 0.9922 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-05/1.072, allocations: 13.8 kB / 0.9922 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/1.072, allocations: 7.297 kB / 0.9922 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/1.074, allocations: 1.276 MB / 0.9935 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004346/1.074, allocations: 291.4 kB / 0.9938 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/1.075, allocations: 18.75 kB / 0.9938 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009164/1.075, allocations: 75.31 kB / 0.9939 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/1.076, allocations: 44.22 kB / 0.9939 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/1.076, allocations: 19.27 kB / 0.9939 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001398/1.077, allocations: 0.9253 MB / 0.9948 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.077, allocations: 0 / 0.9948 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001564/1.079, allocations: 444.4 kB / 0.9952 GB, free: 10.01 MB / 0.7325 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.0007311/1.079, allocations: 258.1 kB / 0.9955 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002028/1.081, allocations: 1.068 MB / 0.9965 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.081, allocations: 1.859 kB / 0.9965 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005825/1.082, allocations: 350.7 kB / 0.9969 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/1.084, allocations: 482.6 kB / 0.9973 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/1.087, allocations: 1.974 MB / 0.9993 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006823/1.088, allocations: 1.053 MB / 1 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001267/1.089, allocations: 300.2 kB / 1.001 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/1.089, allocations: 102.3 kB / 1.001 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of SimCode: time 8.02e-07/1.089, allocations: 0 / 1.001 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of Templates: time 0.03591/1.125, allocations: 21.14 MB / 1.021 GB, free: 9.801 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: