Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") [/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.2301/0.2322, allocations: 80.83 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.8094/1.042, allocations: 198.5 MB / 0.8645 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01577/1.057, allocations: 8.239 MB / 0.8726 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002335/1.06, allocations: 43.69 kB / 0.8726 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00268/1.063, allocations: 0.8078 MB / 0.8734 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006142/1.069, allocations: 1.519 MB / 0.8749 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009403/1.078, allocations: 3.141 MB / 0.8779 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005587/1.084, allocations: 3.146 MB / 0.881 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/1.086, allocations: 1.455 MB / 0.8824 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004549/1.091, allocations: 1.394 MB / 0.8838 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/1.093, allocations: 1.203 MB / 0.885 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004191/1.094, allocations: 192 kB / 0.8852 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002777/1.097, allocations: 1.146 MB / 0.8863 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006217/1.097, allocations: 0.6038 MB / 0.8869 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001163/1.098, allocations: 0.9099 MB / 0.8878 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003927/1.102, allocations: 2.682 MB / 0.8904 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/1.102, allocations: 0 / 0.8904 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.894e-06/1.102, allocations: 0 / 0.8904 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.924e-05/1.102, allocations: 0 / 0.8904 GB, free: 8.953 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.005269/1.108, allocations: 2.218 MB / 0.8925 GB, free: 6.676 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/1.108, allocations: 8.031 kB / 0.8926 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/1.109, allocations: 258.8 kB / 0.8928 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/1.111, allocations: 1.131 MB / 0.8939 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.892e-05/1.111, allocations: 70 kB / 0.894 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/1.111, allocations: 80 kB / 0.894 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004838/1.116, allocations: 1.442 MB / 0.8955 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/1.116, allocations: 3.938 kB / 0.8955 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/1.116, allocations: 32 kB / 0.8955 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/1.116, allocations: 20 kB / 0.8955 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003724/1.12, allocations: 1.3 MB / 0.8968 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007691/1.128, allocations: 3.959 MB / 0.9006 GB, free: 14.08 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003146/1.131, allocations: 1.024 MB / 0.9016 GB, free: 13.05 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007765/1.132, allocations: 451.1 kB / 0.9021 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.036e-05/1.132, allocations: 16.48 kB / 0.9021 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/1.132, allocations: 43.12 kB / 0.9021 GB, free: 12.54 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00125/1.133, allocations: 223.3 kB / 0.9023 GB, free: 12.32 MB / 0.67 GB Notification: Performance of pre-optimization done (n=56): time 3.887e-06/1.133, allocations: 0 / 0.9023 GB, free: 12.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=56): time 0.006359/1.139, allocations: 1.919 MB / 0.9042 GB, free: 10.39 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/1.139, allocations: 214.2 kB / 0.9044 GB, free: 10.14 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003053/1.142, allocations: 1.492 MB / 0.9059 GB, free: 8.633 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001911/1.143, allocations: 45.7 kB / 0.9059 GB, free: 8.582 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008518/1.144, allocations: 0.5965 MB / 0.9065 GB, free: 7.984 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/1.144, allocations: 218.1 kB / 0.9067 GB, free: 7.77 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004839/1.144, allocations: 182.5 kB / 0.9069 GB, free: 7.586 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002682/1.145, allocations: 338 kB / 0.9072 GB, free: 7.25 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/1.146, allocations: 0.5511 MB / 0.9077 GB, free: 6.695 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/1.148, allocations: 0.7298 MB / 0.9085 GB, free: 5.898 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002943/1.151, allocations: 1.147 MB / 0.9096 GB, free: 4.734 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/1.151, allocations: 0 / 0.9096 GB, free: 4.734 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004236/1.155, allocations: 1.439 MB / 0.911 GB, free: 3.285 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/1.155, allocations: 6.188 kB / 0.911 GB, free: 3.281 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/1.155, allocations: 8.031 kB / 0.911 GB, free: 3.273 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/1.155, allocations: 7.984 kB / 0.911 GB, free: 3.266 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/1.157, allocations: 243.6 kB / 0.9112 GB, free: 3.027 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.379e-05/1.157, allocations: 11.94 kB / 0.9113 GB, free: 3.016 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/1.159, allocations: 107.9 kB / 0.9114 GB, free: 2.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/1.159, allocations: 43.89 kB / 0.9114 GB, free: 2.867 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001513/1.16, allocations: 0.6931 MB / 0.9121 GB, free: 2.172 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00114/1.161, allocations: 0.6103 MB / 0.9127 GB, free: 1.496 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001983/1.163, allocations: 0.947 MB / 0.9136 GB, free: 0.5312 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.732e-06/1.163, allocations: 0 / 0.9136 GB, free: 0.5312 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002961/1.166, allocations: 1.199 MB / 0.9148 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.166, allocations: 8 kB / 0.9148 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/1.166, allocations: 4 kB / 0.9148 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/1.166, allocations: 4 kB / 0.9148 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009965/1.167, allocations: 191.7 kB / 0.915 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/1.167, allocations: 4 kB / 0.915 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.169, allocations: 83.89 kB / 0.915 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/1.169, allocations: 43.94 kB / 0.9151 GB, free: 14.99 MB / 0.6856 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 (84): * Single equations (assignments): 80 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0004203/1.17, allocations: 224 kB / 0.9153 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007845/1.171, allocations: 147.1 kB / 0.9154 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004265/1.175, allocations: 1.313 MB / 0.9167 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/1.175, allocations: 8 kB / 0.9167 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/1.175, allocations: 3.938 kB / 0.9167 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/1.175, allocations: 3.984 kB / 0.9167 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00657/1.182, allocations: 2.607 MB / 0.9193 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.182, allocations: 0 / 0.9193 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/1.183, allocations: 188.1 kB / 0.9195 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.489e-05/1.183, allocations: 4 kB / 0.9195 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-05/1.183, allocations: 27.92 kB / 0.9195 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/1.183, allocations: 4 kB / 0.9195 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.183, allocations: 4 kB / 0.9195 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00531/1.188, allocations: 1.981 MB / 0.9214 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009909/1.189, allocations: 360 kB / 0.9218 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005585/1.19, allocations: 19.98 kB / 0.9218 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/1.192, allocations: 103.9 kB / 0.9219 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/1.192, allocations: 52.36 kB / 0.9219 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/1.192, allocations: 43.91 kB / 0.922 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002346/1.194, allocations: 1.043 MB / 0.923 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/1.194, allocations: 0 / 0.923 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002717/1.197, allocations: 0.6125 MB / 0.9236 GB, free: 6.098 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.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 (67): * Single equations (assignments): 67 * 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.0009162/1.198, allocations: 245.8 kB / 0.9238 GB, free: 5.852 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004971/1.203, allocations: 1.846 MB / 0.9256 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/1.203, allocations: 4.562 kB / 0.9256 GB, free: 3.969 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001603/1.205, allocations: 0.5657 MB / 0.9262 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003867/1.208, allocations: 0.6153 MB / 0.9268 GB, free: 2.797 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.219, allocations: 3.416 MB / 0.9301 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/1.22, allocations: 1.203 MB / 0.9313 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002167/1.223, allocations: 382 kB / 0.9317 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008091/1.223, allocations: 135.3 kB / 0.9318 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of SimCode: time 1.162e-06/1.223, allocations: 4 kB / 0.9318 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of Templates: time 0.06048/1.284, allocations: 30.68 MB / 0.9618 GB, free: 15.1 MB / 0.7325 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)