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.188/0.1905, allocations: 80.84 MB / 0.5899 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6116/0.8022, allocations: 187.3 MB / 0.7728 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0131/0.8153, allocations: 7.163 MB / 0.7798 GB, free: 4.695 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002472/0.8178, allocations: 31.88 kB / 0.7798 GB, free: 4.676 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002399/0.8203, allocations: 0.5868 MB / 0.7804 GB, free: 4.207 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003795/0.8241, allocations: 1.17 MB / 0.7815 GB, free: 3.281 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00797/0.8321, allocations: 2.461 MB / 0.7839 GB, free: 1.777 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004342/0.8365, allocations: 2.56 MB / 0.7864 GB, free: 320 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.8381, allocations: 1.092 MB / 0.7875 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.8406, allocations: 1.139 MB / 0.7886 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.8421, allocations: 0.978 MB / 0.7896 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002252/0.8423, allocations: 146.2 kB / 0.7897 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.8445, allocations: 1.037 MB / 0.7907 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005031/0.845, allocations: 0.4918 MB / 0.7912 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007793/0.8458, allocations: 0.7204 MB / 0.7919 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002943/0.8487, allocations: 2.185 MB / 0.794 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.8487, allocations: 2.781 kB / 0.794 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8487, allocations: 3.938 kB / 0.7941 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.108e-05/0.8488, allocations: 4 kB / 0.7941 GB, free: 11.38 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.004877/0.8537, allocations: 1.782 MB / 0.7958 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.8537, allocations: 7.5 kB / 0.7958 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.855, allocations: 187.2 kB / 0.796 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/0.8567, allocations: 0.8938 MB / 0.7969 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/0.8569, allocations: 62.05 kB / 0.7969 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.8571, allocations: 72.22 kB / 0.797 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003528/0.8607, allocations: 1.137 MB / 0.7981 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.8607, allocations: 2.781 kB / 0.7981 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.723e-05/0.8608, allocations: 35.89 kB / 0.7981 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.8608, allocations: 15.22 kB / 0.7981 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003082/0.8639, allocations: 1.01 MB / 0.7991 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005842/0.8698, allocations: 3.201 MB / 0.8023 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002675/0.8725, allocations: 0.8132 MB / 0.803 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006901/0.8732, allocations: 354 kB / 0.8034 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.574e-05/0.8733, allocations: 12.89 kB / 0.8034 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.8733, allocations: 47.05 kB / 0.8034 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008875/0.8742, allocations: 183.1 kB / 0.8036 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 3.026e-06/0.8742, allocations: 8 kB / 0.8036 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47): time 0.004851/0.8791, allocations: 1.473 MB / 0.8051 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.8792, allocations: 141 kB / 0.8052 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.8808, allocations: 1.184 MB / 0.8064 GB, free: 28 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.8809, allocations: 41.7 kB / 0.8064 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004096/0.8813, allocations: 489 kB / 0.8069 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.8815, allocations: 161.6 kB / 0.807 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.8817, allocations: 150.1 kB / 0.8072 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.8819, allocations: 326 kB / 0.8075 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.883, allocations: 430.8 kB / 0.8079 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.8841, allocations: 0.5456 MB / 0.8084 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/0.8862, allocations: 0.8821 MB / 0.8093 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.8862, allocations: 4 kB / 0.8093 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002547/0.8888, allocations: 1.099 MB / 0.8104 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.8888, allocations: 6.031 kB / 0.8104 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.8888, allocations: 4 kB / 0.8104 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.8889, allocations: 4 kB / 0.8104 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.8899, allocations: 195.7 kB / 0.8106 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.89, allocations: 8.031 kB / 0.8106 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.8914, allocations: 99.8 kB / 0.8107 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-05/0.8915, allocations: 31.97 kB / 0.8107 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009963/0.8925, allocations: 0.5478 MB / 0.8112 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007968/0.8933, allocations: 475.1 kB / 0.8117 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001302/0.8946, allocations: 0.7227 MB / 0.8124 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.304e-06/0.8947, allocations: 0 / 0.8124 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001784/0.8964, allocations: 0.932 MB / 0.8133 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.8965, allocations: 7.984 kB / 0.8133 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.8965, allocations: 4 kB / 0.8133 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.972e-06/0.8965, allocations: 7.938 kB / 0.8133 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007397/0.8972, allocations: 151.8 kB / 0.8135 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.8973, allocations: 4 kB / 0.8135 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.8984, allocations: 83.86 kB / 0.8135 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/0.8984, allocations: 31.97 kB / 0.8136 GB, free: 8.469 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.0003492/0.8988, allocations: 216.6 kB / 0.8138 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.899, allocations: 114.6 kB / 0.8139 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/0.9016, allocations: 1.033 MB / 0.8149 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.9016, allocations: 8 kB / 0.8149 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.9016, allocations: 0 / 0.8149 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.9016, allocations: 3.984 kB / 0.8149 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003873/0.9055, allocations: 2.14 MB / 0.817 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.9055, allocations: 0.625 kB / 0.817 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009663/0.9065, allocations: 168 kB / 0.8172 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/0.9065, allocations: 4 kB / 0.8172 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.953e-05/0.9066, allocations: 12 kB / 0.8172 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-05/0.9067, allocations: 8.547 kB / 0.8172 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.9067, allocations: 7.938 kB / 0.8172 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00498/0.9117, allocations: 1.595 MB / 0.8187 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005534/0.9122, allocations: 299.7 kB / 0.819 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.9124, allocations: 15.94 kB / 0.819 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.9137, allocations: 100.5 kB / 0.8191 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.9138, allocations: 44.38 kB / 0.8192 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.925e-05/0.9139, allocations: 39.91 kB / 0.8192 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001155/0.9151, allocations: 0.8326 MB / 0.82 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9151, allocations: 0 / 0.82 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001825/0.9169, allocations: 0.4993 MB / 0.8205 GB, free: 1.18 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.000866/0.9178, allocations: 238.1 kB / 0.8207 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003741/0.9216, allocations: 1.445 MB / 0.8222 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.9216, allocations: 4 kB / 0.8222 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.9227, allocations: 455.2 kB / 0.8226 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/0.9256, allocations: 0.5239 MB / 0.8231 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008006/0.9336, allocations: 3.008 MB / 0.826 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/0.9343, allocations: 1.086 MB / 0.8271 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001622/0.936, allocations: 304 kB / 0.8274 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/0.9364, allocations: 111.4 kB / 0.8275 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of SimCode: time 2.064e-06/0.9364, allocations: 0 / 0.8275 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of Templates: time 0.04234/0.9787, allocations: 24.4 MB / 0.8513 GB, free: 1.781 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)