Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.9043/0.9043, allocations: 132.4 MB / 139.9 MB, free: 2.793 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001774/0.001773, allocations: 187.9 kB / 171.8 MB, free: 4.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.422/1.422, allocations: 170.6 MB / 374.2 MB, free: 192 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001487/0.001487, allocations: 107.4 kB / 444.8 MB, free: 14.16 MB / 314.7 MB [/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.1481/0.1481, allocations: 73.42 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.88/6.028, allocations: 2.152 GB / 2.819 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/6.028, allocations: 91.94 kB / 2.819 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 12.5/18.53, allocations: 2.663 GB / 5.482 GB, free: 50.28 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.889e-06/18.53, allocations: 1.438 kB / 5.482 GB, free: 50.28 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0007692/18.53, allocations: 71.89 kB / 5.482 GB, free: 50.27 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 562 * Number of variables: 562 Notification: Performance of Generate backend data structure: time 0.02074/18.55, allocations: 3.645 MB / 5.486 GB, free: 48.67 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/18.55, allocations: 9.719 kB / 5.486 GB, free: 48.67 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/18.56, allocations: 1.149 MB / 5.487 GB, free: 48.51 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009498/18.57, allocations: 2.149 MB / 5.489 GB, free: 48.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001835/18.58, allocations: 0.5247 MB / 5.489 GB, free: 47.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001916/18.58, allocations: 140.2 kB / 5.489 GB, free: 47.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009326/18.59, allocations: 2.519 MB / 5.492 GB, free: 47.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00741/18.59, allocations: 2.485 MB / 5.494 GB, free: 47.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.234e-05/18.59, allocations: 4.562 kB / 5.494 GB, free: 47.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003403/18.59, allocations: 3.688 kB / 5.494 GB, free: 47.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/18.6, allocations: 93.36 kB / 5.494 GB, free: 47.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0248/18.62, allocations: 13.79 MB / 5.508 GB, free: 39.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/18.62, allocations: 1.144 MB / 5.509 GB, free: 39.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/18.62, allocations: 0.4996 MB / 5.51 GB, free: 39.79 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003485/18.62, allocations: 120.4 kB / 5.51 GB, free: 39.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/18.62, allocations: 52.36 kB / 5.51 GB, free: 39.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00202/18.62, allocations: 145.2 kB / 5.51 GB, free: 39.58 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=96): time 4.669e-06/18.62, allocations: 0 / 5.51 GB, free: 39.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=96): time 0.004412/18.63, allocations: 1.489 MB / 5.511 GB, free: 39.42 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/18.63, allocations: 113.7 kB / 5.511 GB, free: 39.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00322/18.63, allocations: 1.611 MB / 5.513 GB, free: 39.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004571/18.63, allocations: 30.86 kB / 5.513 GB, free: 39.01 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001048/18.63, allocations: 1.419 MB / 5.514 GB, free: 38.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003065/18.63, allocations: 343.8 kB / 5.515 GB, free: 38.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/18.63, allocations: 6.062 kB / 5.515 GB, free: 38.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001488/18.63, allocations: 385.9 kB / 5.515 GB, free: 37.81 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/18.64, allocations: 0.67 MB / 5.516 GB, free: 37.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/18.64, allocations: 1.805 MB / 5.518 GB, free: 36.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/18.64, allocations: 1.232 MB / 5.519 GB, free: 36.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.207e-05/18.64, allocations: 8.531 kB / 5.519 GB, free: 36.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.00545/18.65, allocations: 2.69 MB / 5.521 GB, free: 36.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.003801/18.65, allocations: 13.44 MB / 5.534 GB, free: 22.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.434e-05/18.65, allocations: 37.66 kB / 5.535 GB, free: 22.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.891e-05/18.65, allocations: 52.53 kB / 5.535 GB, free: 22.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01165/18.66, allocations: 2.297 MB / 5.537 GB, free: 22.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004626/18.67, allocations: 3.085 MB / 5.54 GB, free: 19.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006008/18.67, allocations: 0.4992 MB / 5.54 GB, free: 19.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007265/18.67, allocations: 130.8 kB / 5.54 GB, free: 19.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/18.67, allocations: 7.031 kB / 5.54 GB, free: 19.7 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004949/18.68, allocations: 2.407 MB / 5.543 GB, free: 19.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.662e-05/18.68, allocations: 33.41 kB / 5.543 GB, free: 19.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.364e-05/18.68, allocations: 50.06 kB / 5.543 GB, free: 19.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/18.68, allocations: 0.6315 MB / 5.543 GB, free: 19.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-05/18.68, allocations: 69.14 kB / 5.544 GB, free: 19.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003965/18.68, allocations: 355.3 kB / 5.544 GB, free: 19.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/18.68, allocations: 128.8 kB / 5.544 GB, free: 19.64 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 8 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w,senMas3.i_x,senMas4.i_x,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (280): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008795/18.69, allocations: 209.8 kB / 5.544 GB, free: 19.46 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006513/18.69, allocations: 224 kB / 5.544 GB, free: 19.35 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002785/18.69, allocations: 1.385 MB / 5.546 GB, free: 19.27 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/18.69, allocations: 11.48 kB / 5.546 GB, free: 19.27 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/18.69, allocations: 2.906 kB / 5.546 GB, free: 19.27 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/18.69, allocations: 7.266 kB / 5.546 GB, free: 19.27 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/18.7, allocations: 4.522 MB / 5.55 GB, free: 18.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/18.7, allocations: 7.875 kB / 5.55 GB, free: 18.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009282/18.71, allocations: 1.854 MB / 5.552 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-05/18.71, allocations: 9.844 kB / 5.552 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000237/18.71, allocations: 15.58 kB / 5.552 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008525/18.72, allocations: 6.228 MB / 5.558 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.441e-05/18.72, allocations: 14.05 kB / 5.558 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004222/18.73, allocations: 1.885 MB / 5.56 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002117/18.73, allocations: 477.2 kB / 5.56 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009914/18.73, allocations: 9.672 kB / 5.56 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0037/18.73, allocations: 311.6 kB / 5.561 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/18.73, allocations: 79.58 kB / 5.561 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002474/18.73, allocations: 65.33 kB / 5.561 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002135/18.73, allocations: 1.128 MB / 5.562 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.81e-07/18.73, allocations: 0 / 5.562 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007891/18.74, allocations: 1.759 MB / 5.564 GB, free: 12.29 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01382/18.76, allocations: 8.241 MB / 5.572 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01748/18.77, allocations: 5.078 MB / 5.577 GB, free: 22.62 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.597e-05/18.77, allocations: 5.531 kB / 5.577 GB, free: 22.62 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0143/18.79, allocations: 2.996 MB / 5.58 GB, free: 22.48 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005104/18.79, allocations: 0.7178 MB / 5.58 GB, free: 22.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006829/18.8, allocations: 2.956 MB / 5.583 GB, free: 21.46 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/18.8, allocations: 1.719 MB / 5.585 GB, free: 20.7 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.005299/18.81, allocations: 0.8509 MB / 5.586 GB, free: 20.52 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004213/18.81, allocations: 131.1 kB / 5.586 GB, free: 20.51 MB / 0.7448 GB Notification: Performance of SimCode: time 1.512e-06/18.81, allocations: 0 / 5.586 GB, free: 20.51 MB / 0.7448 GB Notification: Performance of Templates: time 0.1355/18.94, allocations: 70.91 MB / 5.655 GB, free: 2.512 MB / 0.7605 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)