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.22/0.2221, allocations: 80.82 MB / 0.6706 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.8504/1.073, allocations: 189.8 MB / 0.856 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01661/1.089, allocations: 7.104 MB / 0.8629 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002904/1.092, allocations: 33.19 kB / 0.863 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003129/1.095, allocations: 0.6529 MB / 0.8636 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005584/1.101, allocations: 1.254 MB / 0.8648 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01123/1.112, allocations: 2.702 MB / 0.8675 GB, free: 112 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005873/1.118, allocations: 2.556 MB / 0.8699 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003401/1.122, allocations: 1.109 MB / 0.871 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004858/1.127, allocations: 1.137 MB / 0.8721 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003369/1.13, allocations: 0.934 MB / 0.8731 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001156/1.131, allocations: 148 kB / 0.8732 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004859/1.136, allocations: 1.025 MB / 0.8742 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00154/1.138, allocations: 498.6 kB / 0.8747 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002001/1.14, allocations: 0.7155 MB / 0.8754 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004459/1.144, allocations: 2.169 MB / 0.8775 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/1.144, allocations: 4 kB / 0.8775 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.993e-06/1.144, allocations: 0 / 0.8775 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.891e-05/1.144, allocations: 0 / 0.8775 GB, free: 5.977 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.004914/1.149, allocations: 1.779 MB / 0.8792 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.149, allocations: 12.03 kB / 0.8792 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009667/1.15, allocations: 194.3 kB / 0.8794 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/1.152, allocations: 0.9077 MB / 0.8803 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/1.152, allocations: 58 kB / 0.8804 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/1.152, allocations: 71.91 kB / 0.8804 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003083/1.155, allocations: 1.146 MB / 0.8816 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/1.155, allocations: 0 / 0.8816 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.46e-05/1.155, allocations: 28 kB / 0.8816 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/1.155, allocations: 16 kB / 0.8816 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002953/1.158, allocations: 1.011 MB / 0.8826 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006974/1.165, allocations: 3.197 MB / 0.8857 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/1.168, allocations: 0.8124 MB / 0.8865 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007368/1.169, allocations: 353.9 kB / 0.8868 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.357e-05/1.169, allocations: 16.89 kB / 0.8869 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.574e-05/1.169, allocations: 46.88 kB / 0.8869 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001167/1.17, allocations: 159.3 kB / 0.8871 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 4.489e-06/1.17, allocations: 0 / 0.8871 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=47): time 0.005331/1.176, allocations: 1.477 MB / 0.8885 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/1.176, allocations: 144.9 kB / 0.8886 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/1.178, allocations: 1.18 MB / 0.8898 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002372/1.178, allocations: 41.64 kB / 0.8898 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000524/1.179, allocations: 493 kB / 0.8903 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/1.179, allocations: 169.6 kB / 0.8905 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/1.18, allocations: 142.1 kB / 0.8906 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000213/1.18, allocations: 330 kB / 0.8909 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/1.181, allocations: 430.7 kB / 0.8913 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/1.182, allocations: 0.5456 MB / 0.8919 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002308/1.185, allocations: 0.8859 MB / 0.8927 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/1.185, allocations: 0 / 0.8927 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003385/1.188, allocations: 1.095 MB / 0.8938 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/1.188, allocations: 4 kB / 0.8938 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/1.188, allocations: 4 kB / 0.8938 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/1.188, allocations: 4 kB / 0.8938 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/1.189, allocations: 199.7 kB / 0.894 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/1.189, allocations: 4 kB / 0.894 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/1.191, allocations: 83.91 kB / 0.8941 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-05/1.191, allocations: 27.97 kB / 0.8941 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001347/1.193, allocations: 0.5485 MB / 0.8946 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008853/1.193, allocations: 471 kB / 0.8951 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001475/1.195, allocations: 0.7237 MB / 0.8958 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/1.195, allocations: 3.938 kB / 0.8958 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002359/1.197, allocations: 0.917 MB / 0.8967 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/1.197, allocations: 8 kB / 0.8967 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/1.197, allocations: 7.984 kB / 0.8967 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/1.197, allocations: 4 kB / 0.8967 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008338/1.198, allocations: 151.8 kB / 0.8969 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/1.198, allocations: 4 kB / 0.8969 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/1.2, allocations: 63.88 kB / 0.8969 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.044e-05/1.2, allocations: 31.97 kB / 0.8969 GB, free: 1.469 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.0004886/1.2, allocations: 220 kB / 0.8972 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006316/1.201, allocations: 110.7 kB / 0.8973 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003177/1.204, allocations: 1.029 MB / 0.8983 GB, free: 96 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/1.204, allocations: 4 kB / 0.8983 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/1.204, allocations: 8 kB / 0.8983 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.204, allocations: 3.938 kB / 0.8983 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005421/1.21, allocations: 2.143 MB / 0.9004 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.21, allocations: 0 / 0.9004 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00091/1.211, allocations: 160 kB / 0.9005 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.611e-05/1.211, allocations: 7.984 kB / 0.9005 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.306e-05/1.211, allocations: 16 kB / 0.9006 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/1.211, allocations: 4 kB / 0.9006 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.211, allocations: 7.984 kB / 0.9006 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003959/1.215, allocations: 1.587 MB / 0.9021 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009815/1.216, allocations: 303.7 kB / 0.9024 GB, free: 11.72 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003815/1.216, allocations: 12 kB / 0.9024 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/1.218, allocations: 83.97 kB / 0.9025 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/1.218, allocations: 44.31 kB / 0.9025 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.663e-05/1.218, allocations: 39.91 kB / 0.9026 GB, free: 11.54 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001384/1.219, allocations: 0.8404 MB / 0.9034 GB, free: 10.69 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.973e-06/1.219, allocations: 0 / 0.9034 GB, free: 10.69 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001753/1.221, allocations: 0.5031 MB / 0.9039 GB, free: 10.19 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.0007907/1.222, allocations: 228.2 kB / 0.9041 GB, free: 9.961 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003471/1.225, allocations: 1.388 MB / 0.9055 GB, free: 8.562 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.225, allocations: 4 kB / 0.9055 GB, free: 8.559 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/1.226, allocations: 455 kB / 0.9059 GB, free: 8.113 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/1.229, allocations: 0.5187 MB / 0.9064 GB, free: 7.602 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007759/1.237, allocations: 2.629 MB / 0.909 GB, free: 4.91 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008013/1.238, allocations: 1.086 MB / 0.91 GB, free: 3.793 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001617/1.24, allocations: 304 kB / 0.9103 GB, free: 3.492 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004037/1.24, allocations: 107.4 kB / 0.9104 GB, free: 3.387 MB / 0.67 GB Notification: Performance of SimCode: time 2.165e-06/1.24, allocations: 0 / 0.9104 GB, free: 3.387 MB / 0.67 GB Notification: Performance of Templates: time 0.04548/1.285, allocations: 24.77 MB / 0.9346 GB, free: 10.79 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)