Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.88/1.88, allocations: 287.4 MB / 303.2 MB, free: 8.301 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.001221/0.001221, allocations: 182.3 kB / 371.8 MB, free: 10.83 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.611/1.611, allocations: 205.4 MB / 0.6305 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008006/0.0008007, allocations: 93.56 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.0004139, allocations: 10.47 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2226, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.6918/0.9144, allocations: 180.9 MB / 1.156 GB, free: 6.984 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01708/0.9315, allocations: 8.326 MB / 1.164 GB, free: 0.707 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002652/0.9342, allocations: 44.41 kB / 1.164 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002483/0.9367, allocations: 460.2 kB / 1.165 GB, free: 308 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005467/0.9422, allocations: 1.351 MB / 1.166 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.009988/0.9522, allocations: 2.391 MB / 1.168 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006643/0.9589, allocations: 3.129 MB / 1.171 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003034/0.962, allocations: 1.241 MB / 1.172 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003545/0.9655, allocations: 1.058 MB / 1.173 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0028/0.9684, allocations: 1.027 MB / 1.174 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0008454/0.9692, allocations: 76.88 kB / 1.175 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004926/0.9742, allocations: 0.9804 MB / 1.176 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001172/0.9754, allocations: 437 kB / 1.176 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001504/0.9769, allocations: 283.4 kB / 1.176 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004105/0.981, allocations: 1.99 MB / 1.178 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.9811, allocations: 6.281 kB / 1.178 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.637e-06/0.9811, allocations: 0 / 1.178 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000103/0.9812, allocations: 0 / 1.178 GB, free: 7.414 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.006908/0.9881, allocations: 1.873 MB / 1.18 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.374e-05/0.9882, allocations: 15.86 kB / 1.18 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.9901, allocations: 232.5 kB / 1.18 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003683/0.9938, allocations: 1.332 MB / 1.182 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/0.994, allocations: 74.53 kB / 1.182 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003839/0.9944, allocations: 82.31 kB / 1.182 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/0.9967, allocations: 0.9262 MB / 1.183 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.9968, allocations: 0 / 1.183 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-05/0.9969, allocations: 27.56 kB / 1.183 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.9969, allocations: 17.44 kB / 1.183 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.9986, allocations: 0.8511 MB / 1.183 GB, free: 3.895 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.00627/1.005, allocations: 3.51 MB / 1.187 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/1.006, allocations: 0.77 MB / 1.188 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007475/1.007, allocations: 460.7 kB / 1.188 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004172/1.007, allocations: 294.3 kB / 1.188 GB, free: 208 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/1.008, allocations: 37.88 kB / 1.188 GB, free: 164 kB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001132/1.009, allocations: 245.5 kB / 1.189 GB, free: 44 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 4.398e-06/1.009, allocations: 0 / 1.189 GB, free: 44 kB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.002823/1.011, allocations: 1.344 MB / 1.19 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/1.012, allocations: 217 kB / 1.19 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002546/1.014, allocations: 1.667 MB / 1.192 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/1.014, allocations: 41.64 kB / 1.192 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/1.015, allocations: 0.5529 MB / 1.192 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/1.015, allocations: 179 kB / 1.193 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/1.015, allocations: 15 kB / 1.193 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.015, allocations: 332 kB / 1.193 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007526/1.016, allocations: 384.5 kB / 1.193 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/1.017, allocations: 0.703 MB / 1.194 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/1.018, allocations: 0.8342 MB / 1.195 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.018, allocations: 0 / 1.195 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002548/1.021, allocations: 1.056 MB / 1.196 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.958e-05/1.021, allocations: 95.22 kB / 1.196 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/1.021, allocations: 7.938 kB / 1.196 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/1.021, allocations: 6.297 kB / 1.196 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/1.022, allocations: 162.1 kB / 1.196 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/1.022, allocations: 5.688 kB / 1.196 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/1.024, allocations: 156.1 kB / 1.196 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.45e-05/1.024, allocations: 34.73 kB / 1.196 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/1.024, allocations: 3 kB / 1.196 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001696/1.026, allocations: 0.8941 MB / 1.197 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.026, allocations: 2.844 kB / 1.197 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.24e-06/1.026, allocations: 1.75 kB / 1.197 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007456/1.027, allocations: 161.7 kB / 1.197 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/1.027, allocations: 6.844 kB / 1.197 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/1.029, allocations: 170.9 kB / 1.197 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.454e-05/1.029, allocations: 27.34 kB / 1.197 GB, free: 10.71 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006505/1.029, allocations: 387.2 kB / 1.198 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002454/1.03, allocations: 133.6 kB / 1.198 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/1.032, allocations: 1.062 MB / 1.199 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/1.032, allocations: 0 / 1.199 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.032, allocations: 0 / 1.199 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006098/1.032, allocations: 351.3 kB / 1.199 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002569/1.033, allocations: 10.62 kB / 1.199 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/1.034, allocations: 97.3 kB / 1.199 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/1.034, allocations: 43.31 kB / 1.199 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002167/1.036, allocations: 0.9946 MB / 1.2 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002695/1.039, allocations: 1.608 MB / 1.202 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007901/1.04, allocations: 412.3 kB / 1.202 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002168/1.042, allocations: 1.195 MB / 1.204 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of Backend: time 6.21e-07/1.042, allocations: 0 / 1.204 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004186/1.046, allocations: 1.493 MB / 1.205 GB, free: 4.148 MB / 0.7292 GB Notification: Performance of SimCode: time 0.00672/1.053, allocations: 3.137 MB / 1.208 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of Templates: time 0.05886/1.112, allocations: 31.44 MB / 1.239 GB, free: 1.754 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)