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.506/1.506, allocations: 252 MB / 267.6 MB, free: 10.9 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.0009996/0.0009999, allocations: 184.6 kB / 327.3 MB, free: 2.207 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.877/1.877, allocations: 205.4 MB / 0.5783 GB, free: 20.26 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.0009372/0.0009371, allocations: 90.36 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003696, allocations: 16.62 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2459, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7534/0.9994, allocations: 173 MB / 1.07 GB, free: 4.215 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01321/1.013, allocations: 7.232 MB / 1.077 GB, free: 4.023 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/1.015, allocations: 30.44 kB / 1.077 GB, free: 4.023 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001576/1.016, allocations: 362.1 kB / 1.077 GB, free: 4.02 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004301/1.021, allocations: 1.132 MB / 1.078 GB, free: 3.965 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008453/1.029, allocations: 2.046 MB / 1.08 GB, free: 3.887 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004814/1.034, allocations: 2.415 MB / 1.083 GB, free: 3.879 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/1.036, allocations: 0.8592 MB / 1.084 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/1.038, allocations: 0.8049 MB / 1.084 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/1.04, allocations: 0.785 MB / 1.085 GB, free: 3.77 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002082/1.04, allocations: 57.12 kB / 1.085 GB, free: 3.77 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002839/1.043, allocations: 0.9173 MB / 1.086 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004588/1.043, allocations: 329.3 kB / 1.086 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007549/1.044, allocations: 226.7 kB / 1.087 GB, free: 19.72 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002265/1.046, allocations: 1.557 MB / 1.088 GB, free: 19.62 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.046, allocations: 1.859 kB / 1.088 GB, free: 19.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.685e-06/1.046, allocations: 2.094 kB / 1.088 GB, free: 19.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.744e-05/1.046, allocations: 4 kB / 1.088 GB, free: 19.62 MB / 0.7136 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.00418/1.05, allocations: 1.538 MB / 1.09 GB, free: 18.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.051, allocations: 9.469 kB / 1.09 GB, free: 18.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009572/1.051, allocations: 191.5 kB / 1.09 GB, free: 18.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/1.054, allocations: 1.009 MB / 1.091 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/1.054, allocations: 57.27 kB / 1.091 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/1.054, allocations: 59.97 kB / 1.091 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/1.055, allocations: 0.6984 MB / 1.092 GB, free: 18.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/1.055, allocations: 1.406 kB / 1.092 GB, free: 18.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.56e-05/1.055, allocations: 24.36 kB / 1.092 GB, free: 18.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/1.055, allocations: 11.41 kB / 1.092 GB, free: 18.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/1.057, allocations: 0.6391 MB / 1.092 GB, free: 18.31 MB / 0.7136 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.004556/1.061, allocations: 2.682 MB / 1.095 GB, free: 17.47 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/1.063, allocations: 0.5685 MB / 1.095 GB, free: 17.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005856/1.063, allocations: 359.2 kB / 1.096 GB, free: 17.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004205/1.064, allocations: 293.4 kB / 1.096 GB, free: 17.15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/1.064, allocations: 37.3 kB / 1.096 GB, free: 17.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008291/1.064, allocations: 167.9 kB / 1.096 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 3.307e-06/1.065, allocations: 0 / 1.096 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.002238/1.067, allocations: 1.061 MB / 1.097 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/1.067, allocations: 134.8 kB / 1.097 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/1.069, allocations: 1.278 MB / 1.099 GB, free: 16.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.976e-05/1.069, allocations: 43.86 kB / 1.099 GB, free: 16.63 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/1.069, allocations: 445.3 kB / 1.099 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/1.069, allocations: 155 kB / 1.099 GB, free: 16.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/1.069, allocations: 6.938 kB / 1.099 GB, free: 16.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001107/1.069, allocations: 325.3 kB / 1.1 GB, free: 16.11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005443/1.07, allocations: 295.5 kB / 1.1 GB, free: 16.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007399/1.071, allocations: 0.5206 MB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006135/1.071, allocations: 338.9 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.071, allocations: 0 / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001528/1.073, allocations: 0.7946 MB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.506e-05/1.073, allocations: 96.14 kB / 1.102 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/1.073, allocations: 0 / 1.102 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.073, allocations: 2.969 kB / 1.102 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/1.074, allocations: 127.9 kB / 1.102 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.074, allocations: 2.906 kB / 1.102 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/1.075, allocations: 123.1 kB / 1.102 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/1.075, allocations: 26.83 kB / 1.102 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/1.075, allocations: 5.422 kB / 1.102 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00142/1.077, allocations: 0.6677 MB / 1.102 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/1.077, allocations: 2.938 kB / 1.102 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.671e-06/1.077, allocations: 0 / 1.102 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/1.077, allocations: 125.1 kB / 1.103 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.077, allocations: 2.25 kB / 1.103 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/1.079, allocations: 123.4 kB / 1.103 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-05/1.079, allocations: 27.59 kB / 1.103 GB, free: 15.61 MB / 0.7136 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.000784/1.08, allocations: 333.5 kB / 1.103 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/1.08, allocations: 110.8 kB / 1.103 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/1.082, allocations: 0.8302 MB / 1.104 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.082, allocations: 5.156 kB / 1.104 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/1.082, allocations: 3.047 kB / 1.104 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/1.082, allocations: 3.031 kB / 1.104 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003469/1.085, allocations: 1.974 MB / 1.106 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.085, allocations: 2.875 kB / 1.106 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005571/1.086, allocations: 111.1 kB / 1.106 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-06/1.086, allocations: 5.844 kB / 1.106 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.473e-05/1.086, allocations: 18.11 kB / 1.106 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/1.086, allocations: 13.03 kB / 1.106 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/1.086, allocations: 10.06 kB / 1.106 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/1.088, allocations: 1.277 MB / 1.107 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004766/1.089, allocations: 296.7 kB / 1.108 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/1.089, allocations: 15.22 kB / 1.108 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009906/1.09, allocations: 74.81 kB / 1.108 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/1.09, allocations: 49.34 kB / 1.108 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/1.09, allocations: 17.69 kB / 1.108 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001368/1.091, allocations: 0.9201 MB / 1.109 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.091, allocations: 0 / 1.109 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001436/1.093, allocations: 447.2 kB / 1.109 GB, free: 14.27 MB / 0.7136 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.0006416/1.093, allocations: 249.8 kB / 1.109 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00208/1.096, allocations: 1.061 MB / 1.11 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.096, allocations: 0 / 1.11 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006274/1.096, allocations: 352.7 kB / 1.111 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/1.099, allocations: 489.6 kB / 1.111 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/1.102, allocations: 2.032 MB / 1.113 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/1.102, allocations: 1.049 MB / 1.114 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/1.103, allocations: 99.25 kB / 1.114 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of SimCode: time 1.122e-06/1.103, allocations: 0 / 1.114 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of Templates: time 0.03264/1.135, allocations: 17.47 MB / 1.131 GB, free: 4.715 MB / 0.7136 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)