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.005474/0.005474, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001289/0.001289, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8273/0.8273, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.36 kB / 0.5814 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1629, allocations: 80.22 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7015/0.8644, allocations: 328.4 MB / 0.9804 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03589/0.9003, allocations: 30.04 MB / 1.01 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003953/0.9043, allocations: 95.44 kB / 1.01 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.005545/0.9099, allocations: 2.093 MB / 1.012 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01214/0.922, allocations: 4.946 MB / 1.017 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.009721/0.9318, allocations: 3.653 MB / 1.02 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01056/0.9424, allocations: 6.927 MB / 1.027 GB, free: 13.21 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004217/0.9466, allocations: 2.871 MB / 1.03 GB, free: 10.29 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01293/0.9595, allocations: 5.281 MB / 1.035 GB, free: 5.012 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004885/0.9644, allocations: 2.41 MB / 1.037 GB, free: 2.605 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.00106/0.9655, allocations: 296 kB / 1.038 GB, free: 2.316 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009897/0.9754, allocations: 4.813 MB / 1.042 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001699/0.9772, allocations: 1.067 MB / 1.043 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002862/0.98, allocations: 1.734 MB / 1.045 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01215/0.9922, allocations: 5.781 MB / 1.051 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.9923, allocations: 0 / 1.051 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.874e-06/0.9923, allocations: 0 / 1.051 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.000132/0.9924, allocations: 0 / 1.051 GB, free: 4.879 MB / 0.8106 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.009253/1.002, allocations: 3.804 MB / 1.054 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/1.002, allocations: 8.031 kB / 1.054 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3472/1.349, allocations: 1.474 MB / 1.056 GB, free: 319.3 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004391/1.353, allocations: 2.087 MB / 1.058 GB, free: 318.9 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/1.354, allocations: 171.4 kB / 1.058 GB, free: 318.9 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003783/1.354, allocations: 222.9 kB / 1.058 GB, free: 318.9 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005936/1.36, allocations: 3.031 MB / 1.061 GB, free: 317.7 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.243e-05/1.36, allocations: 5.906 kB / 1.061 GB, free: 317.7 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/1.36, allocations: 94.48 kB / 1.061 GB, free: 317.7 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/1.36, allocations: 90.2 kB / 1.061 GB, free: 317.6 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007849/1.368, allocations: 3.102 MB / 1.064 GB, free: 316.6 MB / 0.8106 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.02153/1.39, allocations: 14.06 MB / 1.078 GB, free: 306.8 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004179/1.394, allocations: 1.654 MB / 1.08 GB, free: 306.2 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/1.396, allocations: 0.7757 MB / 1.081 GB, free: 305.9 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006531/1.396, allocations: 327.2 kB / 1.081 GB, free: 305.6 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.626e-05/1.397, allocations: 55.03 kB / 1.081 GB, free: 305.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002147/1.399, allocations: 205.8 kB / 1.081 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=110): time 6.843e-06/1.399, allocations: 0 / 1.081 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=110): time 0.006104/1.405, allocations: 2.369 MB / 1.083 GB, free: 304.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/1.405, allocations: 66.28 kB / 1.084 GB, free: 304.2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003776/1.409, allocations: 2.517 MB / 1.086 GB, free: 302.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002542/1.409, allocations: 59.22 kB / 1.086 GB, free: 302.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007012/1.41, allocations: 1.294 MB / 1.087 GB, free: 301.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/1.41, allocations: 410 kB / 1.088 GB, free: 301.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005993/1.411, allocations: 392.8 kB / 1.088 GB, free: 301.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 4.384e-05/1.411, allocations: 302.4 kB / 1.088 GB, free: 300.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002286/1.413, allocations: 0.9608 MB / 1.089 GB, free: 300.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002737/1.416, allocations: 1.59 MB / 1.091 GB, free: 299.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004181/1.42, allocations: 2.255 MB / 1.093 GB, free: 297.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/1.42, allocations: 3.969 kB / 1.093 GB, free: 297.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006347/1.426, allocations: 2.795 MB / 1.096 GB, free: 296.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.976e-05/1.426, allocations: 71.23 kB / 1.096 GB, free: 296.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/1.426, allocations: 15.78 kB / 1.096 GB, free: 296.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/1.426, allocations: 19.81 kB / 1.096 GB, free: 296.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/1.429, allocations: 0.5593 MB / 1.096 GB, free: 296.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008567/1.43, allocations: 2.397 MB / 1.099 GB, free: 293.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003449/1.433, allocations: 285.1 kB / 1.099 GB, free: 293.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/1.434, allocations: 91.39 kB / 1.099 GB, free: 293.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002924/1.437, allocations: 1.39 MB / 1.1 GB, free: 292.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002356/1.439, allocations: 1.585 MB / 1.102 GB, free: 291.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003917/1.443, allocations: 2.243 MB / 1.104 GB, free: 290 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.198e-06/1.443, allocations: 5.094 kB / 1.104 GB, free: 290 MB / 0.8106 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.00589/1.449, allocations: 2.797 MB / 1.107 GB, free: 287.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.972e-05/1.449, allocations: 71.41 kB / 1.107 GB, free: 287.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/1.449, allocations: 12 kB / 1.107 GB, free: 287.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.449, allocations: 24.75 kB / 1.107 GB, free: 287.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/1.451, allocations: 0.5079 MB / 1.108 GB, free: 286.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.499e-05/1.451, allocations: 31.86 kB / 1.108 GB, free: 286.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/1.455, allocations: 299.1 kB / 1.108 GB, free: 286.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001855/1.455, allocations: 83.97 kB / 1.108 GB, free: 286.4 MB / 0.8106 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.0005402/1.455, allocations: 303.7 kB / 1.108 GB, free: 286.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005719/1.456, allocations: 270.3 kB / 1.108 GB, free: 285.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003823/1.46, allocations: 1.848 MB / 1.11 GB, free: 284 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.46, allocations: 8 kB / 1.11 GB, free: 283.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.46, allocations: 0 / 1.11 GB, free: 283.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/1.46, allocations: 7.984 kB / 1.11 GB, free: 283.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00728/1.467, allocations: 4.494 MB / 1.115 GB, free: 279.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/1.467, allocations: 8 kB / 1.115 GB, free: 279.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/1.469, allocations: 299 kB / 1.115 GB, free: 279 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/1.469, allocations: 12 kB / 1.115 GB, free: 279 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-05/1.469, allocations: 35.97 kB / 1.115 GB, free: 279 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006647/1.469, allocations: 2.371 MB / 1.117 GB, free: 276.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.469, allocations: 11.94 kB / 1.117 GB, free: 276.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003926/1.473, allocations: 1.992 MB / 1.119 GB, free: 274.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/1.475, allocations: 0.5342 MB / 1.12 GB, free: 273.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004209/1.475, allocations: 31.92 kB / 1.12 GB, free: 273.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/1.477, allocations: 175.8 kB / 1.12 GB, free: 273.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/1.477, allocations: 80.62 kB / 1.12 GB, free: 273.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.478, allocations: 71.95 kB / 1.12 GB, free: 273.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002463/1.48, allocations: 1.727 MB / 1.122 GB, free: 271.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/1.48, allocations: 0 / 1.122 GB, free: 271.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00349/1.483, allocations: 1.287 MB / 1.123 GB, free: 270.5 MB / 0.8106 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.0007544/1.484, allocations: 380.2 kB / 1.123 GB, free: 270.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.007689/1.492, allocations: 3.596 MB / 1.127 GB, free: 266.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/1.492, allocations: 7.938 kB / 1.127 GB, free: 266.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001754/1.494, allocations: 0.7994 MB / 1.128 GB, free: 265.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006492/1.5, allocations: 1.19 MB / 1.129 GB, free: 264.6 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006784/1.507, allocations: 4.339 MB / 1.133 GB, free: 260.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008489/1.508, allocations: 1.697 MB / 1.135 GB, free: 258.5 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002943/1.511, allocations: 0.7857 MB / 1.136 GB, free: 257.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005744/1.512, allocations: 199.4 kB / 1.136 GB, free: 257.5 MB / 0.8106 GB Notification: Performance of SimCode: time 9.41e-07/1.512, allocations: 0 / 1.136 GB, free: 257.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.05955/1.571, allocations: 45.89 MB / 1.181 GB, free: 212.1 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)