Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.767/1.767, allocations: 288.4 MB / 303.7 MB, free: 8.164 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.001444/0.001444, allocations: 195 kB / 372.3 MB, free: 10.11 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.627/1.627, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0008169/0.0008168, allocations: 92.7 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003883, allocations: 12.19 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2584, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.7885/1.047, allocations: 180.9 MB / 1.157 GB, free: 6.117 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0159/1.063, allocations: 8.323 MB / 1.165 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002549/1.066, allocations: 39.22 kB / 1.165 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002365/1.068, allocations: 0.5022 MB / 1.165 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005828/1.074, allocations: 1.567 MB / 1.167 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00892/1.083, allocations: 2.524 MB / 1.169 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005142/1.088, allocations: 3.133 MB / 1.172 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002152/1.09, allocations: 1.242 MB / 1.174 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002688/1.093, allocations: 1.053 MB / 1.175 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/1.095, allocations: 1.03 MB / 1.176 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003397/1.095, allocations: 78.47 kB / 1.176 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003804/1.099, allocations: 1.601 MB / 1.177 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005609/1.1, allocations: 436.5 kB / 1.178 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/1.101, allocations: 0.7249 MB / 1.178 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002436/1.103, allocations: 2.011 MB / 1.18 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.103, allocations: 0 / 1.18 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.954e-06/1.103, allocations: 0 / 1.18 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.474e-05/1.103, allocations: 0 / 1.18 GB, free: 5.367 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.004914/1.108, allocations: 1.878 MB / 1.182 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/1.108, allocations: 11.06 kB / 1.182 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/1.109, allocations: 239.2 kB / 1.183 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/1.111, allocations: 1.328 MB / 1.184 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/1.112, allocations: 70.61 kB / 1.184 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/1.112, allocations: 85.14 kB / 1.184 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/1.114, allocations: 0.9299 MB / 1.185 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/1.114, allocations: 7 kB / 1.185 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.473e-05/1.114, allocations: 25.62 kB / 1.185 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/1.114, allocations: 14.19 kB / 1.185 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/1.116, allocations: 0.8513 MB / 1.186 GB, free: 1.844 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.006406/1.122, allocations: 3.507 MB / 1.189 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/1.123, allocations: 0.7682 MB / 1.19 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007496/1.124, allocations: 451.2 kB / 1.19 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004049/1.125, allocations: 302.5 kB / 1.191 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/1.125, allocations: 37.94 kB / 1.191 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001214/1.126, allocations: 241.3 kB / 1.191 GB, free: 14 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=52): time 4.098e-06/1.126, allocations: 0 / 1.191 GB, free: 14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52): time 0.002778/1.129, allocations: 1.346 MB / 1.192 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/1.129, allocations: 215.8 kB / 1.192 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/1.131, allocations: 1.668 MB / 1.194 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.705e-05/1.132, allocations: 39.58 kB / 1.194 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005139/1.132, allocations: 0.5633 MB / 1.195 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/1.132, allocations: 183.1 kB / 1.195 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/1.132, allocations: 10.91 kB / 1.195 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.132, allocations: 331.6 kB / 1.195 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007488/1.133, allocations: 386.3 kB / 1.196 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/1.134, allocations: 0.6947 MB / 1.196 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/1.136, allocations: 0.8315 MB / 1.197 GB, free: 10 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/1.136, allocations: 0 / 1.197 GB, free: 10 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002046/1.138, allocations: 1.06 MB / 1.198 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.927e-05/1.138, allocations: 100.6 kB / 1.198 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/1.138, allocations: 0 / 1.198 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/1.138, allocations: 2.562 kB / 1.198 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000831/1.139, allocations: 163.6 kB / 1.198 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/1.139, allocations: 6.938 kB / 1.198 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/1.141, allocations: 157.8 kB / 1.198 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.859e-05/1.141, allocations: 35.45 kB / 1.198 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/1.141, allocations: 9.062 kB / 1.199 GB, free: 9.223 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001674/1.142, allocations: 0.8901 MB / 1.199 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.142, allocations: 2.594 kB / 1.199 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/1.142, allocations: 2.594 kB / 1.199 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007858/1.143, allocations: 163.3 kB / 1.2 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/1.143, allocations: 2.594 kB / 1.2 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/1.145, allocations: 173.8 kB / 1.2 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/1.145, allocations: 28.62 kB / 1.2 GB, free: 8.652 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.0006413/1.146, allocations: 383.1 kB / 1.2 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/1.146, allocations: 140.1 kB / 1.2 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/1.148, allocations: 1.058 MB / 1.201 GB, free: 7.602 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/1.148, allocations: 7.984 kB / 1.201 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/1.148, allocations: 0 / 1.201 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/1.148, allocations: 0 / 1.201 GB, free: 7.594 MB / 0.7292 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.0039/1.152, allocations: 2.491 MB / 1.204 GB, free: 5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/1.152, allocations: 0 / 1.204 GB, free: 5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007362/1.153, allocations: 140 kB / 1.204 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/1.153, allocations: 8 kB / 1.204 GB, free: 4.855 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/1.153, allocations: 23.98 kB / 1.204 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/1.153, allocations: 4 kB / 1.204 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.153, allocations: 0 / 1.204 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002617/1.156, allocations: 1.566 MB / 1.205 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006946/1.156, allocations: 355.1 kB / 1.206 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/1.156, allocations: 19.98 kB / 1.206 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/1.158, allocations: 99.8 kB / 1.206 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/1.158, allocations: 48.31 kB / 1.206 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/1.158, allocations: 23.98 kB / 1.206 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001864/1.16, allocations: 1.191 MB / 1.207 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.16, allocations: 4 kB / 1.207 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001627/1.161, allocations: 0.5499 MB / 1.208 GB, free: 0.9141 MB / 0.7292 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 (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.0006162/1.162, allocations: 266.5 kB / 1.208 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002727/1.165, allocations: 1.441 MB / 1.209 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.165, allocations: 0 / 1.209 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007739/1.166, allocations: 438.1 kB / 1.21 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003505/1.169, allocations: 0.5958 MB / 1.21 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/1.173, allocations: 2.529 MB / 1.213 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007298/1.174, allocations: 1.173 MB / 1.214 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001762/1.175, allocations: 381.6 kB / 1.214 GB, free: 10 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/1.176, allocations: 123.4 kB / 1.214 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of SimCode: time 8.02e-07/1.176, allocations: 0 / 1.214 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of Templates: time 0.04598/1.222, allocations: 27.45 MB / 1.241 GB, free: 14.71 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)