Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolumes.Validation.MixingVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") [/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.2353/0.2376, allocations: 80.84 MB / 0.5897 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7383/0.976, allocations: 240.5 MB / 0.8245 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02349/0.9995, allocations: 15.35 MB / 0.8395 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005092/1.005, allocations: 79.44 kB / 0.8396 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00452/1.009, allocations: 1.1 MB / 0.8407 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01514/1.024, allocations: 3.495 MB / 0.8441 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007114/1.032, allocations: 2.079 MB / 0.8461 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01317/1.045, allocations: 8.182 MB / 0.8541 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003408/1.048, allocations: 1.574 MB / 0.8556 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007788/1.056, allocations: 2.572 MB / 0.8581 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005798/1.062, allocations: 1.902 MB / 0.86 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001187/1.063, allocations: 112 kB / 0.8601 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006916/1.07, allocations: 2.619 MB / 0.8627 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001805/1.072, allocations: 0.8257 MB / 0.8635 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003771/1.076, allocations: 1.197 MB / 0.8646 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.009159/1.085, allocations: 3.875 MB / 0.8684 GB, free: 472 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/1.085, allocations: 0 / 0.8684 GB, free: 472 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.222e-06/1.085, allocations: 0 / 0.8684 GB, free: 472 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.444e-05/1.085, allocations: 4 kB / 0.8684 GB, free: 468 kB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.006055/1.091, allocations: 2.712 MB / 0.8711 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.091, allocations: 8.031 kB / 0.8711 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/1.094, allocations: 492.9 kB / 0.8715 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/1.097, allocations: 1.336 MB / 0.8728 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/1.097, allocations: 249.9 kB / 0.8731 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002504/1.097, allocations: 175.9 kB / 0.8733 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00609/1.103, allocations: 2.331 MB / 0.8755 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/1.104, allocations: 3.938 kB / 0.8755 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/1.104, allocations: 71.94 kB / 0.8756 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.573e-05/1.104, allocations: 63.06 kB / 0.8757 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005253/1.109, allocations: 1.948 MB / 0.8776 GB, free: 6.875 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/1.12, allocations: 8.178 MB / 0.8856 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004155/1.125, allocations: 1.427 MB / 0.8869 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007603/1.125, allocations: 0.5146 MB / 0.8874 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003993/1.126, allocations: 134 kB / 0.8876 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/1.126, allocations: 51.56 kB / 0.8876 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=100): time 3.146e-06/1.126, allocations: 0 / 0.8876 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=106): time 0.01392/1.14, allocations: 4.268 MB / 0.8918 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/1.14, allocations: 64.34 kB / 0.8919 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/1.142, allocations: 1.428 MB / 0.8932 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001826/1.142, allocations: 49.7 kB / 0.8933 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007008/1.143, allocations: 0.8877 MB / 0.8942 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/1.143, allocations: 382.5 kB / 0.8945 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004536/1.143, allocations: 274.6 kB / 0.8948 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001881/1.144, allocations: 361.9 kB / 0.8951 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/1.145, allocations: 0.6188 MB / 0.8957 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/1.147, allocations: 1.054 MB / 0.8968 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00328/1.15, allocations: 1.6 MB / 0.8983 GB, free: 480 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/1.15, allocations: 8 kB / 0.8983 GB, free: 472 kB / 0.6544 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004208/1.155, allocations: 1.836 MB / 0.9001 GB, free: 14.61 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.821e-05/1.155, allocations: 41.69 kB / 0.9002 GB, free: 14.56 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/1.155, allocations: 8 kB / 0.9002 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.463e-05/1.155, allocations: 16 kB / 0.9002 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/1.156, allocations: 375.4 kB / 0.9006 GB, free: 14.17 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.931e-05/1.157, allocations: 23.92 kB / 0.9006 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002696/1.159, allocations: 267.5 kB / 0.9008 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.89e-05/1.159, allocations: 55.98 kB / 0.9009 GB, free: 13.83 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00151/1.161, allocations: 0.8226 MB / 0.9017 GB, free: 13 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001373/1.162, allocations: 0.8926 MB / 0.9026 GB, free: 11.93 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001995/1.164, allocations: 1.293 MB / 0.9038 GB, free: 10.52 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.176e-06/1.164, allocations: 4 kB / 0.9038 GB, free: 10.51 MB / 0.67 GB Notification: Performance of matching and sorting (n=166) (initialization_lambda0): time 0.002582/1.167, allocations: 1.52 MB / 0.9053 GB, free: 8.977 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/1.167, allocations: 33.7 kB / 0.9053 GB, free: 8.938 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.167, allocations: 12 kB / 0.9054 GB, free: 8.926 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/1.167, allocations: 12 kB / 0.9054 GB, free: 8.914 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/1.168, allocations: 299.5 kB / 0.9057 GB, free: 8.621 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.382e-05/1.168, allocations: 23.86 kB / 0.9057 GB, free: 8.598 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/1.17, allocations: 212 kB / 0.9059 GB, free: 8.391 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-05/1.17, allocations: 55.94 kB / 0.9059 GB, free: 8.336 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 5 (vol2.i_w,vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.000611/1.171, allocations: 269 kB / 0.9062 GB, free: 8.066 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000304/1.171, allocations: 177.9 kB / 0.9064 GB, free: 7.891 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003506/1.175, allocations: 1.479 MB / 0.9078 GB, free: 6.402 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/1.175, allocations: 11.94 kB / 0.9078 GB, free: 6.391 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/1.175, allocations: 4 kB / 0.9078 GB, free: 6.387 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002862/1.178, allocations: 1.38 MB / 0.9092 GB, free: 4.957 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00693/1.185, allocations: 3.127 MB / 0.9122 GB, free: 1.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/1.185, allocations: 4 kB / 0.9122 GB, free: 1.766 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/1.186, allocations: 327.6 kB / 0.9125 GB, free: 1.445 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/1.186, allocations: 4 kB / 0.9125 GB, free: 1.441 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.993e-05/1.187, allocations: 31.97 kB / 0.9126 GB, free: 1.41 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/1.187, allocations: 8 kB / 0.9126 GB, free: 1.402 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.187, allocations: 0 / 0.9126 GB, free: 1.402 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005079/1.192, allocations: 2.268 MB / 0.9148 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/1.193, allocations: 390.8 kB / 0.9152 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/1.193, allocations: 23.98 kB / 0.9152 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/1.195, allocations: 211.6 kB / 0.9154 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/1.195, allocations: 68.89 kB / 0.9155 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/1.195, allocations: 59.94 kB / 0.9155 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001315/1.196, allocations: 0.9591 MB / 0.9164 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/1.196, allocations: 0 / 0.9164 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002255/1.199, allocations: 0.8359 MB / 0.9173 GB, free: 12.56 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * 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 (106): * Single equations (assignments): 106 * 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.0005841/1.199, allocations: 250.3 kB / 0.9175 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004455/1.204, allocations: 2.253 MB / 0.9197 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.204, allocations: 0 / 0.9197 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/1.205, allocations: 0.6704 MB / 0.9204 GB, free: 9.383 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00512/1.21, allocations: 1.033 MB / 0.9214 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008444/1.219, allocations: 4.671 MB / 0.9259 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/1.22, allocations: 1.493 MB / 0.9274 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002678/1.223, allocations: 0.5962 MB / 0.928 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005384/1.223, allocations: 147.4 kB / 0.9281 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of SimCode: time 1.263e-06/1.223, allocations: 0 / 0.9281 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of Templates: time 0.4361/1.659, allocations: 36.64 MB / 0.9639 GB, free: 281 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)