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.001287/0.001287, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001245/0.001245, allocations: 189.6 kB / 16.25 MB, free: 6.625 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.367/1.367, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.823/2.823, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 61.56 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3283, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.9831/1.311, allocations: 187.2 MB / 1.251 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008781/1.32, allocations: 4.251 MB / 1.255 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/1.322, allocations: 27.73 kB / 1.255 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/1.323, allocations: 438.2 kB / 1.255 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004187/1.328, allocations: 1.465 MB / 1.257 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003849/1.331, allocations: 1.239 MB / 1.258 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003774/1.335, allocations: 2.263 MB / 1.26 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/1.337, allocations: 1.06 MB / 1.261 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/1.339, allocations: 0.9636 MB / 1.262 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/1.34, allocations: 0.8924 MB / 1.263 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002597/1.341, allocations: 139.9 kB / 1.263 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002865/1.343, allocations: 1.282 MB / 1.264 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005777/1.344, allocations: 423.4 kB / 1.265 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009543/1.345, allocations: 0.6433 MB / 1.265 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003594/1.349, allocations: 2.041 MB / 1.267 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/1.349, allocations: 2.016 kB / 1.267 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.414e-06/1.349, allocations: 0 / 1.267 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.407e-05/1.349, allocations: 2.531 kB / 1.267 GB, free: 5.363 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.004861/1.353, allocations: 1.719 MB / 1.269 GB, free: 20.54 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.354, allocations: 10.34 kB / 1.269 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009078/1.354, allocations: 188.6 kB / 1.269 GB, free: 20.48 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/1.356, allocations: 1.037 MB / 1.27 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/1.356, allocations: 53.8 kB / 1.27 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/1.357, allocations: 61.69 kB / 1.27 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/1.358, allocations: 0.6121 MB / 1.271 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/1.358, allocations: 0 / 1.271 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.137e-05/1.358, allocations: 21.86 kB / 1.271 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/1.358, allocations: 21.16 kB / 1.271 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/1.359, allocations: 0.6234 MB / 1.271 GB, free: 20.09 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.004661/1.364, allocations: 2.664 MB / 1.274 GB, free: 19.28 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/1.365, allocations: 0.5427 MB / 1.275 GB, free: 19.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006778/1.366, allocations: 353.8 kB / 1.275 GB, free: 19.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004564/1.366, allocations: 286.6 kB / 1.275 GB, free: 18.95 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/1.366, allocations: 37.02 kB / 1.275 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008684/1.367, allocations: 163.7 kB / 1.275 GB, free: 18.89 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 3.777e-06/1.367, allocations: 1 kB / 1.275 GB, free: 18.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.002726/1.37, allocations: 1.018 MB / 1.276 GB, free: 18.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/1.37, allocations: 56.75 kB / 1.276 GB, free: 18.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002695/1.373, allocations: 1.273 MB / 1.278 GB, free: 18.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/1.373, allocations: 37.67 kB / 1.278 GB, free: 18.56 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/1.373, allocations: 433 kB / 1.278 GB, free: 18.44 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/1.373, allocations: 152 kB / 1.278 GB, free: 18.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/1.374, allocations: 117.1 kB / 1.278 GB, free: 18.33 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.374, allocations: 328.2 kB / 1.279 GB, free: 18.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/1.374, allocations: 272.7 kB / 1.279 GB, free: 18.01 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007796/1.375, allocations: 488.3 kB / 1.279 GB, free: 17.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/1.376, allocations: 0.5878 MB / 1.28 GB, free: 17.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.377, allocations: 0.7188 kB / 1.28 GB, free: 17.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00169/1.378, allocations: 0.7413 MB / 1.281 GB, free: 17.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/1.378, allocations: 5.688 kB / 1.281 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.378, allocations: 1 kB / 1.281 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/1.378, allocations: 2.25 kB / 1.281 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006648/1.379, allocations: 127.3 kB / 1.281 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/1.379, allocations: 2.125 kB / 1.281 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/1.38, allocations: 113.8 kB / 1.281 GB, free: 17.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.3e-05/1.38, allocations: 23.3 kB / 1.281 GB, free: 17.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008246/1.381, allocations: 471.9 kB / 1.281 GB, free: 17.6 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006851/1.382, allocations: 483.3 kB / 1.282 GB, free: 17.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00114/1.383, allocations: 0.5827 MB / 1.282 GB, free: 17.37 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.934e-06/1.383, allocations: 0 / 1.282 GB, free: 17.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001737/1.385, allocations: 0.7259 MB / 1.283 GB, free: 17.28 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/1.385, allocations: 6.641 kB / 1.283 GB, free: 17.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.385, allocations: 3.875 kB / 1.283 GB, free: 17.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.672e-06/1.385, allocations: 2 kB / 1.283 GB, free: 17.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006659/1.386, allocations: 121.6 kB / 1.283 GB, free: 17.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/1.386, allocations: 2.594 kB / 1.283 GB, free: 17.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/1.387, allocations: 136 kB / 1.283 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-05/1.387, allocations: 25.52 kB / 1.283 GB, free: 17.27 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.0002811/1.388, allocations: 212.3 kB / 1.284 GB, free: 17.09 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/1.388, allocations: 99.25 kB / 1.284 GB, free: 17.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/1.39, allocations: 0.8074 MB / 1.285 GB, free: 16.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/1.39, allocations: 4.562 kB / 1.285 GB, free: 16.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.39, allocations: 4.625 kB / 1.285 GB, free: 16.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/1.39, allocations: 2.766 kB / 1.285 GB, free: 16.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/1.393, allocations: 1.949 MB / 1.286 GB, free: 16.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.393, allocations: 7.312 kB / 1.286 GB, free: 16.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006151/1.394, allocations: 108.1 kB / 1.287 GB, free: 16.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/1.394, allocations: 4.188 kB / 1.287 GB, free: 16.59 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.002e-05/1.394, allocations: 17.44 kB / 1.287 GB, free: 16.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.788e-06/1.394, allocations: 4.562 kB / 1.287 GB, free: 16.59 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.394, allocations: 6.125 kB / 1.287 GB, free: 16.59 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/1.396, allocations: 1.232 MB / 1.288 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004996/1.396, allocations: 294.7 kB / 1.288 GB, free: 16.16 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/1.397, allocations: 13.06 kB / 1.288 GB, free: 16.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.398, allocations: 77.38 kB / 1.288 GB, free: 16.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/1.398, allocations: 41.94 kB / 1.288 GB, free: 16.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/1.398, allocations: 20.83 kB / 1.288 GB, free: 16.16 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001799/1.4, allocations: 0.9221 MB / 1.289 GB, free: 16.05 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.4, allocations: 1.062 kB / 1.289 GB, free: 16.05 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001388/1.401, allocations: 408.2 kB / 1.29 GB, free: 16.01 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.0006598/1.402, allocations: 232.7 kB / 1.29 GB, free: 15.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002218/1.404, allocations: 0.9971 MB / 1.291 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.404, allocations: 2.219 kB / 1.291 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000662/1.405, allocations: 332.8 kB / 1.291 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/1.407, allocations: 423.2 kB / 1.291 GB, free: 15.83 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/1.41, allocations: 1.994 MB / 1.293 GB, free: 14.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006554/1.41, allocations: 1.05 MB / 1.294 GB, free: 14.11 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001314/1.412, allocations: 298.6 kB / 1.295 GB, free: 14.08 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/1.412, allocations: 99.48 kB / 1.295 GB, free: 14.07 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/1.412, allocations: 0 / 1.295 GB, free: 14.07 MB / 1.014 GB Notification: Performance of Templates: time 0.03642/1.449, allocations: 21.08 MB / 1.315 GB, free: 11.33 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)