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.2224/0.2244, allocations: 80.82 MB / 0.5897 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7882/1.013, allocations: 326.1 MB / 0.9081 GB, free: 7.766 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03897/1.052, allocations: 29.05 MB / 0.9365 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005137/1.057, allocations: 91.38 kB / 0.9365 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.006679/1.064, allocations: 1.687 MB / 0.9382 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01518/1.079, allocations: 4.479 MB / 0.9426 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01416/1.093, allocations: 4.22 MB / 0.9467 GB, free: 192 kB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01712/1.11, allocations: 9.976 MB / 0.9564 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007356/1.118, allocations: 2.518 MB / 0.9589 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5144/1.632, allocations: 4.73 MB / 0.9635 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006991/1.639, allocations: 2.681 MB / 0.9661 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001427/1.64, allocations: 179.9 kB / 0.9663 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01182/1.652, allocations: 4.522 MB / 0.9707 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003301/1.656, allocations: 1.03 MB / 0.9717 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005102/1.661, allocations: 1.681 MB / 0.9734 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01252/1.673, allocations: 5.925 MB / 0.9791 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/1.673, allocations: 0 / 0.9791 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.824e-06/1.673, allocations: 3.938 kB / 0.9792 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000157/1.674, allocations: 0 / 0.9792 GB, free: 7.914 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.01056/1.684, allocations: 3.888 MB / 0.9829 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/1.684, allocations: 9.938 kB / 0.983 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/1.695, allocations: 1.43 MB / 0.9844 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004825/1.699, allocations: 1.853 MB / 0.9862 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001518/1.701, allocations: 0.562 MB / 0.9867 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/1.702, allocations: 234.4 kB / 0.9869 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009333/1.712, allocations: 3.555 MB / 0.9904 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.026e-05/1.712, allocations: 4.281 kB / 0.9904 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003842/1.712, allocations: 101.3 kB / 0.9905 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/1.712, allocations: 91.41 kB / 0.9906 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00944/1.722, allocations: 3.546 MB / 0.9941 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02502/1.747, allocations: 14.55 MB / 1.008 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005086/1.752, allocations: 1.842 MB / 1.01 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/1.753, allocations: 0.7454 MB / 1.011 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004063/1.754, allocations: 136.2 kB / 1.011 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/1.754, allocations: 66.28 kB / 1.011 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001869/1.756, allocations: 223.1 kB / 1.011 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=100): time 4.098e-06/1.756, allocations: 0 / 1.011 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=100): time 0.009136/1.765, allocations: 2.888 MB / 1.014 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/1.765, allocations: 115 kB / 1.014 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004388/1.769, allocations: 2.559 MB / 1.017 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005627/1.77, allocations: 64.48 kB / 1.017 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001004/1.771, allocations: 1.295 MB / 1.018 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000341/1.771, allocations: 359.3 kB / 1.018 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007899/1.772, allocations: 440.6 kB / 1.019 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.772, allocations: 302.6 kB / 1.019 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/1.775, allocations: 1.132 MB / 1.02 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003469/1.779, allocations: 1.863 MB / 1.022 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005418/1.784, allocations: 2.739 MB / 1.025 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.704e-05/1.784, allocations: 3.688 kB / 1.025 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.007911/1.792, allocations: 3.336 MB / 1.028 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/1.792, allocations: 192.1 kB / 1.028 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.13e-05/1.792, allocations: 16.84 kB / 1.028 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/1.792, allocations: 24.06 kB / 1.028 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01164/1.804, allocations: 1.933 MB / 1.03 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/1.818, allocations: 7.202 MB / 1.037 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006061/1.824, allocations: 498.1 kB / 1.037 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006768/1.825, allocations: 106.6 kB / 1.038 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003907/1.829, allocations: 1.463 MB / 1.039 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003208/1.832, allocations: 1.75 MB / 1.041 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004853/1.837, allocations: 2.533 MB / 1.043 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-05/1.837, allocations: 5.938 kB / 1.043 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=230) (initialization_lambda0): time 0.007424/1.844, allocations: 3.129 MB / 1.046 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001568/1.845, allocations: 191.6 kB / 1.046 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/1.845, allocations: 15.91 kB / 1.046 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/1.845, allocations: 24.59 kB / 1.046 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/1.847, allocations: 0.5651 MB / 1.047 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-05/1.847, allocations: 35.02 kB / 1.047 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004431/1.852, allocations: 445.6 kB / 1.047 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/1.852, allocations: 106.4 kB / 1.048 GB, free: 0.8359 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.0007945/1.853, allocations: 310.5 kB / 1.048 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006265/1.854, allocations: 251 kB / 1.048 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004833/1.858, allocations: 2.025 MB / 1.05 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/1.858, allocations: 9.875 kB / 1.05 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.858, allocations: 4 kB / 1.05 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/1.858, allocations: 5.859 kB / 1.05 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0152/1.874, allocations: 5.207 MB / 1.055 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/1.874, allocations: 7.188 kB / 1.055 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00981/1.883, allocations: 1.629 MB / 1.057 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.761e-05/1.884, allocations: 11.62 kB / 1.057 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001778/1.884, allocations: 29.78 kB / 1.057 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/1.897, allocations: 7.064 MB / 1.064 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.897, allocations: 6.625 kB / 1.064 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006048/1.903, allocations: 2.134 MB / 1.066 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002658/1.906, allocations: 0.5419 MB / 1.066 GB, free: 6.012 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001077/1.907, allocations: 25.72 kB / 1.066 GB, free: 6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004316/1.911, allocations: 327 kB / 1.067 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003979/1.912, allocations: 83.03 kB / 1.067 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003695/1.912, allocations: 78.22 kB / 1.067 GB, free: 5.566 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003842/1.916, allocations: 1.765 MB / 1.069 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/1.916, allocations: 0 / 1.069 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.006054/1.922, allocations: 1.384 MB / 1.07 GB, free: 2.973 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.0009399/1.923, allocations: 325.6 kB / 1.07 GB, free: 2.727 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01964/1.942, allocations: 5.778 MB / 1.076 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.561e-05/1.943, allocations: 1 kB / 1.076 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01704/1.96, allocations: 3.114 MB / 1.079 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007826/1.967, allocations: 1.248 MB / 1.08 GB, free: 9.898 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/1.978, allocations: 5.181 MB / 1.085 GB, free: 5.059 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001458/1.98, allocations: 1.67 MB / 1.087 GB, free: 3.402 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005178/1.985, allocations: 0.7999 MB / 1.088 GB, free: 2.637 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007625/1.986, allocations: 186.6 kB / 1.088 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of SimCode: time 1.633e-06/1.986, allocations: 4 kB / 1.088 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of Templates: time 0.08555/2.071, allocations: 51.72 MB / 1.138 GB, free: 15.56 MB / 0.8262 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)