Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001067/0.001067, allocations: 103.4 kB / 15.33 MB, free: 0.5039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 199.7 kB / 16.26 MB, free: 6.625 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.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9562/0.9562, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 55.53 kB / 0.5048 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.178, allocations: 80.94 MB / 0.5839 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.003/1.181, allocations: 324.7 MB / 0.901 GB, free: 1.328 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03509/1.216, allocations: 29.86 MB / 0.9301 GB, free: 1.113 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003657/1.22, allocations: 91.75 kB / 0.9302 GB, free: 1.113 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004992/1.225, allocations: 1.855 MB / 0.932 GB, free: 1.074 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0123/1.237, allocations: 4.633 MB / 0.9365 GB, free: 0.8516 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01004/1.247, allocations: 3.385 MB / 0.9398 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01325/1.26, allocations: 6.943 MB / 0.9466 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006011/1.266, allocations: 2.801 MB / 0.9494 GB, free: 16.31 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01333/1.28, allocations: 5.231 MB / 0.9545 GB, free: 16.16 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005119/1.285, allocations: 2.541 MB / 0.9569 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001213/1.286, allocations: 299.2 kB / 0.9572 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009477/1.295, allocations: 5.079 MB / 0.9622 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001632/1.297, allocations: 1.077 MB / 0.9632 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003412/1.301, allocations: 1.747 MB / 0.9649 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01047/1.311, allocations: 6.037 MB / 0.9708 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.311, allocations: 2.844 kB / 0.9708 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.126e-06/1.311, allocations: 0 / 0.9708 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.756e-05/1.311, allocations: 3.938 kB / 0.9709 GB, free: 12.59 MB / 0.6856 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.007436/1.319, allocations: 3.705 MB / 0.9745 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/1.319, allocations: 9.25 kB / 0.9745 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009984/1.329, allocations: 1.464 MB / 0.9759 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004323/1.333, allocations: 1.981 MB / 0.9778 GB, free: 9.008 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001247/1.334, allocations: 397.1 kB / 0.9782 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006541/1.335, allocations: 222.3 kB / 0.9784 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006559/1.341, allocations: 3.067 MB / 0.9814 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.093e-05/1.342, allocations: 6.844 kB / 0.9814 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002959/1.342, allocations: 92 kB / 0.9815 GB, free: 5.648 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-05/1.342, allocations: 92 kB / 0.9816 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00703/1.349, allocations: 3.141 MB / 0.9847 GB, free: 2.418 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.0232/1.372, allocations: 14.1 MB / 0.9984 GB, free: 3.461 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003973/1.376, allocations: 1.648 MB / 1 GB, free: 1.816 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/1.378, allocations: 0.7767 MB / 1.001 GB, free: 1.039 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006111/1.379, allocations: 315.2 kB / 1.001 GB, free: 0.6797 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/1.379, allocations: 55.56 kB / 1.001 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001295/1.38, allocations: 197.9 kB / 1.001 GB, free: 436 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 4.398e-06/1.38, allocations: 4 kB / 1.001 GB, free: 432 kB / 0.7012 GB Notification: Performance of matching and sorting (n=110): time 0.005856/1.386, allocations: 2.362 MB / 1.004 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/1.386, allocations: 60.41 kB / 1.004 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003865/1.39, allocations: 2.544 MB / 1.006 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002545/1.39, allocations: 57.7 kB / 1.006 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009654/1.391, allocations: 1.265 MB / 1.007 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003297/1.391, allocations: 394.8 kB / 1.008 GB, free: 9.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006837/1.392, allocations: 391 kB / 1.008 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.392, allocations: 309.1 kB / 1.009 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002593/1.395, allocations: 0.9689 MB / 1.009 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003104/1.398, allocations: 1.613 MB / 1.011 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004795/1.403, allocations: 2.272 MB / 1.013 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/1.403, allocations: 4 kB / 1.013 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006945/1.41, allocations: 2.824 MB / 1.016 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.808e-05/1.41, allocations: 73.92 kB / 1.016 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/1.41, allocations: 15.94 kB / 1.016 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.692e-05/1.41, allocations: 24 kB / 1.016 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003033/1.413, allocations: 0.568 MB / 1.017 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/1.414, allocations: 2.391 MB / 1.019 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004039/1.418, allocations: 403.5 kB / 1.019 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002677/1.419, allocations: 95.95 kB / 1.02 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00335/1.422, allocations: 1.41 MB / 1.021 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002998/1.425, allocations: 1.606 MB / 1.022 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004574/1.43, allocations: 2.267 MB / 1.025 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.678e-06/1.43, allocations: 4 kB / 1.025 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006766/1.436, allocations: 2.822 MB / 1.027 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.821e-05/1.436, allocations: 71.39 kB / 1.028 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/1.436, allocations: 16 kB / 1.028 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/1.436, allocations: 20.75 kB / 1.028 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002599/1.439, allocations: 0.5154 MB / 1.028 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-05/1.439, allocations: 29.89 kB / 1.028 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003804/1.443, allocations: 415.9 kB / 1.028 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/1.443, allocations: 87.97 kB / 1.029 GB, free: 3.793 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.000523/1.444, allocations: 304.3 kB / 1.029 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005994/1.444, allocations: 260.7 kB / 1.029 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004463/1.449, allocations: 1.839 MB / 1.031 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.449, allocations: 12 kB / 1.031 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.449, allocations: 0 / 1.031 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/1.449, allocations: 3.984 kB / 1.031 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008644/1.457, allocations: 4.491 MB / 1.035 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.458, allocations: 4.75 kB / 1.035 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/1.459, allocations: 309.9 kB / 1.036 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.636e-05/1.459, allocations: 8 kB / 1.036 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/1.459, allocations: 39.97 kB / 1.036 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/1.461, allocations: 2.358 MB / 1.038 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/1.461, allocations: 14.88 kB / 1.038 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004233/1.465, allocations: 1.975 MB / 1.04 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/1.466, allocations: 0.5211 MB / 1.04 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006353/1.467, allocations: 35.97 kB / 1.04 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002949/1.47, allocations: 274.5 kB / 1.041 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/1.47, allocations: 82.59 kB / 1.041 GB, free: 7.051 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/1.47, allocations: 63.95 kB / 1.041 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003049/1.473, allocations: 1.747 MB / 1.043 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/1.473, allocations: 0 / 1.043 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004304/1.478, allocations: 1.299 MB / 1.044 GB, free: 3.938 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.0007508/1.478, allocations: 369.5 kB / 1.044 GB, free: 3.617 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009492/1.488, allocations: 3.792 MB / 1.048 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.488, allocations: 4 kB / 1.048 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002069/1.49, allocations: 0.8141 MB / 1.049 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006446/1.496, allocations: 1.206 MB / 1.05 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007863/1.504, allocations: 5.212 MB / 1.055 GB, free: 8.645 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/1.506, allocations: 1.697 MB / 1.057 GB, free: 6.91 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003639/1.509, allocations: 0.7857 MB / 1.057 GB, free: 6.117 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006399/1.51, allocations: 195.4 kB / 1.058 GB, free: 5.926 MB / 0.7637 GB Notification: Performance of SimCode: time 5.51e-07/1.51, allocations: 4 kB / 1.058 GB, free: 5.922 MB / 0.7637 GB Notification: Performance of Templates: time 0.0774/1.587, allocations: 47.5 MB / 1.104 GB, free: 7.125 MB / 0.8106 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)