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.005904/0.005904, allocations: 101 kB / 15.73 MB, free: 6.051 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.001144/0.001144, allocations: 186 kB / 16.67 MB, free: 5.977 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8089/0.8089, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 64.09 kB / 0.5814 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1819, allocations: 80.2 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6864/0.8684, allocations: 328.4 MB / 0.9804 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03839/0.9068, allocations: 30.04 MB / 1.01 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005103/0.912, allocations: 103.4 kB / 1.01 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006836/0.9189, allocations: 2.167 MB / 1.012 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01547/0.9344, allocations: 5.155 MB / 1.017 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.009423/0.9438, allocations: 3.702 MB / 1.021 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01218/0.956, allocations: 6.942 MB / 1.027 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004881/0.9609, allocations: 2.867 MB / 1.03 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01422/0.9752, allocations: 5.455 MB / 1.036 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00483/0.98, allocations: 2.417 MB / 1.038 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0009177/0.981, allocations: 296 kB / 1.038 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009896/0.9909, allocations: 4.821 MB / 1.043 GB, free: 7.73 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001687/0.9926, allocations: 1.067 MB / 1.044 GB, free: 6.66 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003434/0.996, allocations: 1.73 MB / 1.046 GB, free: 4.922 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01273/1.009, allocations: 5.765 MB / 1.051 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.009, allocations: 0 / 1.051 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.934e-06/1.009, allocations: 3.938 kB / 1.051 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001236/1.009, allocations: 0 / 1.051 GB, free: 15.14 MB / 0.7794 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.008162/1.017, allocations: 3.692 MB / 1.055 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/1.017, allocations: 12.03 kB / 1.055 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009908/1.027, allocations: 1.464 MB / 1.056 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004635/1.032, allocations: 2.069 MB / 1.058 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/1.032, allocations: 168.1 kB / 1.058 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004242/1.032, allocations: 224 kB / 1.059 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006413/1.039, allocations: 3.035 MB / 1.062 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.093e-05/1.039, allocations: 7.938 kB / 1.062 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002621/1.039, allocations: 84 kB / 1.062 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/1.039, allocations: 95.98 kB / 1.062 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007268/1.047, allocations: 3.107 MB / 1.065 GB, free: 0.8594 MB / 0.7794 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.02532/1.072, allocations: 14.02 MB / 1.079 GB, free: 1.734 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004177/1.076, allocations: 1.658 MB / 1.08 GB, free: 72 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001765/1.078, allocations: 0.7711 MB / 1.081 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006114/1.079, allocations: 328.2 kB / 1.081 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/1.079, allocations: 55.56 kB / 1.081 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001272/1.08, allocations: 190.2 kB / 1.081 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=110): time 6.222e-06/1.08, allocations: 4 kB / 1.081 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=110): time 0.005992/1.086, allocations: 2.359 MB / 1.084 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/1.086, allocations: 68.34 kB / 1.084 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005197/1.091, allocations: 2.513 MB / 1.086 GB, free: 9.691 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0004311/1.092, allocations: 61.7 kB / 1.086 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009481/1.093, allocations: 1.272 MB / 1.088 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003455/1.093, allocations: 394.4 kB / 1.088 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006333/1.094, allocations: 383.1 kB / 1.088 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.167e-05/1.094, allocations: 305.1 kB / 1.089 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002484/1.096, allocations: 0.9611 MB / 1.09 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002977/1.099, allocations: 1.591 MB / 1.091 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004647/1.104, allocations: 2.257 MB / 1.093 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/1.104, allocations: 4 kB / 1.093 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006587/1.11, allocations: 2.785 MB / 1.096 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.787e-05/1.111, allocations: 75.39 kB / 1.096 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/1.111, allocations: 12 kB / 1.096 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.158e-05/1.111, allocations: 27.94 kB / 1.096 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002932/1.114, allocations: 0.5542 MB / 1.097 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/1.115, allocations: 2.391 MB / 1.099 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003281/1.118, allocations: 279.9 kB / 1.099 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/1.118, allocations: 91.95 kB / 1.099 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003377/1.122, allocations: 1.394 MB / 1.101 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003037/1.125, allocations: 1.583 MB / 1.102 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004741/1.13, allocations: 2.238 MB / 1.104 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.658e-05/1.13, allocations: 7.938 kB / 1.104 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.007108/1.137, allocations: 2.781 MB / 1.107 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.238e-05/1.137, allocations: 73.42 kB / 1.107 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/1.137, allocations: 12.75 kB / 1.107 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.215e-05/1.137, allocations: 24 kB / 1.107 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002452/1.139, allocations: 0.5148 MB / 1.108 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.683e-05/1.139, allocations: 27.92 kB / 1.108 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003614/1.143, allocations: 295.5 kB / 1.108 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000233/1.143, allocations: 91.89 kB / 1.108 GB, free: 2.102 MB / 0.8262 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.0007356/1.144, allocations: 299.6 kB / 1.108 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006809/1.145, allocations: 264.7 kB / 1.109 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004515/1.149, allocations: 1.843 MB / 1.111 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/1.149, allocations: 8 kB / 1.111 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.149, allocations: 4 kB / 1.111 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/1.149, allocations: 7.984 kB / 1.111 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008668/1.158, allocations: 4.496 MB / 1.115 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/1.158, allocations: 8 kB / 1.115 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/1.16, allocations: 304.3 kB / 1.115 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/1.16, allocations: 8 kB / 1.115 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-05/1.16, allocations: 31.98 kB / 1.115 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/1.161, allocations: 2.364 MB / 1.118 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.161, allocations: 11.94 kB / 1.118 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004178/1.165, allocations: 1.979 MB / 1.12 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/1.166, allocations: 0.5249 MB / 1.12 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003395/1.167, allocations: 27.98 kB / 1.12 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/1.169, allocations: 177.1 kB / 1.12 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.169, allocations: 84.72 kB / 1.12 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/1.169, allocations: 71.89 kB / 1.12 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002791/1.172, allocations: 1.723 MB / 1.122 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/1.172, allocations: 0 / 1.122 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003006/1.175, allocations: 1.287 MB / 1.123 GB, free: 2.219 MB / 0.8419 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.0007177/1.176, allocations: 374 kB / 1.124 GB, free: 1.871 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00848/1.184, allocations: 3.585 MB / 1.127 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/1.184, allocations: 4 kB / 1.127 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/1.186, allocations: 0.8036 MB / 1.128 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005633/1.192, allocations: 1.193 MB / 1.129 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008811/1.2, allocations: 4.258 MB / 1.133 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/1.202, allocations: 1.697 MB / 1.135 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.004554/1.207, allocations: 0.7777 MB / 1.136 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009276/1.208, allocations: 195.4 kB / 1.136 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of SimCode: time 8.52e-07/1.208, allocations: 0 / 1.136 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of Templates: time 0.4128/1.621, allocations: 45.89 MB / 1.181 GB, free: 341.4 MB / 0.8575 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)