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.7283/0.7283, allocations: 132.3 MB / 144.9 MB, free: 10.54 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.001012/0.001012, allocations: 180.6 kB / 176.9 MB, free: 2.25 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.44/1.44, allocations: 170.5 MB / 379.3 MB, free: 11.87 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.00173/0.001729, allocations: 121.4 kB / 450 MB, free: 5.828 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.5017/0.5018, allocations: 73.39 MB / 0.6736 GB, free: 47.68 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.381/4.883, allocations: 2.153 GB / 2.826 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/4.883, allocations: 92.84 kB / 2.827 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.966/14.85, allocations: 2.693 GB / 5.52 GB, free: 43.81 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.913e-06/14.85, allocations: 1.25 kB / 5.52 GB, free: 43.81 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002268/14.85, allocations: 68.23 kB / 5.52 GB, free: 43.8 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.01224/14.86, allocations: 3.654 MB / 5.524 GB, free: 42.05 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/14.86, allocations: 12.09 kB / 5.524 GB, free: 42.05 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009283/14.87, allocations: 1.151 MB / 5.525 GB, free: 41.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005682/14.88, allocations: 2.151 MB / 5.527 GB, free: 41.39 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001354/14.88, allocations: 0.6033 MB / 5.527 GB, free: 41.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008191/14.88, allocations: 234.4 kB / 5.528 GB, free: 41.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006735/14.89, allocations: 3.161 MB / 5.531 GB, free: 40.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.641e-05/14.89, allocations: 10.62 kB / 5.531 GB, free: 40.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003585/14.89, allocations: 96.42 kB / 5.531 GB, free: 40.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.608e-05/14.89, allocations: 97.55 kB / 5.531 GB, free: 40.79 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005496/14.89, allocations: 2.968 MB / 5.534 GB, free: 40.76 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02116/14.91, allocations: 14.22 MB / 5.548 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003373/14.92, allocations: 1.424 MB / 5.549 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007978/14.92, allocations: 0.5348 MB / 5.55 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003485/14.92, allocations: 120.2 kB / 5.55 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.062e-05/14.92, allocations: 56.28 kB / 5.55 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002036/14.92, allocations: 175.3 kB / 5.55 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=96): time 6.512e-06/14.92, allocations: 5.5 kB / 5.55 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=96): time 0.004523/14.92, allocations: 1.624 MB / 5.551 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/14.92, allocations: 116.4 kB / 5.552 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/14.93, allocations: 1.833 MB / 5.553 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002792/14.93, allocations: 56.2 kB / 5.553 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007593/14.93, allocations: 1.432 MB / 5.555 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/14.93, allocations: 358.6 kB / 5.555 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/14.93, allocations: 50.72 kB / 5.555 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001215/14.93, allocations: 393.2 kB / 5.556 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/14.93, allocations: 0.7202 MB / 5.556 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/14.93, allocations: 1.867 MB / 5.558 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/14.93, allocations: 1.154 MB / 5.559 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.595e-05/14.93, allocations: 8.188 kB / 5.559 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.003814/14.94, allocations: 2.812 MB / 5.562 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002299/14.94, allocations: 13.53 MB / 5.575 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.739e-05/14.94, allocations: 32.44 kB / 5.575 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.882e-05/14.94, allocations: 52.22 kB / 5.575 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009923/14.95, allocations: 2.188 MB / 5.577 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004721/14.95, allocations: 3.069 MB / 5.58 GB, free: 28.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005089/14.96, allocations: 0.541 MB / 5.581 GB, free: 28.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005477/14.96, allocations: 130.7 kB / 5.581 GB, free: 28.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/14.96, allocations: 3.406 kB / 5.581 GB, free: 28.34 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003606/14.96, allocations: 2.58 MB / 5.584 GB, free: 27.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.153e-05/14.96, allocations: 36.86 kB / 5.584 GB, free: 27.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.003e-05/14.96, allocations: 48.84 kB / 5.584 GB, free: 27.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/14.96, allocations: 0.6296 MB / 5.584 GB, free: 27.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.311e-05/14.96, allocations: 71.03 kB / 5.584 GB, free: 27.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003334/14.97, allocations: 401.8 kB / 5.585 GB, free: 27.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/14.97, allocations: 126.3 kB / 5.585 GB, free: 27.84 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.0006923/14.97, allocations: 266.6 kB / 5.585 GB, free: 27.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/14.97, allocations: 225.2 kB / 5.585 GB, free: 27.56 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/14.97, allocations: 1.356 MB / 5.587 GB, free: 27.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/14.97, allocations: 12.78 kB / 5.587 GB, free: 27.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/14.97, allocations: 3.875 kB / 5.587 GB, free: 27.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/14.97, allocations: 6.203 kB / 5.587 GB, free: 27.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/14.98, allocations: 4.752 MB / 5.591 GB, free: 26.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/14.98, allocations: 6.812 kB / 5.591 GB, free: 26.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008851/14.99, allocations: 1.854 MB / 5.593 GB, free: 26.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/14.99, allocations: 7.719 kB / 5.593 GB, free: 26.81 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/14.99, allocations: 24.39 kB / 5.593 GB, free: 26.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008708/15, allocations: 6.431 MB / 5.599 GB, free: 21.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/15, allocations: 10.38 kB / 5.599 GB, free: 21.44 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002828/15, allocations: 1.837 MB / 5.601 GB, free: 20.55 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/15, allocations: 490.7 kB / 5.602 GB, free: 20.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002559/15, allocations: 17.09 kB / 5.602 GB, free: 20.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002323/15.01, allocations: 331.9 kB / 5.602 GB, free: 20.3 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/15.01, allocations: 74.94 kB / 5.602 GB, free: 20.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/15.01, allocations: 63.34 kB / 5.602 GB, free: 20.3 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001977/15.01, allocations: 1.335 MB / 5.604 GB, free: 20.13 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/15.01, allocations: 3.906 kB / 5.604 GB, free: 20.13 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006959/15.02, allocations: 2.03 MB / 5.605 GB, free: 19.97 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.01032/15.03, allocations: 7.613 MB / 5.613 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01355/15.04, allocations: 5.205 MB / 5.618 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/15.04, allocations: 4.125 kB / 5.618 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.01338/15.05, allocations: 3.032 MB / 5.621 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004439/15.06, allocations: 0.8513 MB / 5.622 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00514/15.06, allocations: 3.058 MB / 5.625 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/15.06, allocations: 1.713 MB / 5.626 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004177/15.07, allocations: 0.9171 MB / 5.627 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003829/15.07, allocations: 136.8 kB / 5.627 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of SimCode: time 8.91e-07/15.07, allocations: 0 / 5.627 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of Templates: time 0.7683/15.84, allocations: 123.4 MB / 5.748 GB, free: 77.48 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)