Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 194.2 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.97/2.97, allocations: 472.6 MB / 0.7447 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.05 kB / 0.9114 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.389, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.9298/1.319, allocations: 187.5 MB / 1.251 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009188/1.328, allocations: 4.307 MB / 1.255 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/1.33, allocations: 25.88 kB / 1.255 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/1.332, allocations: 427.5 kB / 1.255 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005073/1.337, allocations: 1.463 MB / 1.257 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004492/1.341, allocations: 1.224 MB / 1.258 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00582/1.347, allocations: 2.777 MB / 1.261 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/1.35, allocations: 0.931 MB / 1.261 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003486/1.354, allocations: 0.8376 MB / 1.262 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002452/1.356, allocations: 0.8359 MB / 1.263 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002803/1.356, allocations: 67.12 kB / 1.263 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004358/1.361, allocations: 1.37 MB / 1.264 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007299/1.362, allocations: 359.7 kB / 1.265 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/1.363, allocations: 0.5719 MB / 1.265 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004387/1.367, allocations: 1.99 MB / 1.267 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.367, allocations: 0 / 1.267 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/1.367, allocations: 0 / 1.267 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.839e-05/1.367, allocations: 0.9688 kB / 1.267 GB, free: 5.262 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.006131/1.373, allocations: 1.725 MB / 1.269 GB, free: 20.42 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.188e-05/1.374, allocations: 12.72 kB / 1.269 GB, free: 20.42 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/1.375, allocations: 187.6 kB / 1.269 GB, free: 20.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/1.377, allocations: 1.037 MB / 1.27 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/1.377, allocations: 51 kB / 1.27 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/1.377, allocations: 60.38 kB / 1.27 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/1.379, allocations: 0.612 MB / 1.271 GB, free: 19.96 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/1.379, allocations: 0.5938 kB / 1.271 GB, free: 19.96 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-05/1.379, allocations: 20.2 kB / 1.271 GB, free: 19.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.359e-05/1.379, allocations: 20.91 kB / 1.271 GB, free: 19.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/1.381, allocations: 0.6263 MB / 1.272 GB, free: 19.96 MB / 1.014 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.005753/1.386, allocations: 2.659 MB / 1.274 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/1.388, allocations: 0.5419 MB / 1.275 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008101/1.389, allocations: 354.3 kB / 1.275 GB, free: 19.1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005038/1.389, allocations: 289.8 kB / 1.275 GB, free: 18.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/1.389, allocations: 40.81 kB / 1.275 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001129/1.39, allocations: 162.7 kB / 1.276 GB, free: 18.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 3.196e-06/1.39, allocations: 7.938 kB / 1.276 GB, free: 18.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.003256/1.394, allocations: 1.018 MB / 1.277 GB, free: 18.64 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/1.394, allocations: 56.53 kB / 1.277 GB, free: 18.58 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/1.396, allocations: 1.27 MB / 1.278 GB, free: 18.43 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/1.397, allocations: 38.23 kB / 1.278 GB, free: 18.4 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004544/1.397, allocations: 437.5 kB / 1.278 GB, free: 18.28 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/1.397, allocations: 143 kB / 1.278 GB, free: 18.19 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/1.398, allocations: 120 kB / 1.279 GB, free: 18.17 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.398, allocations: 327.5 kB / 1.279 GB, free: 17.86 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006535/1.398, allocations: 265.5 kB / 1.279 GB, free: 17.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008334/1.399, allocations: 492.8 kB / 1.28 GB, free: 17.64 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/1.4, allocations: 0.586 MB / 1.28 GB, free: 17.63 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.4, allocations: 1.531 kB / 1.28 GB, free: 17.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001788/1.402, allocations: 0.7399 MB / 1.281 GB, free: 17.53 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/1.402, allocations: 11.81 kB / 1.281 GB, free: 17.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.402, allocations: 0.6562 kB / 1.281 GB, free: 17.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/1.402, allocations: 1.375 kB / 1.281 GB, free: 17.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007112/1.403, allocations: 123.6 kB / 1.281 GB, free: 17.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/1.403, allocations: 1.188 kB / 1.281 GB, free: 17.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/1.405, allocations: 109.5 kB / 1.281 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.651e-05/1.405, allocations: 20.55 kB / 1.281 GB, free: 17.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001013/1.406, allocations: 479.5 kB / 1.282 GB, free: 17.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008265/1.407, allocations: 473.4 kB / 1.282 GB, free: 17.22 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001263/1.408, allocations: 0.585 MB / 1.283 GB, free: 17.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/1.408, allocations: 0 / 1.283 GB, free: 17.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.002088/1.41, allocations: 0.7262 MB / 1.283 GB, free: 17.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/1.41, allocations: 6.5 kB / 1.283 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.41, allocations: 0 / 1.283 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/1.41, allocations: 5.844 kB / 1.283 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00072/1.411, allocations: 120.4 kB / 1.283 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/1.411, allocations: 2.531 kB / 1.283 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/1.412, allocations: 146.3 kB / 1.284 GB, free: 17.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.499e-05/1.413, allocations: 26.61 kB / 1.284 GB, free: 17.09 MB / 1.014 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 (45): * Single equations (assignments): 45 * 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 prepare postOptimizeDAE: time 0.0003853/1.413, allocations: 210.1 kB / 1.284 GB, free: 16.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/1.413, allocations: 98.81 kB / 1.284 GB, free: 16.85 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00246/1.416, allocations: 0.8091 MB / 1.285 GB, free: 16.77 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/1.416, allocations: 7.031 kB / 1.285 GB, free: 16.77 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.416, allocations: 0 / 1.285 GB, free: 16.77 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/1.416, allocations: 2.906 kB / 1.285 GB, free: 16.77 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005045/1.421, allocations: 1.959 MB / 1.287 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/1.421, allocations: 7.516 kB / 1.287 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006675/1.422, allocations: 108.8 kB / 1.287 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/1.422, allocations: 4.312 kB / 1.287 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.121e-05/1.422, allocations: 14.38 kB / 1.287 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.255e-05/1.422, allocations: 7.984 kB / 1.287 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.422, allocations: 5.094 kB / 1.287 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/1.424, allocations: 1.226 MB / 1.288 GB, free: 16.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006712/1.425, allocations: 292.5 kB / 1.288 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002859/1.425, allocations: 16.69 kB / 1.288 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/1.426, allocations: 79.64 kB / 1.288 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/1.427, allocations: 40.08 kB / 1.288 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-05/1.427, allocations: 23.36 kB / 1.288 GB, free: 15.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002171/1.429, allocations: 0.9246 MB / 1.289 GB, free: 15.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.429, allocations: 4 kB / 1.289 GB, free: 15.81 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002226/1.431, allocations: 401.4 kB / 1.29 GB, free: 15.78 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[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.0007557/1.432, allocations: 218 kB / 1.29 GB, free: 15.67 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002701/1.435, allocations: 0.9407 MB / 1.291 GB, free: 15.65 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/1.435, allocations: 6.297 kB / 1.291 GB, free: 15.65 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007989/1.435, allocations: 331.3 kB / 1.291 GB, free: 15.65 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003265/1.439, allocations: 466 kB / 1.292 GB, free: 15.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004347/1.443, allocations: 1.989 MB / 1.293 GB, free: 14.58 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/1.444, allocations: 1.047 MB / 1.295 GB, free: 13.86 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002202/1.446, allocations: 295.1 kB / 1.295 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007694/1.447, allocations: 97.92 kB / 1.295 GB, free: 13.79 MB / 1.014 GB Notification: Performance of SimCode: time 1.733e-06/1.447, allocations: 1.094 kB / 1.295 GB, free: 13.79 MB / 1.014 GB Notification: Performance of Templates: time 0.04659/1.494, allocations: 20.59 MB / 1.315 GB, free: 10.31 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)