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.2221/0.2243, allocations: 80.83 MB / 0.6706 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.8199/1.044, allocations: 189.8 MB / 0.856 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01347/1.058, allocations: 7.102 MB / 0.8629 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002638/1.061, allocations: 36.03 kB / 0.8629 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002905/1.063, allocations: 0.6567 MB / 0.8636 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003605/1.067, allocations: 1.257 MB / 0.8648 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007161/1.074, allocations: 2.701 MB / 0.8675 GB, free: 116 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004059/1.078, allocations: 2.552 MB / 0.8699 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/1.08, allocations: 1.103 MB / 0.871 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/1.083, allocations: 1.137 MB / 0.8721 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/1.084, allocations: 0.9379 MB / 0.873 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000289/1.084, allocations: 151.9 kB / 0.8732 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002239/1.087, allocations: 1.018 MB / 0.8742 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000515/1.087, allocations: 490.6 kB / 0.8747 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009403/1.088, allocations: 0.7271 MB / 0.8754 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003491/1.092, allocations: 2.188 MB / 0.8775 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.092, allocations: 0 / 0.8775 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.393e-06/1.092, allocations: 0 / 0.8775 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.6e-05/1.092, allocations: 0 / 0.8775 GB, free: 6.289 MB / 0.6387 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.004087/1.096, allocations: 1.821 MB / 0.8793 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.096, allocations: 8.031 kB / 0.8793 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008736/1.097, allocations: 195.1 kB / 0.8795 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/1.098, allocations: 0.9203 MB / 0.8804 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.1e-05/1.098, allocations: 63.12 kB / 0.8804 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/1.098, allocations: 75.95 kB / 0.8805 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/1.101, allocations: 1.143 MB / 0.8816 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/1.101, allocations: 0 / 0.8816 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-05/1.101, allocations: 32 kB / 0.8816 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/1.101, allocations: 16 kB / 0.8817 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002697/1.104, allocations: 1.003 MB / 0.8826 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00529/1.109, allocations: 3.198 MB / 0.8858 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/1.112, allocations: 0.8196 MB / 0.8866 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006178/1.112, allocations: 354 kB / 0.8869 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.875e-05/1.113, allocations: 8.891 kB / 0.8869 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/1.113, allocations: 50.94 kB / 0.887 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006448/1.113, allocations: 163.4 kB / 0.8871 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 2.254e-06/1.113, allocations: 3.938 kB / 0.8871 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=47): time 0.004499/1.118, allocations: 1.486 MB / 0.8886 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/1.118, allocations: 133 kB / 0.8887 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/1.119, allocations: 1.184 MB / 0.8899 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.225e-05/1.12, allocations: 45.7 kB / 0.8899 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/1.12, allocations: 497.5 kB / 0.8904 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/1.12, allocations: 174.5 kB / 0.8905 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/1.12, allocations: 142.1 kB / 0.8907 GB, free: 8.383 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.12, allocations: 326 kB / 0.891 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/1.122, allocations: 430.8 kB / 0.8914 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/1.123, allocations: 0.554 MB / 0.8919 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/1.125, allocations: 0.882 MB / 0.8928 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.125, allocations: 4 kB / 0.8928 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002618/1.127, allocations: 1.099 MB / 0.8939 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/1.127, allocations: 8.109 kB / 0.8939 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.127, allocations: 3.969 kB / 0.8939 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.936e-05/1.127, allocations: 8 kB / 0.8939 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/1.128, allocations: 191.7 kB / 0.8941 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/1.128, allocations: 11.97 kB / 0.8941 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/1.13, allocations: 83.84 kB / 0.8942 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.027e-05/1.13, allocations: 31.97 kB / 0.8942 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001034/1.131, allocations: 0.5446 MB / 0.8947 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007839/1.132, allocations: 479 kB / 0.8952 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001287/1.133, allocations: 0.7237 MB / 0.8959 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.285e-06/1.133, allocations: 0 / 0.8959 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001804/1.135, allocations: 0.9303 MB / 0.8968 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/1.135, allocations: 8.781 kB / 0.8968 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.135, allocations: 0 / 0.8968 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/1.135, allocations: 4 kB / 0.8968 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007048/1.135, allocations: 151.8 kB / 0.897 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/1.135, allocations: 16.08 kB / 0.897 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009651/1.136, allocations: 51.94 kB / 0.897 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.17e-05/1.137, allocations: 31.97 kB / 0.8971 GB, free: 1.684 MB / 0.6544 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.000325/1.137, allocations: 216.1 kB / 0.8973 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/1.137, allocations: 119.2 kB / 0.8974 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/1.14, allocations: 1.022 MB / 0.8984 GB, free: 316 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/1.14, allocations: 8 kB / 0.8984 GB, free: 308 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/1.14, allocations: 0 / 0.8984 GB, free: 308 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.14, allocations: 3.984 kB / 0.8984 GB, free: 304 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/1.144, allocations: 2.151 MB / 0.9005 GB, free: 14.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/1.144, allocations: 0 / 0.9005 GB, free: 14.07 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000846/1.145, allocations: 151.8 kB / 0.9006 GB, free: 13.92 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/1.145, allocations: 4 kB / 0.9006 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/1.145, allocations: 19.98 kB / 0.9007 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/1.145, allocations: 7.938 kB / 0.9007 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.145, allocations: 8.031 kB / 0.9007 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003485/1.148, allocations: 1.596 MB / 0.9022 GB, free: 12.24 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007011/1.149, allocations: 308.2 kB / 0.9025 GB, free: 11.92 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002976/1.149, allocations: 16.06 kB / 0.9025 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/1.151, allocations: 83.91 kB / 0.9026 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/1.151, allocations: 48.38 kB / 0.9027 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/1.151, allocations: 35.91 kB / 0.9027 GB, free: 11.74 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001426/1.152, allocations: 0.8287 MB / 0.9035 GB, free: 10.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.81e-07/1.152, allocations: 0 / 0.9035 GB, free: 10.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001873/1.154, allocations: 0.5071 MB / 0.904 GB, free: 10.39 MB / 0.67 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.0007934/1.155, allocations: 244.3 kB / 0.9042 GB, free: 10.16 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003442/1.158, allocations: 1.387 MB / 0.9056 GB, free: 8.758 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/1.158, allocations: 4 kB / 0.9056 GB, free: 8.754 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/1.16, allocations: 455.2 kB / 0.906 GB, free: 8.309 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/1.163, allocations: 0.5186 MB / 0.9065 GB, free: 7.793 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007445/1.17, allocations: 2.673 MB / 0.9091 GB, free: 5.055 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008061/1.171, allocations: 1.086 MB / 0.9102 GB, free: 3.938 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0017/1.173, allocations: 300 kB / 0.9105 GB, free: 3.641 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000617/1.173, allocations: 103.4 kB / 0.9106 GB, free: 3.539 MB / 0.67 GB Notification: Performance of SimCode: time 1.232e-06/1.173, allocations: 4 kB / 0.9106 GB, free: 3.535 MB / 0.67 GB Notification: Performance of Templates: time 0.04551/1.219, allocations: 24.77 MB / 0.9348 GB, free: 10.94 MB / 0.7012 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)