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/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.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") [/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.2132/0.2169, allocations: 80.84 MB / 0.5899 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7367/0.9536, allocations: 324.4 MB / 0.9066 GB, free: 9.195 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04391/0.9977, allocations: 28.69 MB / 0.9347 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006781/1.004, allocations: 91.38 kB / 0.9347 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.008025/1.013, allocations: 1.773 MB / 0.9365 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01734/1.03, allocations: 4.46 MB / 0.9408 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01328/1.043, allocations: 4.253 MB / 0.945 GB, free: 1.891 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01222/1.055, allocations: 7.211 MB / 0.952 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007428/1.063, allocations: 2.914 MB / 0.9549 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01771/1.081, allocations: 5.244 MB / 0.96 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5467/1.627, allocations: 2.743 MB / 0.9627 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002723/1.63, allocations: 336.5 kB / 0.963 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01117/1.641, allocations: 4.16 MB / 0.967 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002951/1.644, allocations: 1.179 MB / 0.9682 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005259/1.65, allocations: 1.837 MB / 0.97 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01765/1.667, allocations: 6.055 MB / 0.9759 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/1.667, allocations: 1.031 kB / 0.9759 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.396e-06/1.667, allocations: 0 / 0.9759 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002081/1.668, allocations: 1.125 kB / 0.9759 GB, free: 11.36 MB / 0.7169 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.0133/1.681, allocations: 3.885 MB / 0.9797 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/1.681, allocations: 9.312 kB / 0.9797 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/1.692, allocations: 1.431 MB / 0.9811 GB, free: 9.555 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005336/1.697, allocations: 1.851 MB / 0.9829 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001528/1.699, allocations: 0.5612 MB / 0.9835 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/1.7, allocations: 235.8 kB / 0.9837 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/1.71, allocations: 3.549 MB / 0.9872 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.056e-05/1.71, allocations: 6.094 kB / 0.9872 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004234/1.711, allocations: 99.09 kB / 0.9873 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/1.711, allocations: 93.06 kB / 0.9873 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00981/1.721, allocations: 3.546 MB / 0.9908 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02961/1.75, allocations: 14.55 MB / 1.005 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005177/1.756, allocations: 1.846 MB / 1.007 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/1.757, allocations: 0.7459 MB / 1.008 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004084/1.758, allocations: 139 kB / 1.008 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.303e-05/1.758, allocations: 60.31 kB / 1.008 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002229/1.76, allocations: 234.9 kB / 1.008 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=100): time 3.908e-06/1.76, allocations: 0 / 1.008 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=100): time 0.009568/1.77, allocations: 2.888 MB / 1.011 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.595e-05/1.77, allocations: 118.1 kB / 1.011 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005513/1.775, allocations: 2.568 MB / 1.013 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0007632/1.776, allocations: 58.89 kB / 1.013 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/1.777, allocations: 1.294 MB / 1.015 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005085/1.778, allocations: 358.9 kB / 1.015 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001524/1.779, allocations: 440.5 kB / 1.015 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.779, allocations: 301.1 kB / 1.016 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003354/1.783, allocations: 1.132 MB / 1.017 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004198/1.787, allocations: 1.863 MB / 1.019 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006305/1.793, allocations: 2.73 MB / 1.021 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-05/1.793, allocations: 5.75 kB / 1.021 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.009979/1.803, allocations: 3.338 MB / 1.025 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001863/1.804, allocations: 187.9 kB / 1.025 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.531e-05/1.804, allocations: 18.94 kB / 1.025 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.94e-05/1.804, allocations: 29.66 kB / 1.025 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01169/1.816, allocations: 1.93 MB / 1.027 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01519/1.831, allocations: 7.71 MB / 1.034 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005812/1.837, allocations: 494.7 kB / 1.035 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007293/1.837, allocations: 101.3 kB / 1.035 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004363/1.842, allocations: 1.467 MB / 1.036 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003488/1.845, allocations: 1.751 MB / 1.038 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005105/1.85, allocations: 2.537 MB / 1.04 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.632e-05/1.85, allocations: 5.062 kB / 1.04 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of matching and sorting (n=230) (initialization_lambda0): time 0.008815/1.859, allocations: 3.132 MB / 1.044 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001684/1.859, allocations: 189.4 kB / 1.044 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-05/1.86, allocations: 15.44 kB / 1.044 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.125e-05/1.86, allocations: 26.66 kB / 1.044 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002797/1.862, allocations: 0.5639 MB / 1.044 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.772e-05/1.862, allocations: 38.83 kB / 1.044 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005532/1.868, allocations: 450.6 kB / 1.045 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003438/1.868, allocations: 100.3 kB / 1.045 GB, free: 4.164 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 8 (senMas2.i_x,senMas1.i_x,senMas4.i_x,senMas3.i_x,masExcRev.i2_w,masExcRev.i1_w,masExcFor.i2_w,masExcFor.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001165/1.87, allocations: 314.3 kB / 1.045 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/1.871, allocations: 251.4 kB / 1.045 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006361/1.877, allocations: 2.033 MB / 1.047 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/1.877, allocations: 7.281 kB / 1.047 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.877, allocations: 4 kB / 1.047 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/1.877, allocations: 8.016 kB / 1.047 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01843/1.896, allocations: 5.182 MB / 1.052 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/1.896, allocations: 3.969 kB / 1.052 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01016/1.906, allocations: 1.63 MB / 1.054 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.297e-05/1.906, allocations: 7.875 kB / 1.054 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002641/1.906, allocations: 32.84 kB / 1.054 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01486/1.921, allocations: 7.572 MB / 1.061 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/1.921, allocations: 6.625 kB / 1.061 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007399/1.929, allocations: 2.125 MB / 1.064 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/1.931, allocations: 0.546 MB / 1.064 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001185/1.932, allocations: 17.62 kB / 1.064 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004187/1.937, allocations: 330.7 kB / 1.064 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003597/1.937, allocations: 79.81 kB / 1.065 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004245/1.937, allocations: 74.47 kB / 1.065 GB, free: 9.383 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00473/1.942, allocations: 1.766 MB / 1.066 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.942, allocations: 0 / 1.066 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.008359/1.951, allocations: 1.399 MB / 1.068 GB, free: 6.773 MB / 0.7481 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 (100): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001285/1.952, allocations: 321 kB / 1.068 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02189/1.974, allocations: 5.96 MB / 1.074 GB, free: 1.418 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.847e-05/1.974, allocations: 9.062 kB / 1.074 GB, free: 1.41 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.01776/1.992, allocations: 3.103 MB / 1.077 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009886/2.002, allocations: 1.251 MB / 1.078 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/2.014, allocations: 5.202 MB / 1.083 GB, free: 8.668 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002365/2.017, allocations: 1.667 MB / 1.085 GB, free: 7.02 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.006551/2.023, allocations: 0.7972 MB / 1.086 GB, free: 6.219 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/2.024, allocations: 187.9 kB / 1.086 GB, free: 6.043 MB / 0.7637 GB Notification: Performance of SimCode: time 1.583e-06/2.025, allocations: 0 / 1.086 GB, free: 6.043 MB / 0.7637 GB Notification: Performance of Templates: time 0.1004/2.125, allocations: 53.12 MB / 1.138 GB, free: 1.77 MB / 0.8106 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)