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.2025/0.2033, allocations: 82.21 MB / 0.5934 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7/0.9033, allocations: 265.1 MB / 0.8523 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0349/0.9382, allocations: 26 MB / 0.8777 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00405/0.9423, allocations: 79.38 kB / 0.8777 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007073/0.9494, allocations: 1.665 MB / 0.8794 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01526/0.9647, allocations: 4.224 MB / 0.8835 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01011/0.9749, allocations: 3.237 MB / 0.8866 GB, free: 3.34 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009325/0.9842, allocations: 3.989 MB / 0.8905 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004622/0.9889, allocations: 2.343 MB / 0.8928 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01073/0.9996, allocations: 3.603 MB / 0.8964 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004931/1.005, allocations: 1.779 MB / 0.8981 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008952/1.006, allocations: 148 kB / 0.8982 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005884/1.011, allocations: 1.732 MB / 0.8999 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001469/1.013, allocations: 0.8997 MB / 0.9008 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0015/1.014, allocations: 0.6525 MB / 0.9014 GB, free: 4.121 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005993/1.02, allocations: 3.725 MB / 0.9051 GB, free: 396 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.02, allocations: 0 / 0.9051 GB, free: 396 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.575e-06/1.02, allocations: 0 / 0.9051 GB, free: 396 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001118/1.021, allocations: 0 / 0.9051 GB, free: 396 kB / 0.6544 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.007612/1.028, allocations: 3.165 MB / 0.9082 GB, free: 13.12 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.028, allocations: 12.02 kB / 0.9082 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009205/1.037, allocations: 1.542 MB / 0.9097 GB, free: 11.56 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003697/1.041, allocations: 1.772 MB / 0.9114 GB, free: 9.738 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001428/1.043, allocations: 0.6077 MB / 0.912 GB, free: 9.09 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00047/1.043, allocations: 236 kB / 0.9122 GB, free: 8.859 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00809/1.051, allocations: 3.61 MB / 0.9158 GB, free: 5.102 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/1.051, allocations: 3.938 kB / 0.9158 GB, free: 5.098 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002727/1.052, allocations: 104 kB / 0.9159 GB, free: 4.996 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.834e-05/1.052, allocations: 96.19 kB / 0.916 GB, free: 4.898 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008747/1.06, allocations: 3.65 MB / 0.9195 GB, free: 1.23 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02468/1.085, allocations: 14.78 MB / 0.9339 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005444/1.091, allocations: 1.926 MB / 0.9358 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004123/1.091, allocations: 158.2 kB / 0.936 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/1.091, allocations: 51.84 kB / 0.936 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001794/1.093, allocations: 221.8 kB / 0.9362 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=100): time 5.25e-06/1.093, allocations: 3.938 kB / 0.9362 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of matching and sorting (n=100): time 0.009149/1.102, allocations: 3.039 MB / 0.9392 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/1.102, allocations: 116.7 kB / 0.9393 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00385/1.106, allocations: 2.569 MB / 0.9418 GB, free: 9.172 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002927/1.106, allocations: 57.7 kB / 0.9419 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001007/1.107, allocations: 1.291 MB / 0.9431 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003793/1.108, allocations: 359 kB / 0.9435 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/1.108, allocations: 36 kB / 0.9435 GB, free: 7.41 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.108, allocations: 377.9 kB / 0.9439 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003082/1.111, allocations: 1.171 MB / 0.945 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003782/1.115, allocations: 1.91 MB / 0.9469 GB, free: 3.645 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003365/1.118, allocations: 1.504 MB / 0.9484 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/1.118, allocations: 4 kB / 0.9484 GB, free: 2.098 MB / 0.7012 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.008228/1.127, allocations: 3.429 MB / 0.9517 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.003272/1.13, allocations: 7.145 MB / 0.9587 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-05/1.13, allocations: 23.98 kB / 0.9587 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.456e-05/1.13, allocations: 28.28 kB / 0.9587 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01172/1.142, allocations: 2.216 MB / 0.9609 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3066/1.448, allocations: 7.683 MB / 0.9684 GB, free: 276.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004522/1.453, allocations: 0.5366 MB / 0.9689 GB, free: 276.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/1.453, allocations: 105.6 kB / 0.969 GB, free: 276.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/1.453, allocations: 6 kB / 0.969 GB, free: 276.8 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005597/1.459, allocations: 2.977 MB / 0.9719 GB, free: 276.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/1.459, allocations: 16.16 kB / 0.972 GB, free: 276.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/1.459, allocations: 28.62 kB / 0.972 GB, free: 276.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/1.461, allocations: 0.583 MB / 0.9726 GB, free: 276.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.646e-05/1.461, allocations: 39.34 kB / 0.9726 GB, free: 276.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003201/1.464, allocations: 414.9 kB / 0.973 GB, free: 276.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/1.465, allocations: 103.4 kB / 0.9731 GB, free: 276.5 MB / 0.7169 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 (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 (228): * Single equations (assignments): 218 * 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.00147/1.466, allocations: 0.6311 MB / 0.9737 GB, free: 276.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005185/1.467, allocations: 262.9 kB / 0.974 GB, free: 276.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005103/1.472, allocations: 2.098 MB / 0.976 GB, free: 276.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/1.472, allocations: 8.312 kB / 0.976 GB, free: 276.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.472, allocations: 1.281 kB / 0.976 GB, free: 276.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/1.472, allocations: 8.062 kB / 0.976 GB, free: 276.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/1.487, allocations: 5.441 MB / 0.9813 GB, free: 275.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/1.487, allocations: 7.5 kB / 0.9813 GB, free: 275.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01043/1.498, allocations: 1.893 MB / 0.9832 GB, free: 275.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-05/1.498, allocations: 8.594 kB / 0.9832 GB, free: 275.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/1.498, allocations: 32.81 kB / 0.9832 GB, free: 275.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01254/1.511, allocations: 7.544 MB / 0.9906 GB, free: 270.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/1.511, allocations: 12.42 kB / 0.9906 GB, free: 270.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00541/1.516, allocations: 2.556 MB / 0.9931 GB, free: 269.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/1.517, allocations: 0.5643 MB / 0.9937 GB, free: 269 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003459/1.518, allocations: 28.66 kB / 0.9937 GB, free: 269 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002806/1.52, allocations: 370.6 kB / 0.994 GB, free: 268.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/1.521, allocations: 82.89 kB / 0.9941 GB, free: 268.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/1.521, allocations: 75.48 kB / 0.9942 GB, free: 268.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002575/1.523, allocations: 1.76 MB / 0.9959 GB, free: 267.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/1.523, allocations: 0 / 0.9959 GB, free: 267.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00368/1.527, allocations: 1.397 MB / 0.9973 GB, free: 267.8 MB / 0.7169 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 (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.0006306/1.528, allocations: 315.9 kB / 0.9976 GB, free: 267.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01706/1.545, allocations: 6.185 MB / 1.004 GB, free: 264.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/1.545, allocations: 4.25 kB / 1.004 GB, free: 264.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01526/1.56, allocations: 3.492 MB / 1.007 GB, free: 262 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005336/1.565, allocations: 1.239 MB / 1.008 GB, free: 260.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006065/1.572, allocations: 4.992 MB / 1.013 GB, free: 255.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007614/1.572, allocations: 1.711 MB / 1.015 GB, free: 254 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003148/1.575, allocations: 0.8 MB / 1.016 GB, free: 253.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004703/1.576, allocations: 191.4 kB / 1.016 GB, free: 253 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/1.576, allocations: 0 / 1.016 GB, free: 253 MB / 0.7169 GB Notification: Performance of Templates: time 0.06064/1.637, allocations: 49.66 MB / 1.064 GB, free: 203.9 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: