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.1993/0.2001, allocations: 82.21 MB / 0.5941 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6629/0.8631, allocations: 185.1 MB / 0.7748 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01329/0.8764, allocations: 7.467 MB / 0.7821 GB, free: 8.559 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.8788, allocations: 26.59 kB / 0.7822 GB, free: 8.543 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002479/0.8813, allocations: 0.5692 MB / 0.7827 GB, free: 8.145 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004476/0.8858, allocations: 1.183 MB / 0.7839 GB, free: 7.387 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007436/0.8932, allocations: 2.223 MB / 0.786 GB, free: 6.098 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004759/0.898, allocations: 3.298 MB / 0.7893 GB, free: 4.375 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.8996, allocations: 0.924 MB / 0.7902 GB, free: 3.812 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002207/0.9018, allocations: 0.9688 MB / 0.7911 GB, free: 3.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.9033, allocations: 0.9106 MB / 0.792 GB, free: 2.859 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.9034, allocations: 60.38 kB / 0.7921 GB, free: 2.859 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.9061, allocations: 1.042 MB / 0.7931 GB, free: 2.355 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006308/0.9067, allocations: 403.8 kB / 0.7935 GB, free: 2.094 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.908, allocations: 0.6482 MB / 0.7941 GB, free: 1.664 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002991/0.911, allocations: 2.115 MB / 0.7962 GB, free: 280 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.911, allocations: 0 / 0.7962 GB, free: 280 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.044e-06/0.911, allocations: 0 / 0.7962 GB, free: 280 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.555e-05/0.911, allocations: 0 / 0.7962 GB, free: 280 kB / 0.545 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.003895/0.9149, allocations: 1.519 MB / 0.7976 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.915, allocations: 7.625 kB / 0.7977 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009309/0.9159, allocations: 196.2 kB / 0.7978 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.9174, allocations: 0.8731 MB / 0.7987 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.9176, allocations: 69.55 kB / 0.7988 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.9177, allocations: 74.66 kB / 0.7988 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003368/0.9211, allocations: 1.191 MB / 0.8 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.9211, allocations: 0 / 0.8 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.35e-05/0.9212, allocations: 37.73 kB / 0.8 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.9213, allocations: 15.72 kB / 0.8 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003019/0.9243, allocations: 1.067 MB / 0.8011 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005761/0.9301, allocations: 3.212 MB / 0.8042 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/0.9328, allocations: 0.8763 MB / 0.8051 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007122/0.9335, allocations: 366.8 kB / 0.8054 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-05/0.9336, allocations: 11.08 kB / 0.8054 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.9337, allocations: 46.94 kB / 0.8055 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001086/0.9348, allocations: 182.8 kB / 0.8057 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 4.208e-06/0.9348, allocations: 0 / 0.8057 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47): time 0.005212/0.94, allocations: 1.587 MB / 0.8072 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/0.9401, allocations: 140.9 kB / 0.8073 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.942, allocations: 1.184 MB / 0.8085 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.9421, allocations: 41.7 kB / 0.8085 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000446/0.9426, allocations: 495.7 kB / 0.809 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.9428, allocations: 161 kB / 0.8092 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.9429, allocations: 57.69 kB / 0.8092 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.9431, allocations: 326 kB / 0.8095 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.9442, allocations: 448.8 kB / 0.81 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.9455, allocations: 0.5808 MB / 0.8105 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002308/0.9478, allocations: 0.9368 MB / 0.8114 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.9478, allocations: 0 / 0.8114 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003003/0.9508, allocations: 1.16 MB / 0.8126 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.651e-05/0.951, allocations: 128.2 kB / 0.8127 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.951, allocations: 4 kB / 0.8127 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.951, allocations: 7.984 kB / 0.8127 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.9521, allocations: 203.7 kB / 0.8129 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.9521, allocations: 7.984 kB / 0.8129 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.9537, allocations: 119.9 kB / 0.813 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.144e-05/0.9537, allocations: 35.95 kB / 0.8131 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.9538, allocations: 4.625 kB / 0.8131 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001729/0.9555, allocations: 0.8173 MB / 0.8139 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.9555, allocations: 4.156 kB / 0.8139 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.9555, allocations: 7.938 kB / 0.8139 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007439/0.9563, allocations: 159.8 kB / 0.814 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.9563, allocations: 4 kB / 0.814 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.9574, allocations: 79.78 kB / 0.8141 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/0.9575, allocations: 36.08 kB / 0.8141 GB, free: 348 kB / 0.5606 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.0007247/0.9582, allocations: 362.3 kB / 0.8145 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.9585, allocations: 114.5 kB / 0.8146 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/0.9613, allocations: 1.084 MB / 0.8157 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.9614, allocations: 8 kB / 0.8157 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.9614, allocations: 0 / 0.8157 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.9614, allocations: 3.984 kB / 0.8157 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004146/0.9656, allocations: 2.195 MB / 0.8178 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.9656, allocations: 4 kB / 0.8178 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009434/0.9665, allocations: 168 kB / 0.818 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.9666, allocations: 8 kB / 0.818 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.843e-05/0.9666, allocations: 15.98 kB / 0.818 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.9666, allocations: 4 kB / 0.818 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9666, allocations: 4 kB / 0.818 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003807/0.9705, allocations: 1.681 MB / 0.8196 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006082/0.9711, allocations: 299.7 kB / 0.8199 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.9712, allocations: 16 kB / 0.8199 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.9725, allocations: 115.8 kB / 0.8201 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.9726, allocations: 52.25 kB / 0.8201 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/0.9727, allocations: 31.97 kB / 0.8201 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00135/0.9741, allocations: 0.8287 MB / 0.8209 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9741, allocations: 3.828 kB / 0.8209 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001595/0.9757, allocations: 0.5094 MB / 0.8214 GB, free: 8.691 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.0006773/0.9764, allocations: 235.7 kB / 0.8217 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003615/0.98, allocations: 1.458 MB / 0.8231 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.98, allocations: 4 kB / 0.8231 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.9812, allocations: 478.9 kB / 0.8236 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003222/0.9844, allocations: 0.5551 MB / 0.8241 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008456/0.9929, allocations: 3.187 MB / 0.8272 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008628/0.9938, allocations: 1.09 MB / 0.8283 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001616/0.9954, allocations: 308.1 kB / 0.8286 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.9958, allocations: 107.4 kB / 0.8287 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of SimCode: time 2.084e-06/0.9958, allocations: 0 / 0.8287 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of Templates: time 0.04415/1.04, allocations: 23.63 MB / 0.8517 GB, free: 9.816 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: