Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 199.1 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7365/0.7365, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 59.69 kB / 0.5018 GB, free: 3.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3748, allocations: 80.2 MB / 0.5801 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.66/1.035, allocations: 328.4 MB / 0.9008 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02857/1.063, allocations: 30.05 MB / 0.9301 GB, free: 464 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006002/1.069, allocations: 98.16 kB / 0.9302 GB, free: 464 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005816/1.075, allocations: 2.089 MB / 0.9323 GB, free: 424 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01393/1.089, allocations: 4.954 MB / 0.9371 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0104/1.1, allocations: 3.636 MB / 0.9406 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009088/1.109, allocations: 6.916 MB / 0.9474 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004096/1.113, allocations: 2.874 MB / 0.9502 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01253/1.126, allocations: 5.251 MB / 0.9553 GB, free: 5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004488/1.13, allocations: 2.411 MB / 0.9577 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007819/1.131, allocations: 300 kB / 0.958 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009736/1.141, allocations: 4.805 MB / 0.9627 GB, free: 14.72 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001711/1.142, allocations: 1.074 MB / 0.9637 GB, free: 13.68 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003632/1.146, allocations: 1.737 MB / 0.9654 GB, free: 11.98 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01165/1.158, allocations: 5.708 MB / 0.971 GB, free: 6.594 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/1.158, allocations: 11.88 kB / 0.971 GB, free: 6.582 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.264e-06/1.158, allocations: 0 / 0.971 GB, free: 6.582 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001992/1.158, allocations: 0 / 0.971 GB, free: 6.582 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.009656/1.168, allocations: 3.699 MB / 0.9746 GB, free: 2.848 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/1.168, allocations: 12.03 kB / 0.9746 GB, free: 2.836 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009917/1.178, allocations: 1.464 MB / 0.976 GB, free: 1.367 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004539/1.182, allocations: 1.979 MB / 0.978 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001337/1.183, allocations: 399.6 kB / 0.9784 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006388/1.184, allocations: 223.9 kB / 0.9786 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006939/1.191, allocations: 3.067 MB / 0.9816 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.711e-05/1.191, allocations: 6.062 kB / 0.9816 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003932/1.192, allocations: 91.2 kB / 0.9817 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.738e-05/1.192, allocations: 88 kB / 0.9817 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00728/1.199, allocations: 3.147 MB / 0.9848 GB, free: 8.281 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02601/1.225, allocations: 14.15 MB / 0.9986 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004376/1.229, allocations: 1.657 MB / 1 GB, free: 7.602 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/1.231, allocations: 0.7689 MB / 1.001 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006802/1.232, allocations: 323.1 kB / 1.001 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.327e-05/1.232, allocations: 51.56 kB / 1.001 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001411/1.233, allocations: 200.6 kB / 1.002 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 9.398e-06/1.233, allocations: 0 / 1.002 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of matching and sorting (n=110): time 0.006373/1.24, allocations: 2.366 MB / 1.004 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/1.24, allocations: 64.41 kB / 1.004 GB, free: 3.762 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004962/1.245, allocations: 2.537 MB / 1.006 GB, free: 1.207 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003069/1.245, allocations: 53.7 kB / 1.006 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001149/1.246, allocations: 1.277 MB / 1.008 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004123/1.247, allocations: 387.8 kB / 1.008 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009281/1.248, allocations: 395 kB / 1.008 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.582e-05/1.248, allocations: 301.1 kB / 1.009 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002674/1.251, allocations: 0.9806 MB / 1.01 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003198/1.254, allocations: 1.604 MB / 1.011 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004849/1.259, allocations: 2.275 MB / 1.013 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.18e-05/1.259, allocations: 4 kB / 1.013 GB, free: 9.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007279/1.266, allocations: 2.822 MB / 1.016 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.047e-05/1.266, allocations: 79.36 kB / 1.016 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/1.266, allocations: 16 kB / 1.016 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/1.266, allocations: 20 kB / 1.016 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003058/1.269, allocations: 0.576 MB / 1.017 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/1.271, allocations: 2.385 MB / 1.019 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/1.274, allocations: 316 kB / 1.02 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002664/1.275, allocations: 91.95 kB / 1.02 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00357/1.278, allocations: 1.417 MB / 1.021 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003149/1.281, allocations: 1.605 MB / 1.023 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005059/1.286, allocations: 2.268 MB / 1.025 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.639e-05/1.286, allocations: 4 kB / 1.025 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.007253/1.294, allocations: 2.813 MB / 1.028 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.202e-05/1.294, allocations: 75.39 kB / 1.028 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/1.294, allocations: 12 kB / 1.028 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/1.294, allocations: 24 kB / 1.028 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002563/1.296, allocations: 0.5226 MB / 1.028 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.697e-05/1.297, allocations: 30.45 kB / 1.028 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003725/1.3, allocations: 320.2 kB / 1.029 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002401/1.301, allocations: 99.95 kB / 1.029 GB, free: 9.695 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (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 (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * 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.0006454/1.301, allocations: 296.3 kB / 1.029 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000826/1.302, allocations: 260.8 kB / 1.029 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004961/1.307, allocations: 1.839 MB / 1.031 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/1.307, allocations: 16 kB / 1.031 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.307, allocations: 3.984 kB / 1.031 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/1.307, allocations: 3.984 kB / 1.031 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009898/1.317, allocations: 4.487 MB / 1.035 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/1.317, allocations: 4 kB / 1.035 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/1.319, allocations: 312.3 kB / 1.036 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.076e-05/1.319, allocations: 12 kB / 1.036 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-05/1.319, allocations: 35.92 kB / 1.036 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/1.32, allocations: 2.365 MB / 1.038 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.32, allocations: 11.09 kB / 1.038 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004721/1.325, allocations: 1.973 MB / 1.04 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/1.327, allocations: 0.5289 MB / 1.04 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000729/1.327, allocations: 31.88 kB / 1.04 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002761/1.33, allocations: 183.8 kB / 1.041 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/1.33, allocations: 84.78 kB / 1.041 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002266/1.33, allocations: 59.95 kB / 1.041 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00435/1.335, allocations: 1.758 MB / 1.043 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.6e-07/1.335, allocations: 4 kB / 1.043 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004026/1.339, allocations: 1.283 MB / 1.044 GB, free: 9.918 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (110): * Single equations (assignments): 106 * 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.0008974/1.34, allocations: 375.5 kB / 1.044 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0102/1.35, allocations: 3.797 MB / 1.048 GB, free: 5.875 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/1.35, allocations: 0 / 1.048 GB, free: 5.875 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002089/1.352, allocations: 0.8041 MB / 1.049 GB, free: 5.102 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006056/1.358, allocations: 1.198 MB / 1.05 GB, free: 3.969 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007783/1.366, allocations: 4.313 MB / 1.054 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/1.367, allocations: 1.689 MB / 1.056 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003835/1.371, allocations: 0.7855 MB / 1.056 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006896/1.372, allocations: 195.4 kB / 1.057 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of SimCode: time 1.112e-06/1.372, allocations: 0 / 1.057 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of Templates: time 0.08112/1.453, allocations: 47.7 MB / 1.103 GB, free: 13.95 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)