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.001102/0.001102, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001141/0.001141, allocations: 193 kB / 16.13 MB, free: 6.652 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.381/1.381, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9218/0.9218, allocations: 135.1 MB / 425.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 68.2 kB / 0.5047 GB, free: 5.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1854, allocations: 80.92 MB / 0.5837 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.9513/1.137, allocations: 326.4 MB / 0.9024 GB, free: 1.293 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03585/1.173, allocations: 30.25 MB / 0.932 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005212/1.178, allocations: 89.62 kB / 0.932 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006935/1.185, allocations: 1.767 MB / 0.9338 GB, free: 0.832 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01756/1.202, allocations: 4.662 MB / 0.9383 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01159/1.214, allocations: 3.356 MB / 0.9416 GB, free: 472 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01413/1.228, allocations: 9.608 MB / 0.951 GB, free: 452 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005678/1.234, allocations: 2.433 MB / 0.9534 GB, free: 16.06 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01483/1.249, allocations: 4.751 MB / 0.958 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006031/1.255, allocations: 2.475 MB / 0.9604 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00117/1.256, allocations: 162.8 kB / 0.9606 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01209/1.268, allocations: 5.615 MB / 0.9661 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002414/1.271, allocations: 0.9514 MB / 0.967 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004565/1.275, allocations: 1.603 MB / 0.9685 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01459/1.29, allocations: 5.908 MB / 0.9743 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/1.29, allocations: 0 / 0.9743 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.042e-06/1.29, allocations: 0 / 0.9743 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001843/1.29, allocations: 0 / 0.9743 GB, free: 10.7 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.01054/1.301, allocations: 3.702 MB / 0.9779 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/1.301, allocations: 8.344 kB / 0.9779 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/1.311, allocations: 1.468 MB / 0.9794 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004466/1.316, allocations: 1.979 MB / 0.9813 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001272/1.317, allocations: 394.4 kB / 0.9817 GB, free: 5.637 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006014/1.318, allocations: 224.9 kB / 0.9819 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006701/1.324, allocations: 3.07 MB / 0.9849 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/1.324, allocations: 10.91 kB / 0.9849 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002633/1.325, allocations: 95.11 kB / 0.985 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-05/1.325, allocations: 99.92 kB / 0.9851 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007025/1.332, allocations: 3.139 MB / 0.9882 GB, free: 15.43 MB / 0.7012 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.02395/1.356, allocations: 14.08 MB / 1.002 GB, free: 492 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004087/1.36, allocations: 1.651 MB / 1.004 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/1.362, allocations: 0.7702 MB / 1.004 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006745/1.362, allocations: 325 kB / 1.005 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.169e-05/1.362, allocations: 55.55 kB / 1.005 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001586/1.364, allocations: 204.3 kB / 1.005 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 3.486e-06/1.364, allocations: 4 kB / 1.005 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110): time 0.005882/1.37, allocations: 2.359 MB / 1.007 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/1.37, allocations: 64.41 kB / 1.007 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004284/1.374, allocations: 2.536 MB / 1.01 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003413/1.375, allocations: 53.7 kB / 1.01 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009814/1.376, allocations: 1.274 MB / 1.011 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003812/1.376, allocations: 391.6 kB / 1.011 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006981/1.377, allocations: 395 kB / 1.012 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.377, allocations: 301.1 kB / 1.012 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002571/1.379, allocations: 0.9767 MB / 1.013 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003145/1.383, allocations: 1.609 MB / 1.015 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005027/1.388, allocations: 2.27 MB / 1.017 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/1.388, allocations: 4 kB / 1.017 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006846/1.394, allocations: 2.819 MB / 1.02 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.648e-05/1.395, allocations: 79.33 kB / 1.02 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/1.395, allocations: 16 kB / 1.02 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.322e-05/1.395, allocations: 20 kB / 1.02 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002978/1.398, allocations: 0.5673 MB / 1.02 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/1.399, allocations: 2.392 MB / 1.023 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003898/1.403, allocations: 399.4 kB / 1.023 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000222/1.403, allocations: 95.78 kB / 1.023 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003464/1.407, allocations: 1.413 MB / 1.024 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003018/1.41, allocations: 1.601 MB / 1.026 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004664/1.414, allocations: 2.264 MB / 1.028 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.027e-06/1.414, allocations: 4 kB / 1.028 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006785/1.421, allocations: 2.819 MB / 1.031 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.759e-05/1.421, allocations: 71.39 kB / 1.031 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/1.421, allocations: 12 kB / 1.031 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/1.421, allocations: 24 kB / 1.031 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/1.424, allocations: 0.5207 MB / 1.032 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.454e-05/1.424, allocations: 37.83 kB / 1.032 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003816/1.428, allocations: 399.9 kB / 1.032 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/1.428, allocations: 95.94 kB / 1.032 GB, free: 0.8086 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.000551/1.428, allocations: 301 kB / 1.032 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006928/1.429, allocations: 268.7 kB / 1.033 GB, free: 276 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004586/1.434, allocations: 1.839 MB / 1.034 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/1.434, allocations: 16 kB / 1.034 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/1.434, allocations: 0 / 1.034 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/1.434, allocations: 7.969 kB / 1.034 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008751/1.443, allocations: 4.49 MB / 1.039 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/1.443, allocations: 4 kB / 1.039 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/1.444, allocations: 307 kB / 1.039 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.762e-05/1.444, allocations: 12 kB / 1.039 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/1.444, allocations: 39.92 kB / 1.039 GB, free: 9.496 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/1.446, allocations: 2.36 MB / 1.041 GB, free: 7.051 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.446, allocations: 6.719 kB / 1.041 GB, free: 7.047 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004328/1.45, allocations: 1.977 MB / 1.043 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/1.451, allocations: 0.525 MB / 1.044 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006104/1.452, allocations: 28 kB / 1.044 GB, free: 4.406 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002769/1.455, allocations: 263.4 kB / 1.044 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/1.455, allocations: 82.75 kB / 1.044 GB, free: 4.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/1.455, allocations: 63.95 kB / 1.044 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00302/1.458, allocations: 1.751 MB / 1.046 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.453e-06/1.458, allocations: 4 kB / 1.046 GB, free: 2.25 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003689/1.462, allocations: 1.302 MB / 1.047 GB, free: 0.9453 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.000777/1.463, allocations: 370.1 kB / 1.048 GB, free: 0.625 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008934/1.472, allocations: 3.621 MB / 1.051 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/1.472, allocations: 4 kB / 1.051 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002059/1.474, allocations: 0.8039 MB / 1.052 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007419/1.481, allocations: 1.206 MB / 1.053 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009038/1.49, allocations: 5.213 MB / 1.058 GB, free: 5.816 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/1.492, allocations: 1.693 MB / 1.06 GB, free: 4.082 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004099/1.496, allocations: 0.7896 MB / 1.061 GB, free: 3.285 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000669/1.496, allocations: 199.4 kB / 1.061 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of SimCode: time 9.22e-07/1.496, allocations: 0 / 1.061 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of Templates: time 0.07864/1.575, allocations: 46.28 MB / 1.106 GB, free: 5.457 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)