Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009523/0.000952, allocations: 178.4 kB / 326.5 MB, free: 2.676 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.817/1.817, allocations: 205 MB / 0.5766 GB, free: 20.95 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.000749/0.0007491, allocations: 85.25 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003233, allocations: 9.75 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1971, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.6481/0.8453, allocations: 196.4 MB / 1.089 GB, free: 1.512 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01493/0.8603, allocations: 9.163 MB / 1.098 GB, free: 1.273 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002291/0.8627, allocations: 49.06 kB / 1.098 GB, free: 1.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.8645, allocations: 0.5705 MB / 1.098 GB, free: 1.258 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005271/0.8698, allocations: 1.725 MB / 1.1 GB, free: 1.172 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008337/0.8781, allocations: 2.739 MB / 1.102 GB, free: 1.055 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004194/0.8823, allocations: 3.578 MB / 1.106 GB, free: 1.043 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/0.8841, allocations: 1.245 MB / 1.107 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00198/0.8861, allocations: 1.077 MB / 1.108 GB, free: 0.832 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.8876, allocations: 1.072 MB / 1.109 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002644/0.8878, allocations: 78.62 kB / 1.109 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002912/0.8908, allocations: 1.625 MB / 1.111 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004414/0.8912, allocations: 444 kB / 1.111 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008609/0.8921, allocations: 0.7317 MB / 1.112 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.894, allocations: 2.014 MB / 1.114 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8941, allocations: 0 / 1.114 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8941, allocations: 0 / 1.114 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.533e-05/0.8941, allocations: 0 / 1.114 GB, free: 0.6836 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.00445/0.8986, allocations: 1.886 MB / 1.116 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.8986, allocations: 10.84 kB / 1.116 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.8996, allocations: 226.3 kB / 1.116 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.9017, allocations: 1.334 MB / 1.117 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.9019, allocations: 68.25 kB / 1.117 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.902, allocations: 81.66 kB / 1.118 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.9035, allocations: 0.9309 MB / 1.118 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.9035, allocations: 4 kB / 1.118 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/0.9036, allocations: 28.44 kB / 1.118 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.9036, allocations: 14.94 kB / 1.119 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.9052, allocations: 0.8562 MB / 1.119 GB, free: 15.13 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.005246/0.9104, allocations: 3.505 MB / 1.123 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.9118, allocations: 0.7805 MB / 1.124 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006548/0.9124, allocations: 455.8 kB / 1.124 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003817/0.9128, allocations: 294.2 kB / 1.124 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.9129, allocations: 43.44 kB / 1.124 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001106/0.914, allocations: 237.8 kB / 1.125 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 4.549e-06/0.914, allocations: 0 / 1.125 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.002799/0.9168, allocations: 1.347 MB / 1.126 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.9169, allocations: 215.5 kB / 1.126 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003207/0.9201, allocations: 1.685 MB / 1.128 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.9203, allocations: 45.08 kB / 1.128 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004302/0.9207, allocations: 0.564 MB / 1.128 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.9209, allocations: 178.3 kB / 1.128 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.845e-05/0.921, allocations: 56.02 kB / 1.129 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.9211, allocations: 327.6 kB / 1.129 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007204/0.9218, allocations: 394.4 kB / 1.129 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.9229, allocations: 0.7021 MB / 1.13 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.9245, allocations: 0.8595 MB / 1.131 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.9245, allocations: 0 / 1.131 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001882/0.9264, allocations: 1.063 MB / 1.132 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.382e-05/0.9265, allocations: 106.6 kB / 1.132 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.9265, allocations: 2.969 kB / 1.132 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.9265, allocations: 0 / 1.132 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007496/0.9273, allocations: 161.3 kB / 1.132 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.9273, allocations: 2.969 kB / 1.132 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.9289, allocations: 153.2 kB / 1.132 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.388e-05/0.9289, allocations: 41.08 kB / 1.132 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.929, allocations: 6.438 kB / 1.132 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001509/0.9305, allocations: 0.8962 MB / 1.133 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.9305, allocations: 5.812 kB / 1.133 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.258e-06/0.9305, allocations: 3.312 kB / 1.133 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000741/0.9313, allocations: 159.6 kB / 1.133 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.9313, allocations: 3.531 kB / 1.133 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.9329, allocations: 166.7 kB / 1.133 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/0.933, allocations: 31.17 kB / 1.133 GB, free: 11.82 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 (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005937/0.9336, allocations: 382.4 kB / 1.134 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/0.9339, allocations: 134.4 kB / 1.134 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.9359, allocations: 1.067 MB / 1.135 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.9359, allocations: 5.812 kB / 1.135 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.9359, allocations: 6.906 kB / 1.135 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.936, allocations: 3.938 kB / 1.135 GB, free: 11.4 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 postOpt removeSimpleEquations (simulation): time 0.003657/0.9396, allocations: 2.486 MB / 1.137 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.9396, allocations: 3.344 kB / 1.137 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006766/0.9403, allocations: 132.3 kB / 1.138 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.9403, allocations: 9.375 kB / 1.138 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.703e-05/0.9404, allocations: 21.52 kB / 1.138 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.9404, allocations: 5.156 kB / 1.138 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.9404, allocations: 5.094 kB / 1.138 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/0.9429, allocations: 1.574 MB / 1.139 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006085/0.9436, allocations: 341.7 kB / 1.139 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.9438, allocations: 17.28 kB / 1.139 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.945, allocations: 100.9 kB / 1.14 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.9451, allocations: 54.97 kB / 1.14 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/0.9452, allocations: 18.25 kB / 1.14 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001761/0.9469, allocations: 1.209 MB / 1.141 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9469, allocations: 0 / 1.141 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00146/0.9484, allocations: 0.5484 MB / 1.141 GB, free: 8.305 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.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 (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005038/0.9489, allocations: 275.4 kB / 1.142 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002453/0.9514, allocations: 1.453 MB / 1.143 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.9514, allocations: 4 kB / 1.143 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007001/0.9521, allocations: 436.5 kB / 1.143 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003027/0.9551, allocations: 0.5929 MB / 1.144 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/0.9585, allocations: 2.665 MB / 1.147 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006493/0.9591, allocations: 1.168 MB / 1.148 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/0.9596, allocations: 128.9 kB / 1.148 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.9596, allocations: 0 / 1.148 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of Templates: time 0.02976/0.9894, allocations: 22.38 MB / 1.17 GB, free: 1.926 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)