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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2352/0.2373, allocations: 80.84 MB / 0.5897 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7104/0.9477, allocations: 187.5 MB / 0.7728 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01381/0.9616, allocations: 7.548 MB / 0.7802 GB, free: 4.227 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002259/0.9639, allocations: 28.12 kB / 0.7802 GB, free: 4.211 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.9662, allocations: 0.5616 MB / 0.7808 GB, free: 3.762 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004788/0.9711, allocations: 1.186 MB / 0.7819 GB, free: 2.816 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008981/0.9801, allocations: 2.224 MB / 0.7841 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00554/0.9856, allocations: 3.303 MB / 0.7873 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.9875, allocations: 0.9394 MB / 0.7883 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003268/0.9908, allocations: 0.986 MB / 0.7892 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002045/0.9929, allocations: 0.9377 MB / 0.7901 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002516/0.9932, allocations: 70.38 kB / 0.7902 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/0.9959, allocations: 1.047 MB / 0.7912 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006392/0.9965, allocations: 424.6 kB / 0.7916 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.9978, allocations: 0.6388 MB / 0.7923 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003994/1.002, allocations: 2.147 MB / 0.7943 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/1.002, allocations: 0 / 0.7943 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.124e-06/1.002, allocations: 0 / 0.7943 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.646e-05/1.002, allocations: 0 / 0.7943 GB, free: 11.02 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.005296/1.007, allocations: 1.786 MB / 0.7961 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/1.007, allocations: 13.53 kB / 0.7961 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/1.008, allocations: 187.5 kB / 0.7963 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/1.01, allocations: 0.8899 MB / 0.7972 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/1.01, allocations: 66.7 kB / 0.7972 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/1.01, allocations: 67.84 kB / 0.7973 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003317/1.014, allocations: 1.141 MB / 0.7984 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/1.014, allocations: 0 / 0.7984 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/1.014, allocations: 27.81 kB / 0.7984 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/1.014, allocations: 15.19 kB / 0.7984 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003052/1.017, allocations: 1.018 MB / 0.7994 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006024/1.023, allocations: 3.189 MB / 0.8025 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002543/1.026, allocations: 0.8248 MB / 0.8033 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006776/1.026, allocations: 350.5 kB / 0.8037 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.313e-05/1.026, allocations: 12.42 kB / 0.8037 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/1.026, allocations: 50.94 kB / 0.8037 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001184/1.028, allocations: 179.2 kB / 0.8039 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 3.456e-06/1.028, allocations: 0 / 0.8039 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47): time 0.005027/1.033, allocations: 1.481 MB / 0.8054 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.53e-05/1.033, allocations: 133 kB / 0.8055 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/1.035, allocations: 1.188 MB / 0.8066 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/1.035, allocations: 37.7 kB / 0.8067 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000398/1.035, allocations: 493 kB / 0.8072 GB, free: 15 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/1.035, allocations: 165.6 kB / 0.8073 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/1.036, allocations: 142.1 kB / 0.8074 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.036, allocations: 330 kB / 0.8078 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/1.037, allocations: 430.8 kB / 0.8082 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/1.038, allocations: 0.5442 MB / 0.8087 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002105/1.04, allocations: 0.8861 MB / 0.8096 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/1.04, allocations: 3.938 kB / 0.8096 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002996/1.043, allocations: 1.099 MB / 0.8106 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/1.043, allocations: 10.03 kB / 0.8107 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/1.043, allocations: 3.984 kB / 0.8107 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/1.043, allocations: 4 kB / 0.8107 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/1.044, allocations: 195.7 kB / 0.8109 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/1.044, allocations: 7.984 kB / 0.8109 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/1.046, allocations: 103.8 kB / 0.811 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.44e-05/1.046, allocations: 35.95 kB / 0.811 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001089/1.047, allocations: 0.5439 MB / 0.8115 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008192/1.048, allocations: 471.1 kB / 0.812 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001378/1.049, allocations: 0.7287 MB / 0.8127 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.138e-06/1.049, allocations: 0 / 0.8127 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002416/1.052, allocations: 0.925 MB / 0.8136 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.052, allocations: 8 kB / 0.8136 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/1.052, allocations: 4 kB / 0.8136 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/1.052, allocations: 4 kB / 0.8136 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007698/1.053, allocations: 151.8 kB / 0.8137 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.053, allocations: 4.156 kB / 0.8138 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/1.054, allocations: 75.86 kB / 0.8138 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/1.054, allocations: 35.97 kB / 0.8139 GB, free: 7.973 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0003589/1.054, allocations: 216.6 kB / 0.8141 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/1.055, allocations: 118.6 kB / 0.8142 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002816/1.058, allocations: 1.029 MB / 0.8152 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.058, allocations: 8 kB / 0.8152 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.058, allocations: 0 / 0.8152 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/1.058, allocations: 7.984 kB / 0.8152 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004157/1.062, allocations: 2.147 MB / 0.8173 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/1.062, allocations: 4 kB / 0.8173 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008956/1.063, allocations: 160 kB / 0.8175 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/1.063, allocations: 7.984 kB / 0.8175 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/1.063, allocations: 19.98 kB / 0.8175 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/1.063, allocations: 4 kB / 0.8175 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.063, allocations: 3.938 kB / 0.8175 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003579/1.066, allocations: 1.595 MB / 0.819 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006218/1.067, allocations: 299.6 kB / 0.8193 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/1.067, allocations: 15.98 kB / 0.8193 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/1.068, allocations: 99.89 kB / 0.8194 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/1.069, allocations: 48.38 kB / 0.8195 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.036e-05/1.069, allocations: 35.91 kB / 0.8195 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001315/1.07, allocations: 0.8287 MB / 0.8203 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/1.07, allocations: 0 / 0.8203 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001738/1.072, allocations: 0.4993 MB / 0.8208 GB, free: 0.6797 MB / 0.5762 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 (56): * Single equations (assignments): 56 * 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.0007562/1.073, allocations: 233.4 kB / 0.821 GB, free: 456 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003408/1.076, allocations: 1.388 MB / 0.8224 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.076e-06/1.076, allocations: 3.938 kB / 0.8224 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001124/1.077, allocations: 455.2 kB / 0.8228 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003133/1.08, allocations: 0.5432 MB / 0.8234 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007794/1.088, allocations: 3.002 MB / 0.8263 GB, free: 11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000649/1.089, allocations: 1.082 MB / 0.8274 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001859/1.091, allocations: 312.1 kB / 0.8276 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004166/1.091, allocations: 103.4 kB / 0.8277 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of SimCode: time 1.714e-06/1.091, allocations: 0 / 0.8277 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of Templates: time 0.04199/1.133, allocations: 23.85 MB / 0.851 GB, free: 1.852 MB / 0.6075 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)