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.8916/0.8916, allocations: 132.4 MB / 139.9 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009345/0.0009347, allocations: 174 kB / 171.8 MB, free: 2 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.509/1.509, allocations: 170.6 MB / 374.2 MB, free: 17.78 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001879/0.001879, allocations: 115.9 kB / 444.8 MB, free: 14.86 MB / 346.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.1838/0.1839, allocations: 73.42 MB / 0.6666 GB, free: 14.34 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.748/5.932, allocations: 2.152 GB / 2.819 GB, free: 84.43 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/5.933, allocations: 93.27 kB / 2.819 GB, free: 84.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 11.8/17.73, allocations: 2.663 GB / 5.482 GB, free: 51.19 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.974e-06/17.73, allocations: 0 / 5.482 GB, free: 51.19 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004616/17.73, allocations: 75 kB / 5.482 GB, free: 51.19 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.01677/17.75, allocations: 3.642 MB / 5.486 GB, free: 49.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 8.022e-05/17.75, allocations: 9.359 kB / 5.486 GB, free: 49.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01331/17.77, allocations: 1.154 MB / 5.487 GB, free: 49.58 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00884/17.77, allocations: 2.144 MB / 5.489 GB, free: 49.22 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001783/17.78, allocations: 0.5235 MB / 5.489 GB, free: 49.02 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001468/17.78, allocations: 146.7 kB / 5.49 GB, free: 49.02 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007859/17.79, allocations: 2.522 MB / 5.492 GB, free: 49.01 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008037/17.79, allocations: 2.476 MB / 5.494 GB, free: 48.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-05/17.79, allocations: 2.906 kB / 5.494 GB, free: 48.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007619/17.79, allocations: 4.875 kB / 5.494 GB, free: 48.62 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/17.79, allocations: 96.83 kB / 5.494 GB, free: 48.61 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02624/17.82, allocations: 13.79 MB / 5.508 GB, free: 41.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/17.82, allocations: 1.15 MB / 5.509 GB, free: 41.05 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007572/17.82, allocations: 0.4963 MB / 5.51 GB, free: 41.04 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003365/17.82, allocations: 125.5 kB / 5.51 GB, free: 40.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/17.82, allocations: 49.62 kB / 5.51 GB, free: 40.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002291/17.83, allocations: 142.7 kB / 5.51 GB, free: 40.83 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=96): time 8.425e-06/17.83, allocations: 1.438 kB / 5.51 GB, free: 40.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=96): time 0.004744/17.83, allocations: 1.496 MB / 5.511 GB, free: 40.67 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/17.83, allocations: 114 kB / 5.511 GB, free: 40.54 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004572/17.84, allocations: 1.603 MB / 5.513 GB, free: 40.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004117/17.84, allocations: 36.23 kB / 5.513 GB, free: 40.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001073/17.84, allocations: 1.408 MB / 5.514 GB, free: 39.58 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/17.84, allocations: 346.2 kB / 5.515 GB, free: 39.37 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/17.84, allocations: 4.906 kB / 5.515 GB, free: 39.37 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001303/17.84, allocations: 388.2 kB / 5.515 GB, free: 39.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/17.84, allocations: 0.67 MB / 5.516 GB, free: 39.06 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/17.84, allocations: 1.801 MB / 5.518 GB, free: 37.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002283/17.84, allocations: 1.236 MB / 5.519 GB, free: 37.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.086e-05/17.84, allocations: 11.84 kB / 5.519 GB, free: 37.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.004983/17.85, allocations: 2.682 MB / 5.521 GB, free: 37.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002927/17.85, allocations: 13.44 MB / 5.534 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.046e-05/17.85, allocations: 34 kB / 5.535 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.218e-05/17.85, allocations: 48.34 kB / 5.535 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01112/17.86, allocations: 2.303 MB / 5.537 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005114/17.87, allocations: 3.085 MB / 5.54 GB, free: 37 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00604/17.87, allocations: 0.5027 MB / 5.54 GB, free: 36.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000721/17.87, allocations: 134.4 kB / 5.54 GB, free: 36.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/17.87, allocations: 9.25 kB / 5.54 GB, free: 36.96 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004742/17.88, allocations: 2.402 MB / 5.543 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.894e-05/17.88, allocations: 32.56 kB / 5.543 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.575e-05/17.88, allocations: 50.56 kB / 5.543 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002436/17.88, allocations: 0.6289 MB / 5.543 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.813e-05/17.88, allocations: 69.98 kB / 5.544 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/17.89, allocations: 353.9 kB / 5.544 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/17.89, allocations: 128.4 kB / 5.544 GB, free: 36.91 MB / 0.7448 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.0008599/17.89, allocations: 212 kB / 5.544 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006484/17.89, allocations: 219.8 kB / 5.544 GB, free: 36.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/17.89, allocations: 1.392 MB / 5.546 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/17.89, allocations: 11.58 kB / 5.546 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/17.89, allocations: 3.312 kB / 5.546 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/17.89, allocations: 6.188 kB / 5.546 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/17.9, allocations: 4.529 MB / 5.55 GB, free: 36.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/17.9, allocations: 3.031 kB / 5.55 GB, free: 36.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009492/17.91, allocations: 1.852 MB / 5.552 GB, free: 36.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-05/17.91, allocations: 8.25 kB / 5.552 GB, free: 36.1 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/17.91, allocations: 20.92 kB / 5.552 GB, free: 36.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008962/17.92, allocations: 6.229 MB / 5.558 GB, free: 31.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/17.92, allocations: 7.094 kB / 5.558 GB, free: 31.08 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003352/17.93, allocations: 1.893 MB / 5.56 GB, free: 30.21 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/17.93, allocations: 474.4 kB / 5.56 GB, free: 30 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003044/17.93, allocations: 7.891 kB / 5.56 GB, free: 30 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/17.93, allocations: 313.8 kB / 5.561 GB, free: 30 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/17.93, allocations: 80.94 kB / 5.561 GB, free: 29.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/17.93, allocations: 60.8 kB / 5.561 GB, free: 29.99 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002089/17.93, allocations: 1.129 MB / 5.562 GB, free: 29.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/17.93, allocations: 0 / 5.562 GB, free: 29.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.009133/17.94, allocations: 1.753 MB / 5.564 GB, free: 29.67 MB / 0.7448 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.01298/17.95, allocations: 8.244 MB / 5.572 GB, free: 25.46 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01532/17.97, allocations: 5.07 MB / 5.577 GB, free: 24.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.792e-05/17.97, allocations: 4.281 kB / 5.577 GB, free: 24.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.01408/17.98, allocations: 3.005 MB / 5.58 GB, free: 24.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004625/17.99, allocations: 0.7102 MB / 5.58 GB, free: 24.65 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006316/17.99, allocations: 2.963 MB / 5.583 GB, free: 23.72 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/18, allocations: 1.717 MB / 5.585 GB, free: 22.99 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004838/18, allocations: 0.8509 MB / 5.586 GB, free: 22.95 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/18, allocations: 134.9 kB / 5.586 GB, free: 22.94 MB / 0.7448 GB Notification: Performance of SimCode: time 1.222e-06/18, allocations: 0 / 5.586 GB, free: 22.94 MB / 0.7448 GB Notification: Performance of Templates: time 0.1161/18.12, allocations: 70.91 MB / 5.655 GB, free: 15.53 MB / 0.7448 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)