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.001532/0.001533, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001853/0.001853, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.451/1.451, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.744/2.744, allocations: 472.6 MB / 0.7447 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 64.34 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3586, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.8622/1.221, allocations: 187.4 MB / 1.251 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008756/1.23, allocations: 4.311 MB / 1.255 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/1.232, allocations: 25.72 kB / 1.255 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/1.233, allocations: 423.1 kB / 1.255 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004934/1.238, allocations: 1.461 MB / 1.257 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004282/1.243, allocations: 1.22 MB / 1.258 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005078/1.248, allocations: 2.79 MB / 1.261 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/1.25, allocations: 0.9189 MB / 1.261 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/1.252, allocations: 0.8418 MB / 1.262 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/1.254, allocations: 0.8427 MB / 1.263 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000318/1.254, allocations: 63.56 kB / 1.263 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004068/1.258, allocations: 1.373 MB / 1.264 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007233/1.259, allocations: 356.1 kB / 1.265 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001193/1.26, allocations: 0.5702 MB / 1.265 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003954/1.264, allocations: 1.993 MB / 1.267 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.264, allocations: 0 / 1.267 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.032e-06/1.264, allocations: 0 / 1.267 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.297e-05/1.264, allocations: 0 / 1.267 GB, free: 5.207 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.005359/1.27, allocations: 1.726 MB / 1.269 GB, free: 20.37 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/1.27, allocations: 14.83 kB / 1.269 GB, free: 20.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009958/1.271, allocations: 185.2 kB / 1.269 GB, free: 20.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/1.273, allocations: 1.033 MB / 1.27 GB, free: 19.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/1.273, allocations: 57.88 kB / 1.27 GB, free: 19.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/1.273, allocations: 54.09 kB / 1.27 GB, free: 19.95 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/1.274, allocations: 0.6154 MB / 1.271 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/1.274, allocations: 0 / 1.271 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.884e-05/1.274, allocations: 22.58 kB / 1.271 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.895e-05/1.274, allocations: 19.81 kB / 1.271 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/1.276, allocations: 0.6225 MB / 1.272 GB, free: 19.9 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.005551/1.282, allocations: 2.659 MB / 1.274 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/1.283, allocations: 0.5429 MB / 1.275 GB, free: 19.06 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00072/1.284, allocations: 357.6 kB / 1.275 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000458/1.284, allocations: 284.7 kB / 1.275 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/1.284, allocations: 43.25 kB / 1.275 GB, free: 18.72 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001153/1.285, allocations: 164 kB / 1.276 GB, free: 18.69 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 5.991e-06/1.285, allocations: 0 / 1.276 GB, free: 18.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.003363/1.289, allocations: 1.018 MB / 1.277 GB, free: 18.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/1.289, allocations: 55.25 kB / 1.277 GB, free: 18.53 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/1.292, allocations: 1.27 MB / 1.278 GB, free: 18.39 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/1.292, allocations: 37.92 kB / 1.278 GB, free: 18.36 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/1.292, allocations: 444.1 kB / 1.278 GB, free: 18.23 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/1.292, allocations: 150 kB / 1.278 GB, free: 18.14 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/1.292, allocations: 113.4 kB / 1.279 GB, free: 18.12 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.293, allocations: 326.8 kB / 1.279 GB, free: 17.81 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006155/1.293, allocations: 272.9 kB / 1.279 GB, free: 17.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009136/1.294, allocations: 494.5 kB / 1.28 GB, free: 17.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/1.296, allocations: 0.5819 MB / 1.28 GB, free: 17.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/1.296, allocations: 0 / 1.28 GB, free: 17.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002128/1.298, allocations: 0.7415 MB / 1.281 GB, free: 17.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/1.298, allocations: 9.188 kB / 1.281 GB, free: 17.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.298, allocations: 0 / 1.281 GB, free: 17.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/1.298, allocations: 7.141 kB / 1.281 GB, free: 17.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007856/1.299, allocations: 121.5 kB / 1.281 GB, free: 17.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/1.299, allocations: 2.688 kB / 1.281 GB, free: 17.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/1.3, allocations: 108.9 kB / 1.281 GB, free: 17.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.389e-05/1.301, allocations: 21.22 kB / 1.281 GB, free: 17.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001122/1.302, allocations: 473.1 kB / 1.282 GB, free: 17.37 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008526/1.303, allocations: 480.2 kB / 1.282 GB, free: 17.16 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001337/1.304, allocations: 0.5856 MB / 1.283 GB, free: 17.14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/1.304, allocations: 0 / 1.283 GB, free: 17.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001869/1.306, allocations: 0.7267 MB / 1.283 GB, free: 17.05 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/1.306, allocations: 4.312 kB / 1.283 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/1.306, allocations: 1.125 kB / 1.283 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.001e-06/1.306, allocations: 1.969 kB / 1.283 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006789/1.306, allocations: 122.7 kB / 1.283 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/1.307, allocations: 6.562 kB / 1.283 GB, free: 17.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/1.308, allocations: 139.9 kB / 1.284 GB, free: 17.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.198e-05/1.308, allocations: 27.81 kB / 1.284 GB, free: 17.03 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.0002894/1.309, allocations: 209.9 kB / 1.284 GB, free: 16.85 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/1.309, allocations: 99.28 kB / 1.284 GB, free: 16.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/1.311, allocations: 0.8141 MB / 1.285 GB, free: 16.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/1.311, allocations: 5.344 kB / 1.285 GB, free: 16.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.311, allocations: 0 / 1.285 GB, free: 16.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/1.311, allocations: 2.906 kB / 1.285 GB, free: 16.71 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00445/1.316, allocations: 1.952 MB / 1.287 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/1.316, allocations: 6.344 kB / 1.287 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000621/1.316, allocations: 107.5 kB / 1.287 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.537e-05/1.316, allocations: 8.094 kB / 1.287 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/1.316, allocations: 14.91 kB / 1.287 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/1.316, allocations: 6.344 kB / 1.287 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/1.316, allocations: 3.438 kB / 1.287 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/1.319, allocations: 1.234 MB / 1.288 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006431/1.319, allocations: 292.8 kB / 1.288 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/1.32, allocations: 21.97 kB / 1.288 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/1.321, allocations: 73.66 kB / 1.288 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/1.321, allocations: 39.91 kB / 1.288 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/1.321, allocations: 24.84 kB / 1.288 GB, free: 15.87 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001589/1.322, allocations: 0.9249 MB / 1.289 GB, free: 15.75 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.323, allocations: 1.094 kB / 1.289 GB, free: 15.75 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001536/1.324, allocations: 404.5 kB / 1.29 GB, free: 15.71 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.0005806/1.325, allocations: 217.6 kB / 1.29 GB, free: 15.61 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002168/1.327, allocations: 0.9452 MB / 1.291 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.327, allocations: 0 / 1.291 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006641/1.328, allocations: 332.1 kB / 1.291 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/1.33, allocations: 464.3 kB / 1.292 GB, free: 15.55 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/1.333, allocations: 1.984 MB / 1.293 GB, free: 14.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007389/1.334, allocations: 1.048 MB / 1.295 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001718/1.336, allocations: 292.8 kB / 1.295 GB, free: 13.74 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/1.336, allocations: 97.27 kB / 1.295 GB, free: 13.73 MB / 1.014 GB Notification: Performance of SimCode: time 2.275e-06/1.336, allocations: 0 / 1.295 GB, free: 13.73 MB / 1.014 GB Notification: Performance of Templates: time 0.03649/1.372, allocations: 20.6 MB / 1.315 GB, free: 10.24 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)