Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.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_3.0.0_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.001168/0.001168, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 192.2 kB / 16.53 MB, free: 6.391 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.86/2.86, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.88 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3783, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.9714/1.35, allocations: 189.7 MB / 1.253 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008546/1.358, allocations: 4.283 MB / 1.258 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/1.36, allocations: 27.06 kB / 1.258 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/1.362, allocations: 0.4964 MB / 1.258 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004782/1.367, allocations: 1.563 MB / 1.26 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003964/1.371, allocations: 1.332 MB / 1.261 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003595/1.374, allocations: 2.249 MB / 1.263 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/1.376, allocations: 1.083 MB / 1.264 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002165/1.378, allocations: 0.9465 MB / 1.265 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/1.38, allocations: 0.8702 MB / 1.266 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002947/1.38, allocations: 138.8 kB / 1.266 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002563/1.383, allocations: 1.241 MB / 1.267 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005157/1.383, allocations: 424.8 kB / 1.268 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008311/1.384, allocations: 0.6445 MB / 1.268 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003006/1.387, allocations: 1.953 MB / 1.27 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.387, allocations: 4.812 kB / 1.27 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.385e-06/1.387, allocations: 0.5156 kB / 1.27 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.986e-05/1.387, allocations: 0 / 1.27 GB, free: 5.887 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.004612/1.392, allocations: 1.725 MB / 1.272 GB, free: 21.06 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.392, allocations: 8.031 kB / 1.272 GB, free: 21.06 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009176/1.393, allocations: 192.3 kB / 1.272 GB, free: 21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/1.395, allocations: 1.031 MB / 1.273 GB, free: 20.64 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/1.395, allocations: 56 kB / 1.273 GB, free: 20.64 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/1.395, allocations: 59 kB / 1.273 GB, free: 20.64 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/1.396, allocations: 0.6113 MB / 1.274 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/1.396, allocations: 0 / 1.274 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.439e-05/1.396, allocations: 26.58 kB / 1.274 GB, free: 20.6 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.491e-05/1.397, allocations: 20 kB / 1.274 GB, free: 20.6 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/1.398, allocations: 0.622 MB / 1.274 GB, free: 20.6 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.004874/1.403, allocations: 2.674 MB / 1.277 GB, free: 19.79 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/1.404, allocations: 0.5347 MB / 1.278 GB, free: 19.76 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007379/1.405, allocations: 358.4 kB / 1.278 GB, free: 19.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004847/1.405, allocations: 290.9 kB / 1.278 GB, free: 19.47 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/1.405, allocations: 38.27 kB / 1.278 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000925/1.406, allocations: 142.1 kB / 1.278 GB, free: 19.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 3.256e-06/1.406, allocations: 0.7812 kB / 1.278 GB, free: 19.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.003197/1.41, allocations: 1.017 MB / 1.279 GB, free: 19.31 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/1.41, allocations: 61.45 kB / 1.279 GB, free: 19.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002903/1.413, allocations: 1.271 MB / 1.281 GB, free: 19.11 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/1.413, allocations: 39.2 kB / 1.281 GB, free: 19.07 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/1.413, allocations: 433.6 kB / 1.281 GB, free: 18.95 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/1.413, allocations: 148.1 kB / 1.281 GB, free: 18.86 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/1.414, allocations: 118.3 kB / 1.281 GB, free: 18.84 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.414, allocations: 323.8 kB / 1.282 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005866/1.414, allocations: 275.3 kB / 1.282 GB, free: 18.53 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007971/1.415, allocations: 490.9 kB / 1.282 GB, free: 18.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/1.416, allocations: 0.5785 MB / 1.283 GB, free: 18.31 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.416, allocations: 2.109 kB / 1.283 GB, free: 18.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001664/1.418, allocations: 0.7491 MB / 1.284 GB, free: 18.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/1.418, allocations: 4.562 kB / 1.284 GB, free: 18.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/1.418, allocations: 0 / 1.284 GB, free: 18.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/1.418, allocations: 3.188 kB / 1.284 GB, free: 18.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006959/1.419, allocations: 121.5 kB / 1.284 GB, free: 18.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.419, allocations: 2.219 kB / 1.284 GB, free: 18.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/1.42, allocations: 96.67 kB / 1.284 GB, free: 18.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/1.42, allocations: 29.2 kB / 1.284 GB, free: 18.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00088/1.421, allocations: 467.7 kB / 1.284 GB, free: 18.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006791/1.422, allocations: 483.2 kB / 1.285 GB, free: 17.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001186/1.423, allocations: 0.5802 MB / 1.285 GB, free: 17.89 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/1.423, allocations: 0 / 1.285 GB, free: 17.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.00176/1.425, allocations: 0.7354 MB / 1.286 GB, free: 17.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.425, allocations: 7.469 kB / 1.286 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/1.425, allocations: 1.062 kB / 1.286 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.284e-06/1.425, allocations: 2.938 kB / 1.286 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006283/1.425, allocations: 122.3 kB / 1.286 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/1.425, allocations: 3.188 kB / 1.286 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/1.427, allocations: 121.9 kB / 1.286 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-05/1.427, allocations: 25.39 kB / 1.286 GB, free: 17.8 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.0003055/1.427, allocations: 210.3 kB / 1.287 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/1.428, allocations: 103.5 kB / 1.287 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/1.429, allocations: 0.8075 MB / 1.288 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/1.429, allocations: 5.406 kB / 1.288 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/1.429, allocations: 1.781 kB / 1.288 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/1.429, allocations: 3.141 kB / 1.288 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003404/1.433, allocations: 1.956 MB / 1.289 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.433, allocations: 3.312 kB / 1.289 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005965/1.433, allocations: 104.2 kB / 1.29 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/1.433, allocations: 3.875 kB / 1.29 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/1.434, allocations: 21.41 kB / 1.29 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/1.434, allocations: 3.469 kB / 1.29 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.434, allocations: 3.844 kB / 1.29 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/1.436, allocations: 1.236 MB / 1.291 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000521/1.436, allocations: 286.9 kB / 1.291 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/1.437, allocations: 17.58 kB / 1.291 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009851/1.438, allocations: 60.92 kB / 1.291 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/1.438, allocations: 47.75 kB / 1.291 GB, free: 16.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.55e-05/1.438, allocations: 24.72 kB / 1.291 GB, free: 16.68 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001534/1.439, allocations: 0.9237 MB / 1.292 GB, free: 16.57 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.439, allocations: 0 / 1.292 GB, free: 16.57 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001422/1.441, allocations: 406.2 kB / 1.293 GB, free: 16.53 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.0005347/1.441, allocations: 219.4 kB / 1.293 GB, free: 16.43 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002237/1.443, allocations: 0.9948 MB / 1.294 GB, free: 16.42 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/1.443, allocations: 5.625 kB / 1.294 GB, free: 16.42 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000614/1.444, allocations: 330.6 kB / 1.294 GB, free: 16.42 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/1.446, allocations: 434.1 kB / 1.294 GB, free: 16.36 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/1.449, allocations: 1.702 MB / 1.296 GB, free: 15.65 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/1.45, allocations: 1.044 MB / 1.297 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001595/1.451, allocations: 297.8 kB / 1.297 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003748/1.452, allocations: 97.28 kB / 1.297 GB, free: 14.9 MB / 1.014 GB Notification: Performance of SimCode: time 8.92e-07/1.452, allocations: 0 / 1.297 GB, free: 14.9 MB / 1.014 GB Notification: Performance of Templates: time 0.03593/1.488, allocations: 21.29 MB / 1.318 GB, free: 11.57 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)