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.7965/0.7965, allocations: 133.7 MB / 148.6 MB, free: 13.63 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.001142/0.001142, allocations: 180 kB / 180.9 MB, free: 15.06 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.524/1.524, allocations: 170.7 MB / 383.7 MB, free: 16.11 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.001632/0.001632, allocations: 117.5 kB / 454.6 MB, free: 9.688 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.1771/0.1777, allocations: 73.41 MB / 0.6812 GB, free: 5.551 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.281/5.459, allocations: 2.153 GB / 2.834 GB, free: 51.88 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003869/5.459, allocations: 95.95 kB / 2.834 GB, free: 51.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 10.69/16.15, allocations: 2.696 GB / 5.53 GB, free: 57.91 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.016e-06/16.15, allocations: 0 / 5.53 GB, free: 57.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004225/16.15, allocations: 72.22 kB / 5.53 GB, free: 57.89 MB / 0.7448 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.02169/16.17, allocations: 4.026 MB / 5.534 GB, free: 56.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.759e-05/16.17, allocations: 10.02 kB / 5.534 GB, free: 56.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/16.19, allocations: 1.157 MB / 5.535 GB, free: 56.06 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008059/16.19, allocations: 2.154 MB / 5.537 GB, free: 55.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001672/16.2, allocations: 0.6042 MB / 5.538 GB, free: 55.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001518/16.2, allocations: 238.2 kB / 5.538 GB, free: 55.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/16.21, allocations: 3.624 MB / 5.542 GB, free: 54.97 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-05/16.21, allocations: 3.188 kB / 5.542 GB, free: 54.97 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005286/16.21, allocations: 101.1 kB / 5.542 GB, free: 54.97 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001261/16.21, allocations: 94.45 kB / 5.542 GB, free: 54.96 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01166/16.22, allocations: 3.667 MB / 5.546 GB, free: 54.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03081/16.25, allocations: 14.21 MB / 5.559 GB, free: 47.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004938/16.26, allocations: 1.81 MB / 5.561 GB, free: 47.26 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003646/16.26, allocations: 119 kB / 5.561 GB, free: 47.17 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.361e-05/16.26, allocations: 52.72 kB / 5.561 GB, free: 47.13 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002505/16.26, allocations: 180 kB / 5.562 GB, free: 47.05 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=96): time 7.825e-06/16.26, allocations: 0 / 5.562 GB, free: 47.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=96): time 0.008908/16.27, allocations: 2.665 MB / 5.564 GB, free: 46.87 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/16.27, allocations: 112.8 kB / 5.564 GB, free: 46.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004406/16.27, allocations: 1.973 MB / 5.566 GB, free: 46.49 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0005858/16.27, allocations: 59.33 kB / 5.566 GB, free: 46.46 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001257/16.28, allocations: 1.418 MB / 5.568 GB, free: 45.8 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003754/16.28, allocations: 363.7 kB / 5.568 GB, free: 45.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/16.28, allocations: 48.84 kB / 5.568 GB, free: 45.59 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001765/16.28, allocations: 391.8 kB / 5.568 GB, free: 45.29 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002972/16.28, allocations: 1.074 MB / 5.569 GB, free: 45.28 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004488/16.28, allocations: 2.228 MB / 5.572 GB, free: 43.88 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004211/16.29, allocations: 1.496 MB / 5.573 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.492e-05/16.29, allocations: 11.44 kB / 5.573 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.009955/16.3, allocations: 3.521 MB / 5.577 GB, free: 43.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.004585/16.3, allocations: 13.53 MB / 5.59 GB, free: 29.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.631e-05/16.3, allocations: 35.94 kB / 5.59 GB, free: 29.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001258/16.3, allocations: 51.59 kB / 5.59 GB, free: 29.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01242/16.32, allocations: 2.189 MB / 5.592 GB, free: 29.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005998/16.32, allocations: 3.389 MB / 5.595 GB, free: 26.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006778/16.33, allocations: 0.5421 MB / 5.596 GB, free: 26.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008982/16.33, allocations: 142.4 kB / 5.596 GB, free: 26.8 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/16.33, allocations: 5.219 kB / 5.596 GB, free: 26.8 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008147/16.34, allocations: 3.068 MB / 5.599 GB, free: 26.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001606/16.34, allocations: 34.7 kB / 5.599 GB, free: 26.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001094/16.34, allocations: 54.19 kB / 5.599 GB, free: 26.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/16.34, allocations: 0.6295 MB / 5.6 GB, free: 26.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001311/16.34, allocations: 66.88 kB / 5.6 GB, free: 26.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005689/16.35, allocations: 405 kB / 5.6 GB, free: 26.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006285/16.35, allocations: 134.4 kB / 5.6 GB, free: 26.56 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 () * Number of clocked 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.003797/16.35, allocations: 0.6785 MB / 5.601 GB, free: 26.35 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/16.35, allocations: 228.3 kB / 5.601 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006171/16.36, allocations: 1.844 MB / 5.603 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/16.36, allocations: 9.469 kB / 5.603 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/16.36, allocations: 0 / 5.603 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/16.36, allocations: 7 kB / 5.603 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02266/16.38, allocations: 5.222 MB / 5.608 GB, free: 25.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/16.38, allocations: 4.406 kB / 5.608 GB, free: 25.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0107/16.39, allocations: 1.852 MB / 5.61 GB, free: 25.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.305e-05/16.39, allocations: 6.969 kB / 5.61 GB, free: 25.64 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003498/16.39, allocations: 35.38 kB / 5.61 GB, free: 25.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01468/16.41, allocations: 7.631 MB / 5.617 GB, free: 20.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.5e-05/16.41, allocations: 7.562 kB / 5.617 GB, free: 20.38 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007089/16.41, allocations: 2.32 MB / 5.62 GB, free: 19.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002868/16.42, allocations: 490.4 kB / 5.62 GB, free: 19.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001407/16.42, allocations: 22.19 kB / 5.62 GB, free: 19.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004156/16.42, allocations: 332.7 kB / 5.62 GB, free: 19.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003812/16.42, allocations: 80.39 kB / 5.62 GB, free: 19.26 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003592/16.42, allocations: 65.03 kB / 5.621 GB, free: 19.26 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004819/16.43, allocations: 1.462 MB / 5.622 GB, free: 19.11 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.6e-07/16.43, allocations: 0 / 5.622 GB, free: 19.11 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01534/16.44, allocations: 2.035 MB / 5.624 GB, free: 18.95 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 () * Number of clocked 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.01619/16.46, allocations: 7.622 MB / 5.631 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.02309/16.48, allocations: 5.981 MB / 5.637 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.882e-05/16.48, allocations: 12.17 kB / 5.637 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.01844/16.5, allocations: 3.273 MB / 5.64 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00703/16.51, allocations: 0.8435 MB / 5.641 GB, free: 13 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/16.52, allocations: 5.007 MB / 5.646 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002807/16.53, allocations: 1.708 MB / 5.648 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.006257/16.53, allocations: 0.7789 MB / 5.649 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009982/16.53, allocations: 164.6 kB / 5.649 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of SimCode: time 1.723e-06/16.53, allocations: 0 / 5.649 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of Templates: time 0.963/17.5, allocations: 105.8 MB / 5.752 GB, free: 89.34 MB / 0.7761 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)