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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7142/0.7142, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 403.4 MB, free: 7.016 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009697/0.0009696, allocations: 107.2 kB / 484.4 MB, free: 8.664 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009794/0.0009796, allocations: 55.92 kB / 0.5618 GB, free: 71.02 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1298, allocations: 80.21 MB / 0.6402 GB, free: 6.742 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.065/1.195, allocations: 326.4 MB / 0.9589 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0386/1.234, allocations: 30.25 MB / 0.9884 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004264/1.238, allocations: 91.47 kB / 0.9885 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006288/1.245, allocations: 1.768 MB / 0.9902 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01357/1.258, allocations: 4.663 MB / 0.9948 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009636/1.268, allocations: 3.351 MB / 0.9981 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01272/1.281, allocations: 9.649 MB / 1.007 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005717/1.286, allocations: 2.432 MB / 1.01 GB, free: 16.13 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01435/1.301, allocations: 4.788 MB / 1.015 GB, free: 16.04 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00663/1.307, allocations: 2.459 MB / 1.017 GB, free: 15.97 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001456/1.309, allocations: 161.7 kB / 1.017 GB, free: 15.97 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01175/1.321, allocations: 5.622 MB / 1.023 GB, free: 15.92 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002204/1.323, allocations: 0.9438 MB / 1.024 GB, free: 15.8 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004233/1.327, allocations: 1.601 MB / 1.025 GB, free: 15.35 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01224/1.339, allocations: 5.914 MB / 1.031 GB, free: 14.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.339, allocations: 0 / 1.031 GB, free: 14.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.372e-06/1.339, allocations: 0 / 1.031 GB, free: 14.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000163/1.34, allocations: 0 / 1.031 GB, free: 14.62 MB / 0.698 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.01035/1.35, allocations: 3.707 MB / 1.034 GB, free: 12.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.35, allocations: 14.44 kB / 1.034 GB, free: 12.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009671/1.36, allocations: 1.465 MB / 1.036 GB, free: 11.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004371/1.364, allocations: 1.976 MB / 1.038 GB, free: 11.03 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001363/1.365, allocations: 410 kB / 1.038 GB, free: 10.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007552/1.366, allocations: 222.2 kB / 1.038 GB, free: 10.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006362/1.373, allocations: 3.065 MB / 1.041 GB, free: 9.938 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/1.373, allocations: 2.531 kB / 1.041 GB, free: 9.938 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/1.373, allocations: 92.64 kB / 1.042 GB, free: 9.938 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.101e-05/1.373, allocations: 90.19 kB / 1.042 GB, free: 9.926 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006705/1.38, allocations: 3.143 MB / 1.045 GB, free: 9.34 MB / 0.698 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.02118/1.401, allocations: 14.09 MB / 1.058 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003801/1.405, allocations: 1.654 MB / 1.06 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/1.406, allocations: 0.774 MB / 1.061 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005985/1.407, allocations: 325.7 kB / 1.061 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/1.407, allocations: 46.56 kB / 1.061 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001332/1.408, allocations: 198.7 kB / 1.061 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 3.286e-06/1.408, allocations: 0 / 1.061 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=110): time 0.005699/1.414, allocations: 2.365 MB / 1.064 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/1.414, allocations: 64.41 kB / 1.064 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00381/1.418, allocations: 2.534 MB / 1.066 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002102/1.418, allocations: 61.95 kB / 1.066 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008589/1.419, allocations: 1.267 MB / 1.068 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003047/1.419, allocations: 388.6 kB / 1.068 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000646/1.42, allocations: 395 kB / 1.068 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.222e-05/1.42, allocations: 301.1 kB / 1.069 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002611/1.423, allocations: 0.9746 MB / 1.069 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00306/1.426, allocations: 1.609 MB / 1.071 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004702/1.431, allocations: 2.282 MB / 1.073 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/1.431, allocations: 7.938 kB / 1.073 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006826/1.437, allocations: 2.822 MB / 1.076 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.385e-05/1.438, allocations: 67.5 kB / 1.076 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.859e-05/1.438, allocations: 16 kB / 1.076 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.1e-05/1.438, allocations: 20 kB / 1.076 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002968/1.441, allocations: 0.574 MB / 1.077 GB, free: 60 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/1.442, allocations: 2.387 MB / 1.079 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003916/1.446, allocations: 403.5 kB / 1.079 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/1.446, allocations: 95.95 kB / 1.08 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003532/1.45, allocations: 1.413 MB / 1.081 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003113/1.453, allocations: 1.606 MB / 1.082 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004686/1.457, allocations: 2.264 MB / 1.085 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.628e-05/1.457, allocations: 4 kB / 1.085 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006872/1.464, allocations: 2.818 MB / 1.087 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.546e-05/1.464, allocations: 75.39 kB / 1.088 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.464, allocations: 12 kB / 1.088 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/1.464, allocations: 24 kB / 1.088 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/1.467, allocations: 0.5137 MB / 1.088 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.812e-05/1.467, allocations: 36.84 kB / 1.088 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003711/1.471, allocations: 407.9 kB / 1.088 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/1.471, allocations: 87.95 kB / 1.089 GB, free: 3.52 MB / 0.7292 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.0004758/1.471, allocations: 300.5 kB / 1.089 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004224/1.472, allocations: 264.7 kB / 1.089 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004509/1.476, allocations: 1.839 MB / 1.091 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/1.476, allocations: 12 kB / 1.091 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.476, allocations: 0 / 1.091 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/1.476, allocations: 7.922 kB / 1.091 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008369/1.485, allocations: 4.494 MB / 1.095 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.485, allocations: 4 kB / 1.095 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/1.487, allocations: 305.8 kB / 1.096 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-05/1.487, allocations: 16.22 kB / 1.096 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.86e-05/1.487, allocations: 31.98 kB / 1.096 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/1.488, allocations: 2.361 MB / 1.098 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.488, allocations: 7 kB / 1.098 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007354/1.495, allocations: 3.913 MB / 1.102 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/1.497, allocations: 0.5212 MB / 1.102 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003314/1.497, allocations: 31.94 kB / 1.102 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002478/1.5, allocations: 269.9 kB / 1.103 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/1.5, allocations: 75.94 kB / 1.103 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/1.5, allocations: 67.95 kB / 1.103 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003047/1.503, allocations: 1.751 MB / 1.104 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.31e-07/1.503, allocations: 0 / 1.104 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003891/1.507, allocations: 1.31 MB / 1.106 GB, free: 1.766 MB / 0.7448 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.0007527/1.508, allocations: 369.3 kB / 1.106 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.009228/1.517, allocations: 3.629 MB / 1.11 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.65e-05/1.517, allocations: 4 kB / 1.11 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002047/1.519, allocations: 0.812 MB / 1.11 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006725/1.526, allocations: 1.202 MB / 1.112 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008546/1.534, allocations: 5.759 MB / 1.117 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/1.536, allocations: 1.724 MB / 1.119 GB, free: 4.293 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003707/1.539, allocations: 0.7896 MB / 1.12 GB, free: 3.496 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006573/1.54, allocations: 191.4 kB / 1.12 GB, free: 3.309 MB / 0.7605 GB Notification: Performance of SimCode: time 4.41e-07/1.54, allocations: 0 / 1.12 GB, free: 3.309 MB / 0.7605 GB Notification: Performance of Templates: time 0.08031/1.62, allocations: 47.42 MB / 1.166 GB, free: 4.586 MB / 0.8073 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)