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.732/1.732, allocations: 288.4 MB / 303.7 MB, free: 8.102 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.001062/0.001062, allocations: 190.9 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.601/1.601, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0009028/0.0009028, allocations: 90.86 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004542/0.0004542, allocations: 12.75 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2248, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7456/0.9705, allocations: 172.8 MB / 1.149 GB, free: 11.3 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.985, allocations: 7.156 MB / 1.156 GB, free: 7.094 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002217/0.9873, allocations: 37.81 kB / 1.156 GB, free: 7.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.9893, allocations: 404.8 kB / 1.156 GB, free: 6.75 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005326/0.9947, allocations: 1.321 MB / 1.158 GB, free: 5.734 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009644/1.004, allocations: 2.125 MB / 1.16 GB, free: 4.371 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005233/1.01, allocations: 2.439 MB / 1.162 GB, free: 2.902 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/1.012, allocations: 0.9156 MB / 1.163 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002273/1.014, allocations: 0.8152 MB / 1.164 GB, free: 1.883 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/1.016, allocations: 0.7807 MB / 1.164 GB, free: 1.406 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001773/1.016, allocations: 56.56 kB / 1.165 GB, free: 1.406 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003619/1.019, allocations: 1.464 MB / 1.166 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005117/1.02, allocations: 336 kB / 1.166 GB, free: 368 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000948/1.021, allocations: 0.5599 MB / 1.167 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002292/1.023, allocations: 1.578 MB / 1.168 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.023, allocations: 0 / 1.168 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.693e-06/1.023, allocations: 5.656 kB / 1.168 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.735e-05/1.023, allocations: 0 / 1.168 GB, free: 14.87 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.00423/1.027, allocations: 1.53 MB / 1.17 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/1.027, allocations: 9.625 kB / 1.17 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008922/1.028, allocations: 185.3 kB / 1.17 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/1.03, allocations: 1.061 MB / 1.171 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/1.031, allocations: 59.33 kB / 1.171 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/1.031, allocations: 57.94 kB / 1.171 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/1.032, allocations: 0.6948 MB / 1.172 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/1.032, allocations: 0 / 1.172 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.134e-05/1.032, allocations: 20.81 kB / 1.172 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/1.032, allocations: 11.03 kB / 1.172 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/1.034, allocations: 0.6448 MB / 1.173 GB, free: 12.05 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.005377/1.039, allocations: 2.683 MB / 1.175 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/1.04, allocations: 0.5617 MB / 1.176 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007096/1.041, allocations: 367.7 kB / 1.176 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004912/1.042, allocations: 290.6 kB / 1.176 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/1.042, allocations: 41.41 kB / 1.176 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008886/1.043, allocations: 168.1 kB / 1.177 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 3.567e-06/1.043, allocations: 0 / 1.177 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.002475/1.045, allocations: 1.061 MB / 1.178 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.617e-05/1.045, allocations: 137.1 kB / 1.178 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/1.047, allocations: 1.28 MB / 1.179 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.127e-05/1.047, allocations: 39.64 kB / 1.179 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/1.048, allocations: 443.1 kB / 1.179 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/1.048, allocations: 154.4 kB / 1.18 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/1.048, allocations: 14.88 kB / 1.18 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.048, allocations: 323.1 kB / 1.18 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006179/1.049, allocations: 285.2 kB / 1.18 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008247/1.05, allocations: 0.5122 MB / 1.181 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/1.051, allocations: 0.6404 MB / 1.181 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.051, allocations: 0 / 1.181 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001659/1.053, allocations: 0.7918 MB / 1.182 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.256e-05/1.053, allocations: 94.23 kB / 1.182 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.053, allocations: 2.906 kB / 1.182 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.053, allocations: 0 / 1.182 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006602/1.053, allocations: 127.5 kB / 1.182 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/1.053, allocations: 0 / 1.182 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/1.055, allocations: 126.1 kB / 1.182 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.617e-05/1.055, allocations: 25.66 kB / 1.182 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/1.055, allocations: 6.484 kB / 1.182 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001317/1.056, allocations: 0.6705 MB / 1.183 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.056, allocations: 2 kB / 1.183 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-06/1.056, allocations: 3 kB / 1.183 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/1.057, allocations: 128.6 kB / 1.183 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/1.057, allocations: 0 / 1.183 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/1.058, allocations: 128 kB / 1.183 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/1.058, allocations: 25.97 kB / 1.183 GB, free: 4.91 MB / 0.7136 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.0005555/1.059, allocations: 331.6 kB / 1.184 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/1.059, allocations: 104.2 kB / 1.184 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/1.061, allocations: 0.84 MB / 1.185 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.061, allocations: 5.031 kB / 1.185 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/1.061, allocations: 0 / 1.185 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/1.061, allocations: 3.984 kB / 1.185 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003281/1.064, allocations: 1.97 MB / 1.187 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.064, allocations: 0 / 1.187 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006037/1.065, allocations: 113.1 kB / 1.187 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/1.065, allocations: 4.562 kB / 1.187 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/1.065, allocations: 24.92 kB / 1.187 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/1.065, allocations: 10.12 kB / 1.187 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/1.065, allocations: 2.938 kB / 1.187 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/1.067, allocations: 1.276 MB / 1.188 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005925/1.068, allocations: 286 kB / 1.188 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/1.068, allocations: 24.2 kB / 1.188 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/1.069, allocations: 76.89 kB / 1.188 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/1.069, allocations: 47.38 kB / 1.188 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/1.069, allocations: 21.55 kB / 1.188 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001455/1.071, allocations: 0.9169 MB / 1.189 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.071, allocations: 0 / 1.189 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001355/1.072, allocations: 454.2 kB / 1.19 GB, free: 0.9961 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.0006198/1.073, allocations: 253.1 kB / 1.19 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002078/1.075, allocations: 1.066 MB / 1.191 GB, free: 324 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.075, allocations: 0 / 1.191 GB, free: 324 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000625/1.075, allocations: 354.2 kB / 1.191 GB, free: 164 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002939/1.078, allocations: 480.5 kB / 1.192 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/1.082, allocations: 1.974 MB / 1.194 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/1.082, allocations: 1.054 MB / 1.195 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001424/1.084, allocations: 302.1 kB / 1.195 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/1.084, allocations: 92.45 kB / 1.195 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of SimCode: time 9.42e-07/1.084, allocations: 3.938 kB / 1.195 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of Templates: time 0.03885/1.123, allocations: 21.45 MB / 1.216 GB, free: 8.625 MB / 0.7448 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)