Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.821/1.821, allocations: 288.3 MB / 303.2 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.001103/0.001103, allocations: 186.4 kB / 371.8 MB, free: 10.28 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.634/1.634, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0008845/0.0008845, allocations: 94.8 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003839, allocations: 15.05 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2385, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.8153/1.054, allocations: 157.9 MB / 1.134 GB, free: 388 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01486/1.069, allocations: 7.207 MB / 1.141 GB, free: 15.85 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002247/1.071, allocations: 34.31 kB / 1.141 GB, free: 15.83 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002396/1.073, allocations: 0.6188 MB / 1.141 GB, free: 15.68 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006665/1.08, allocations: 1.446 MB / 1.143 GB, free: 15.08 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009411/1.09, allocations: 2.305 MB / 1.145 GB, free: 14.17 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004644/1.094, allocations: 1.319 MB / 1.146 GB, free: 13.29 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002372/1.097, allocations: 0.8679 MB / 1.147 GB, free: 12.73 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003035/1.1, allocations: 0.8547 MB / 1.148 GB, free: 12.21 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/1.102, allocations: 0.6376 MB / 1.149 GB, free: 11.81 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006145/1.102, allocations: 60.22 kB / 1.149 GB, free: 11.8 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003458/1.106, allocations: 0.7547 MB / 1.149 GB, free: 11.47 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009276/1.107, allocations: 321.4 kB / 1.15 GB, free: 11.25 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009783/1.108, allocations: 221.7 kB / 1.15 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003443/1.111, allocations: 1.508 MB / 1.151 GB, free: 10.06 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/1.111, allocations: 0 / 1.151 GB, free: 10.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.418e-06/1.111, allocations: 3.984 kB / 1.151 GB, free: 10.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.48e-05/1.111, allocations: 0 / 1.151 GB, free: 10.05 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.006306/1.118, allocations: 1.516 MB / 1.153 GB, free: 8.938 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/1.118, allocations: 13.28 kB / 1.153 GB, free: 8.934 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/1.119, allocations: 190.2 kB / 1.153 GB, free: 8.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003791/1.123, allocations: 1.013 MB / 1.154 GB, free: 8.078 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/1.123, allocations: 63.22 kB / 1.154 GB, free: 8.047 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003202/1.124, allocations: 62.5 kB / 1.154 GB, free: 8.027 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/1.126, allocations: 0.6948 MB / 1.155 GB, free: 7.602 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/1.126, allocations: 0 / 1.155 GB, free: 7.602 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.679e-05/1.126, allocations: 16.34 kB / 1.155 GB, free: 7.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/1.126, allocations: 11.38 kB / 1.155 GB, free: 7.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/1.128, allocations: 0.6414 MB / 1.155 GB, free: 7.289 MB / 0.698 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.008512/1.136, allocations: 2.684 MB / 1.158 GB, free: 5.184 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/1.138, allocations: 0.5801 MB / 1.159 GB, free: 4.891 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/1.138, allocations: 18.25 kB / 1.159 GB, free: 4.883 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.128e-05/1.138, allocations: 42.17 kB / 1.159 GB, free: 4.836 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001722/1.14, allocations: 167.8 kB / 1.159 GB, free: 4.754 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 1.388e-05/1.14, allocations: 0 / 1.159 GB, free: 4.754 MB / 0.698 GB Notification: Performance of matching and sorting (n=43): time 0.004345/1.144, allocations: 1.065 MB / 1.16 GB, free: 4.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/1.144, allocations: 137.3 kB / 1.16 GB, free: 4.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004422/1.149, allocations: 1.27 MB / 1.161 GB, free: 3.379 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002324/1.149, allocations: 40.58 kB / 1.161 GB, free: 3.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006918/1.15, allocations: 454.2 kB / 1.162 GB, free: 2.949 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/1.15, allocations: 147.6 kB / 1.162 GB, free: 2.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/1.15, allocations: 13.38 kB / 1.162 GB, free: 2.809 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002272/1.15, allocations: 327.4 kB / 1.162 GB, free: 2.488 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008291/1.151, allocations: 290.5 kB / 1.162 GB, free: 2.352 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/1.153, allocations: 0.5163 MB / 1.163 GB, free: 1.945 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009689/1.154, allocations: 348.8 kB / 1.163 GB, free: 1.773 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.154, allocations: 1.219 kB / 1.163 GB, free: 1.773 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002634/1.156, allocations: 0.7902 MB / 1.164 GB, free: 1.379 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/1.156, allocations: 99.8 kB / 1.164 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/1.156, allocations: 7.031 kB / 1.164 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/1.156, allocations: 0 / 1.164 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/1.157, allocations: 121.9 kB / 1.164 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/1.157, allocations: 6.328 kB / 1.164 GB, free: 1.238 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/1.159, allocations: 131.1 kB / 1.164 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/1.159, allocations: 23.12 kB / 1.164 GB, free: 1.172 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/1.159, allocations: 2.875 kB / 1.164 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001548/1.161, allocations: 0.6706 MB / 1.165 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/1.161, allocations: 0 / 1.165 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/1.161, allocations: 6.641 kB / 1.165 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/1.161, allocations: 118.7 kB / 1.165 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.162, allocations: 9.859 kB / 1.165 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/1.163, allocations: 121.2 kB / 1.165 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.894e-05/1.164, allocations: 27.5 kB / 1.165 GB, free: 0.7461 MB / 0.698 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.0008603/1.164, allocations: 327.4 kB / 1.166 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006566/1.165, allocations: 103.9 kB / 1.166 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/1.167, allocations: 0.8393 MB / 1.167 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/1.167, allocations: 9.406 kB / 1.167 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.167, allocations: 3.953 kB / 1.167 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/1.167, allocations: 3.984 kB / 1.167 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004873/1.172, allocations: 1.969 MB / 1.169 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/1.172, allocations: 0 / 1.169 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007084/1.173, allocations: 115.8 kB / 1.169 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.098e-05/1.173, allocations: 2.531 kB / 1.169 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/1.173, allocations: 23.58 kB / 1.169 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.886e-05/1.173, allocations: 13 kB / 1.169 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.173, allocations: 2.406 kB / 1.169 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/1.176, allocations: 1.386 MB / 1.17 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/1.177, allocations: 294.3 kB / 1.17 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004779/1.178, allocations: 17.38 kB / 1.17 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/1.179, allocations: 80.25 kB / 1.17 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/1.179, allocations: 45.23 kB / 1.17 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.625e-05/1.179, allocations: 17.12 kB / 1.17 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002159/1.182, allocations: 0.914 MB / 1.171 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/1.182, allocations: 3.938 kB / 1.171 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002417/1.184, allocations: 459.2 kB / 1.172 GB, free: 12.67 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.0009803/1.185, allocations: 244 kB / 1.172 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002583/1.188, allocations: 1.066 MB / 1.173 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.188, allocations: 2.594 kB / 1.173 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007523/1.188, allocations: 354.7 kB / 1.173 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/1.191, allocations: 479.3 kB / 1.174 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/1.195, allocations: 1.979 MB / 1.176 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009124/1.196, allocations: 1.072 MB / 1.177 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001714/1.198, allocations: 299.5 kB / 1.177 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004805/1.199, allocations: 95.19 kB / 1.177 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of SimCode: time 1.413e-06/1.199, allocations: 4 kB / 1.177 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of Templates: time 0.0434/1.242, allocations: 21.13 MB / 1.198 GB, free: 8.266 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)