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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.8/1.8, allocations: 292.3 MB / 308.1 MB, free: 4.297 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.001454/0.001454, allocations: 193.4 kB / 376.9 MB, free: 1.824 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.686/1.686, allocations: 205.1 MB / 0.6354 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009962/0.000996, allocations: 102.9 kB / 0.748 GB, free: 60.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 51.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2963, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7455/1.042, allocations: 187.7 MB / 1.166 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01555/1.058, allocations: 7.895 MB / 1.173 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002174/1.06, allocations: 35.91 kB / 1.173 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002026/1.062, allocations: 462.7 kB / 1.174 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.005031/1.067, allocations: 1.449 MB / 1.175 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.007966/1.075, allocations: 2.277 MB / 1.177 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.004181/1.079, allocations: 2.818 MB / 1.18 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/1.081, allocations: 0.9299 MB / 1.181 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002143/1.083, allocations: 0.8503 MB / 1.182 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/1.085, allocations: 0.8429 MB / 1.183 GB, free: 4.453 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0005406/1.085, allocations: 64.97 kB / 1.183 GB, free: 4.453 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003669/1.089, allocations: 1.496 MB / 1.184 GB, free: 3.934 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0007697/1.09, allocations: 360.5 kB / 1.185 GB, free: 3.777 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001589/1.092, allocations: 0.5771 MB / 1.185 GB, free: 3.438 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.004463/1.096, allocations: 2.119 MB / 1.187 GB, free: 2.688 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/1.096, allocations: 0 / 1.187 GB, free: 2.688 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.565e-06/1.096, allocations: 4 kB / 1.187 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.86e-05/1.096, allocations: 0 / 1.187 GB, free: 2.684 MB / 0.7761 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.005873/1.102, allocations: 1.767 MB / 1.189 GB, free: 1.609 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/1.102, allocations: 9.531 kB / 1.189 GB, free: 1.609 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009611/1.103, allocations: 185.6 kB / 1.189 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/1.105, allocations: 1.055 MB / 1.19 GB, free: 0.8906 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/1.105, allocations: 55.83 kB / 1.19 GB, free: 0.8672 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/1.106, allocations: 61.09 kB / 1.19 GB, free: 0.8516 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/1.107, allocations: 0.6948 MB / 1.191 GB, free: 0.5742 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/1.107, allocations: 0 / 1.191 GB, free: 0.5742 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-05/1.107, allocations: 22.25 kB / 1.191 GB, free: 0.5586 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/1.107, allocations: 9.25 kB / 1.191 GB, free: 0.5586 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/1.108, allocations: 0.6189 MB / 1.192 GB, free: 368 kB / 0.7761 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.005076/1.113, allocations: 2.657 MB / 1.194 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/1.115, allocations: 0.5579 MB / 1.195 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007624/1.116, allocations: 356.2 kB / 1.195 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004669/1.116, allocations: 286.4 kB / 1.195 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/1.116, allocations: 40.03 kB / 1.195 GB, free: 14.18 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009489/1.117, allocations: 165.3 kB / 1.195 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=43): time 1.193e-05/1.117, allocations: 5.219 kB / 1.195 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of matching and sorting (n=43): time 0.002939/1.12, allocations: 1.03 MB / 1.196 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.567e-05/1.12, allocations: 137.3 kB / 1.197 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002845/1.123, allocations: 1.283 MB / 1.198 GB, free: 13.08 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/1.123, allocations: 39.17 kB / 1.198 GB, free: 13.04 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00049/1.124, allocations: 444.5 kB / 1.198 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/1.124, allocations: 160.5 kB / 1.198 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/1.124, allocations: 121.1 kB / 1.199 GB, free: 12.53 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.124, allocations: 326.6 kB / 1.199 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006812/1.125, allocations: 287.4 kB / 1.199 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009582/1.126, allocations: 0.5133 MB / 1.2 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/1.128, allocations: 0.6152 MB / 1.2 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/1.128, allocations: 0 / 1.2 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002095/1.13, allocations: 0.7794 MB / 1.201 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/1.13, allocations: 11.06 kB / 1.201 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/1.13, allocations: 1.125 kB / 1.201 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/1.13, allocations: 3.688 kB / 1.201 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/1.13, allocations: 121 kB / 1.201 GB, free: 11.24 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/1.13, allocations: 2.172 kB / 1.201 GB, free: 11.24 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/1.132, allocations: 101.9 kB / 1.201 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.895e-05/1.132, allocations: 24.7 kB / 1.201 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001117/1.133, allocations: 490.6 kB / 1.202 GB, free: 11 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009231/1.134, allocations: 0.507 MB / 1.202 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001337/1.136, allocations: 0.6141 MB / 1.203 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.471e-06/1.136, allocations: 3.938 kB / 1.203 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.002121/1.138, allocations: 0.7757 MB / 1.204 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/1.138, allocations: 12.66 kB / 1.204 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/1.138, allocations: 5.219 kB / 1.204 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/1.138, allocations: 2.281 kB / 1.204 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/1.138, allocations: 117.7 kB / 1.204 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/1.138, allocations: 3.703 kB / 1.204 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/1.14, allocations: 143.5 kB / 1.204 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.692e-05/1.14, allocations: 22.23 kB / 1.204 GB, free: 10.08 MB / 0.7917 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002922/1.141, allocations: 216 kB / 1.204 GB, free: 9.871 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004352/1.141, allocations: 104.1 kB / 1.204 GB, free: 9.816 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/1.143, allocations: 0.8136 MB / 1.205 GB, free: 9.508 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.143, allocations: 4.281 kB / 1.205 GB, free: 9.508 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.143, allocations: 1.25 kB / 1.205 GB, free: 9.508 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/1.143, allocations: 3.422 kB / 1.205 GB, free: 9.508 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004494/1.148, allocations: 1.949 MB / 1.207 GB, free: 8.559 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/1.148, allocations: 2.625 kB / 1.207 GB, free: 8.559 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000623/1.148, allocations: 104.3 kB / 1.207 GB, free: 8.551 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.662e-05/1.148, allocations: 11.7 kB / 1.207 GB, free: 8.547 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.899e-05/1.149, allocations: 14.69 kB / 1.207 GB, free: 8.539 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.465e-05/1.149, allocations: 8.531 kB / 1.207 GB, free: 8.535 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.149, allocations: 2.406 kB / 1.207 GB, free: 8.535 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008281/1.157, allocations: 3.658 MB / 1.211 GB, free: 6.352 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007079/1.158, allocations: 283.9 kB / 1.211 GB, free: 6.141 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/1.158, allocations: 15.47 kB / 1.211 GB, free: 6.133 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.159, allocations: 81.17 kB / 1.211 GB, free: 6.113 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/1.159, allocations: 44.05 kB / 1.211 GB, free: 6.102 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.551e-05/1.159, allocations: 23.89 kB / 1.211 GB, free: 6.094 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002105/1.162, allocations: 0.9309 MB / 1.212 GB, free: 5.703 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.41e-07/1.162, allocations: 0 / 1.212 GB, free: 5.703 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003149/1.165, allocations: 0.5935 MB / 1.213 GB, free: 5.629 MB / 0.7917 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 (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.0008795/1.166, allocations: 259.8 kB / 1.213 GB, free: 5.48 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002965/1.169, allocations: 1.037 MB / 1.214 GB, free: 5.125 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.169, allocations: 1.125 kB / 1.214 GB, free: 5.125 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0008383/1.169, allocations: 335.9 kB / 1.214 GB, free: 5.023 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/1.173, allocations: 481.5 kB / 1.215 GB, free: 4.902 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004479/1.177, allocations: 2.339 MB / 1.217 GB, free: 3.422 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/1.178, allocations: 1.071 MB / 1.218 GB, free: 2.68 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002156/1.181, allocations: 303.3 kB / 1.218 GB, free: 2.617 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005803/1.181, allocations: 99.58 kB / 1.218 GB, free: 2.602 MB / 0.7917 GB Notification: Performance of SimCode: time 9.12e-07/1.181, allocations: 5.219 kB / 1.218 GB, free: 2.598 MB / 0.7917 GB Notification: Performance of Templates: time 0.04914/1.23, allocations: 22.63 MB / 1.24 GB, free: 10.78 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (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)