Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.62/2.62, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001649/0.001649, allocations: 177.3 kB / 370.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.4 MB / 0.6295 GB, free: 10.52 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.001145/0.001144, allocations: 102.4 kB / 0.7428 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006417/0.0006418, allocations: 12.39 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2179, allocations: 115.3 MB / 0.9782 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 1.063/1.281, allocations: 157.9 MB / 1.132 GB, free: 15.72 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01623/1.298, allocations: 7.196 MB / 1.139 GB, free: 15.18 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/1.299, allocations: 32.44 kB / 1.139 GB, free: 15.16 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002933/1.302, allocations: 0.6271 MB / 1.14 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006751/1.309, allocations: 1.438 MB / 1.141 GB, free: 14.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0109/1.32, allocations: 2.316 MB / 1.144 GB, free: 14.48 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004253/1.324, allocations: 1.314 MB / 1.145 GB, free: 13.98 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/1.327, allocations: 0.8788 MB / 1.146 GB, free: 13.51 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/1.33, allocations: 0.8559 MB / 1.147 GB, free: 12.99 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/1.332, allocations: 0.6382 MB / 1.147 GB, free: 12.59 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004737/1.333, allocations: 57.22 kB / 1.147 GB, free: 12.59 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003528/1.336, allocations: 0.7613 MB / 1.148 GB, free: 12.25 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008501/1.337, allocations: 322.3 kB / 1.148 GB, free: 12.03 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006179/1.338, allocations: 222 kB / 1.149 GB, free: 11.89 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003595/1.341, allocations: 1.509 MB / 1.15 GB, free: 10.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/1.341, allocations: 0 / 1.15 GB, free: 10.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.565e-06/1.341, allocations: 0 / 1.15 GB, free: 10.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.806e-05/1.341, allocations: 0 / 1.15 GB, free: 10.84 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.00707/1.349, allocations: 1.516 MB / 1.152 GB, free: 9.734 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/1.349, allocations: 17.14 kB / 1.152 GB, free: 9.727 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/1.35, allocations: 189.5 kB / 1.152 GB, free: 9.633 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003593/1.354, allocations: 1.007 MB / 1.153 GB, free: 8.879 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000275/1.354, allocations: 55.23 kB / 1.153 GB, free: 8.855 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/1.354, allocations: 62.38 kB / 1.153 GB, free: 8.836 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/1.357, allocations: 0.6912 MB / 1.154 GB, free: 8.414 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/1.357, allocations: 4 kB / 1.154 GB, free: 8.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/1.357, allocations: 20.31 kB / 1.154 GB, free: 8.395 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/1.357, allocations: 11.59 kB / 1.154 GB, free: 8.395 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/1.36, allocations: 0.6367 MB / 1.154 GB, free: 8.098 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.009208/1.369, allocations: 2.687 MB / 1.157 GB, free: 5.992 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/1.371, allocations: 0.5807 MB / 1.157 GB, free: 5.703 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/1.372, allocations: 21.23 kB / 1.157 GB, free: 5.691 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.538e-05/1.372, allocations: 46.27 kB / 1.157 GB, free: 5.641 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001744/1.373, allocations: 163.2 kB / 1.158 GB, free: 5.562 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 5.36e-06/1.373, allocations: 0 / 1.158 GB, free: 5.562 MB / 0.698 GB Notification: Performance of matching and sorting (n=43): time 0.004669/1.378, allocations: 1.058 MB / 1.159 GB, free: 5.047 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.622e-05/1.378, allocations: 137.5 kB / 1.159 GB, free: 4.887 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003772/1.382, allocations: 1.273 MB / 1.16 GB, free: 4.191 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002616/1.382, allocations: 44.31 kB / 1.16 GB, free: 4.148 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005995/1.383, allocations: 449.2 kB / 1.16 GB, free: 3.766 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/1.383, allocations: 151.2 kB / 1.161 GB, free: 3.633 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/1.383, allocations: 13.09 kB / 1.161 GB, free: 3.621 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001811/1.384, allocations: 323.3 kB / 1.161 GB, free: 3.305 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/1.385, allocations: 287.2 kB / 1.161 GB, free: 3.172 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/1.386, allocations: 0.5173 MB / 1.162 GB, free: 2.762 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/1.388, allocations: 353.2 kB / 1.162 GB, free: 2.586 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/1.388, allocations: 1.344 kB / 1.162 GB, free: 2.586 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003197/1.391, allocations: 0.7924 MB / 1.163 GB, free: 2.188 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.973e-05/1.391, allocations: 96.89 kB / 1.163 GB, free: 2.094 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/1.391, allocations: 1.375 kB / 1.163 GB, free: 2.094 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/1.391, allocations: 2.75 kB / 1.163 GB, free: 2.094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/1.392, allocations: 120.4 kB / 1.163 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/1.392, allocations: 5.609 kB / 1.163 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/1.395, allocations: 129.2 kB / 1.163 GB, free: 2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002359/1.395, allocations: 25 kB / 1.163 GB, free: 1.988 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.395, allocations: 7.219 kB / 1.163 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002457/1.398, allocations: 0.6642 MB / 1.164 GB, free: 1.672 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/1.398, allocations: 7.984 kB / 1.164 GB, free: 1.664 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-06/1.398, allocations: 2.562 kB / 1.164 GB, free: 1.664 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/1.399, allocations: 128.8 kB / 1.164 GB, free: 1.621 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/1.399, allocations: 2.812 kB / 1.164 GB, free: 1.621 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/1.402, allocations: 117.6 kB / 1.164 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/1.402, allocations: 25.06 kB / 1.164 GB, free: 1.562 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.0008378/1.403, allocations: 329.3 kB / 1.164 GB, free: 1.293 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005365/1.404, allocations: 104.4 kB / 1.165 GB, free: 1.238 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/1.407, allocations: 0.8407 MB / 1.165 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/1.407, allocations: 11.48 kB / 1.165 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/1.407, allocations: 0 / 1.165 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/1.407, allocations: 7.984 kB / 1.165 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006219/1.413, allocations: 1.972 MB / 1.167 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/1.413, allocations: 6.812 kB / 1.167 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/1.414, allocations: 114 kB / 1.167 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/1.414, allocations: 4.656 kB / 1.167 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.172e-05/1.414, allocations: 17.33 kB / 1.167 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-05/1.414, allocations: 8.844 kB / 1.167 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.414, allocations: 4.812 kB / 1.167 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004168/1.419, allocations: 1.385 MB / 1.169 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.42, allocations: 298.2 kB / 1.169 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003568/1.42, allocations: 11.44 kB / 1.169 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/1.422, allocations: 82.14 kB / 1.169 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/1.423, allocations: 45.47 kB / 1.169 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-05/1.423, allocations: 13.12 kB / 1.169 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002575/1.425, allocations: 0.9198 MB / 1.17 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.425, allocations: 0 / 1.17 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002724/1.428, allocations: 450.5 kB / 1.171 GB, free: 13.49 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.0009307/1.429, allocations: 254.7 kB / 1.171 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00394/1.433, allocations: 1.064 MB / 1.172 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/1.433, allocations: 2.812 kB / 1.172 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/1.434, allocations: 351.2 kB / 1.172 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004678/1.439, allocations: 476.3 kB / 1.173 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004905/1.444, allocations: 1.974 MB / 1.175 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008995/1.445, allocations: 1.074 MB / 1.176 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002352/1.447, allocations: 301.8 kB / 1.176 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008333/1.448, allocations: 97.31 kB / 1.176 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of SimCode: time 1.583e-06/1.448, allocations: 0 / 1.176 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of Templates: time 0.0614/1.51, allocations: 21.13 MB / 1.197 GB, free: 9.297 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)