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.2243/0.2267, allocations: 80.85 MB / 0.6706 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7652/0.992, allocations: 189.8 MB / 0.856 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01405/1.006, allocations: 7.104 MB / 0.8629 GB, free: 13.51 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/1.008, allocations: 39.69 kB / 0.8629 GB, free: 13.47 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002161/1.01, allocations: 0.6446 MB / 0.8636 GB, free: 12.82 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004212/1.014, allocations: 1.263 MB / 0.8648 GB, free: 11.55 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007529/1.022, allocations: 2.699 MB / 0.8674 GB, free: 8.883 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003706/1.026, allocations: 2.552 MB / 0.8699 GB, free: 6.328 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/1.027, allocations: 1.101 MB / 0.871 GB, free: 5.211 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/1.03, allocations: 1.148 MB / 0.8721 GB, free: 4.062 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/1.031, allocations: 0.9495 MB / 0.8731 GB, free: 3.109 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002579/1.031, allocations: 148 kB / 0.8732 GB, free: 2.965 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/1.033, allocations: 1.025 MB / 0.8742 GB, free: 1.938 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004524/1.034, allocations: 482.6 kB / 0.8747 GB, free: 1.465 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000766/1.034, allocations: 0.731 MB / 0.8754 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002749/1.037, allocations: 2.173 MB / 0.8775 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.037, allocations: 0 / 0.8775 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.593e-06/1.037, allocations: 0 / 0.8775 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.919e-05/1.037, allocations: 0 / 0.8775 GB, free: 14.55 MB / 0.6856 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.00421/1.041, allocations: 1.775 MB / 0.8792 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/1.042, allocations: 8.031 kB / 0.8792 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000892/1.042, allocations: 203.2 kB / 0.8794 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/1.044, allocations: 0.9116 MB / 0.8803 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/1.044, allocations: 54 kB / 0.8804 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/1.044, allocations: 71.91 kB / 0.8804 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003199/1.047, allocations: 1.146 MB / 0.8816 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/1.047, allocations: 0 / 0.8816 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.362e-05/1.048, allocations: 28 kB / 0.8816 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/1.048, allocations: 20 kB / 0.8816 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002848/1.05, allocations: 1.011 MB / 0.8826 GB, free: 9.195 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005981/1.056, allocations: 3.189 MB / 0.8857 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002507/1.059, allocations: 0.8169 MB / 0.8865 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006694/1.06, allocations: 346 kB / 0.8868 GB, free: 4.648 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.259e-05/1.06, allocations: 16.88 kB / 0.8869 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/1.06, allocations: 58.5 kB / 0.8869 GB, free: 4.57 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000893/1.061, allocations: 155.3 kB / 0.8871 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 3.596e-06/1.061, allocations: 0 / 0.8871 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.004976/1.066, allocations: 1.481 MB / 0.8885 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.066, allocations: 140.9 kB / 0.8886 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/1.068, allocations: 1.18 MB / 0.8898 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001338/1.068, allocations: 37.7 kB / 0.8898 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004141/1.068, allocations: 485.1 kB / 0.8903 GB, free: 1.043 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/1.068, allocations: 169.6 kB / 0.8905 GB, free: 0.875 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/1.069, allocations: 142.1 kB / 0.8906 GB, free: 0.7305 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.069, allocations: 334 kB / 0.8909 GB, free: 408 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/1.07, allocations: 426.9 kB / 0.8913 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/1.071, allocations: 0.5534 MB / 0.8919 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/1.073, allocations: 0.8781 MB / 0.8927 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/1.073, allocations: 112 / 0.8927 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002848/1.076, allocations: 1.103 MB / 0.8938 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.076, allocations: 4 kB / 0.8938 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/1.076, allocations: 11.97 kB / 0.8938 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.076, allocations: 4 kB / 0.8938 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/1.077, allocations: 191.7 kB / 0.894 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/1.077, allocations: 11.92 kB / 0.894 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/1.079, allocations: 83.91 kB / 0.8941 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-05/1.079, allocations: 35.95 kB / 0.8941 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001048/1.08, allocations: 0.5478 MB / 0.8947 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007774/1.08, allocations: 472 kB / 0.8951 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001344/1.082, allocations: 0.7159 MB / 0.8958 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.429e-06/1.082, allocations: 3.984 kB / 0.8958 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002094/1.084, allocations: 0.9257 MB / 0.8967 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.084, allocations: 4 kB / 0.8967 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/1.084, allocations: 8.156 kB / 0.8967 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/1.084, allocations: 4 kB / 0.8967 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007608/1.085, allocations: 151.8 kB / 0.8969 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/1.085, allocations: 4 kB / 0.8969 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/1.086, allocations: 59.94 kB / 0.8969 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/1.086, allocations: 31.97 kB / 0.897 GB, free: 10.04 MB / 0.7012 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.0002766/1.086, allocations: 220 kB / 0.8972 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/1.087, allocations: 110.7 kB / 0.8973 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/1.089, allocations: 1.025 MB / 0.8983 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/1.089, allocations: 4 kB / 0.8983 GB, free: 8.664 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.089, allocations: 4 kB / 0.8983 GB, free: 8.66 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/1.089, allocations: 3.984 kB / 0.8983 GB, free: 8.656 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003834/1.093, allocations: 2.147 MB / 0.9004 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/1.093, allocations: 4 kB / 0.9004 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008837/1.094, allocations: 152.1 kB / 0.9005 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/1.094, allocations: 4 kB / 0.9005 GB, free: 6.277 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/1.094, allocations: 22.23 kB / 0.9006 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/1.094, allocations: 7.938 kB / 0.9006 GB, free: 6.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.094, allocations: 4 kB / 0.9006 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/1.098, allocations: 1.595 MB / 0.9021 GB, free: 4.613 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007323/1.098, allocations: 295.6 kB / 0.9024 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/1.099, allocations: 16 kB / 0.9024 GB, free: 4.289 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/1.1, allocations: 87.95 kB / 0.9025 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/1.1, allocations: 36.38 kB / 0.9025 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-05/1.1, allocations: 39.92 kB / 0.9026 GB, free: 4.125 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001185/1.101, allocations: 0.8326 MB / 0.9034 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.61e-07/1.101, allocations: 3.938 kB / 0.9034 GB, free: 3.281 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001464/1.103, allocations: 0.5109 MB / 0.9039 GB, free: 2.77 MB / 0.7012 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.000633/1.103, allocations: 231.4 kB / 0.9041 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003303/1.107, allocations: 1.392 MB / 0.9055 GB, free: 1.137 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/1.107, allocations: 0 / 0.9055 GB, free: 1.137 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/1.108, allocations: 450.6 kB / 0.9059 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002789/1.111, allocations: 0.5226 MB / 0.9064 GB, free: 184 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007973/1.119, allocations: 2.629 MB / 0.909 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/1.119, allocations: 1.089 MB / 0.9101 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001423/1.121, allocations: 304 kB / 0.9103 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/1.121, allocations: 103.4 kB / 0.9104 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of SimCode: time 1.062e-06/1.121, allocations: 0 / 0.9104 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of Templates: time 0.04692/1.168, allocations: 25.24 MB / 0.9351 GB, free: 2.891 MB / 0.7325 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)