Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001421/0.001424, allocations: 187.3 kB / 15.77 MB, free: 6.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.8107/0.8107, allocations: 82.94 MB / 99.43 MB, free: 2.234 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.4 MB / 325.4 MB, free: 6.539 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001033, allocations: 98.94 kB / 393.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004699, allocations: 16 kB / 471.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.431, allocations: 67.43 MB / 0.5263 GB, free: 55.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7343/1.165, allocations: 265.3 MB / 0.7854 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03823/1.204, allocations: 26.91 MB / 0.8117 GB, free: 240 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003935/1.208, allocations: 81.53 kB / 0.8118 GB, free: 240 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.006016/1.214, allocations: 1.675 MB / 0.8134 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.01653/1.23, allocations: 4.531 MB / 0.8179 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.01001/1.24, allocations: 2.609 MB / 0.8204 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.009078/1.249, allocations: 3.923 MB / 0.8242 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005101/1.255, allocations: 2.235 MB / 0.8264 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01034/1.265, allocations: 3.464 MB / 0.8298 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003756/1.269, allocations: 1.591 MB / 0.8314 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.001095/1.27, allocations: 128 kB / 0.8315 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007843/1.278, allocations: 2.21 MB / 0.8336 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001781/1.28, allocations: 0.8131 MB / 0.8344 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001584/1.281, allocations: 0.6331 MB / 0.8351 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.007517/1.289, allocations: 3.612 MB / 0.8386 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.549e-06/1.289, allocations: 6.25 kB / 0.8386 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.706e-06/1.289, allocations: 0 / 0.8386 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001021/1.289, allocations: 4 kB / 0.8386 GB, free: 11.66 MB / 0.5417 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.008553/1.297, allocations: 2.98 MB / 0.8415 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.297, allocations: 8.031 kB / 0.8415 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/1.309, allocations: 1.589 MB / 0.8431 GB, free: 6.996 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005474/1.315, allocations: 1.912 MB / 0.8449 GB, free: 5.062 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001572/1.317, allocations: 428.2 kB / 0.8453 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007544/1.317, allocations: 224 kB / 0.8455 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008806/1.326, allocations: 3.07 MB / 0.8485 GB, free: 1.223 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.026e-05/1.326, allocations: 2.812 kB / 0.8485 GB, free: 1.223 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003977/1.327, allocations: 91.98 kB / 0.8486 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/1.327, allocations: 88 kB / 0.8487 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/1.337, allocations: 3.205 MB / 0.8519 GB, free: 13.84 MB / 0.5573 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.03153/1.369, allocations: 14.3 MB / 0.8658 GB, free: 14.55 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005776/1.375, allocations: 1.699 MB / 0.8675 GB, free: 12.84 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005477/1.375, allocations: 158.9 kB / 0.8676 GB, free: 12.67 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.152e-05/1.375, allocations: 55.56 kB / 0.8677 GB, free: 12.61 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001522/1.377, allocations: 193.8 kB / 0.8679 GB, free: 12.42 MB / 0.573 GB Notification: Performance of pre-optimization done (n=110): time 5.455e-06/1.377, allocations: 4 kB / 0.8679 GB, free: 12.41 MB / 0.573 GB Notification: Performance of matching and sorting (n=110): time 0.008501/1.386, allocations: 2.41 MB / 0.8702 GB, free: 10 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/1.386, allocations: 68.41 kB / 0.8703 GB, free: 9.918 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006189/1.392, allocations: 2.529 MB / 0.8728 GB, free: 7.371 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003462/1.392, allocations: 57.7 kB / 0.8728 GB, free: 7.309 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001516/1.394, allocations: 1.265 MB / 0.874 GB, free: 6.027 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000573/1.394, allocations: 402.3 kB / 0.8744 GB, free: 5.629 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/1.395, allocations: 35.94 kB / 0.8745 GB, free: 5.594 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002387/1.395, allocations: 369.9 kB / 0.8748 GB, free: 5.227 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003645/1.399, allocations: 0.9993 MB / 0.8758 GB, free: 4.227 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004475/1.403, allocations: 1.632 MB / 0.8774 GB, free: 2.336 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003996/1.407, allocations: 1.213 MB / 0.8786 GB, free: 1.125 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.069e-05/1.407, allocations: 4 kB / 0.8786 GB, free: 1.121 MB / 0.573 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00958/1.417, allocations: 2.875 MB / 0.8814 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.003274/1.42, allocations: 5.77 MB / 0.887 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.835e-05/1.42, allocations: 16 kB / 0.887 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.953e-05/1.42, allocations: 24 kB / 0.8871 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004162/1.424, allocations: 0.5849 MB / 0.8876 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/1.426, allocations: 2.39 MB / 0.89 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004664/1.431, allocations: 451.6 kB / 0.8904 GB, free: 4.492 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003658/1.431, allocations: 87.95 kB / 0.8905 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.431, allocations: 4 kB / 0.8905 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00968/1.441, allocations: 2.646 MB / 0.8931 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-05/1.441, allocations: 12 kB / 0.8931 GB, free: 1.816 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.706e-05/1.441, allocations: 24.75 kB / 0.8931 GB, free: 1.793 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003438/1.445, allocations: 0.5381 MB / 0.8936 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-05/1.445, allocations: 33.98 kB / 0.8937 GB, free: 1.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00403/1.449, allocations: 371.4 kB / 0.894 GB, free: 0.8867 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003957/1.449, allocations: 95.94 kB / 0.8941 GB, free: 0.793 MB / 0.5886 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 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001669/1.451, allocations: 0.6244 MB / 0.8947 GB, free: 188 kB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006934/1.452, allocations: 268.8 kB / 0.895 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005953/1.458, allocations: 1.881 MB / 0.8968 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/1.458, allocations: 8 kB / 0.8968 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.458, allocations: 4 kB / 0.8968 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/1.458, allocations: 7.969 kB / 0.8968 GB, free: 14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/1.47, allocations: 4.524 MB / 0.9012 GB, free: 9.379 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/1.47, allocations: 4 kB / 0.9012 GB, free: 9.375 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00233/1.473, allocations: 326.5 kB / 0.9016 GB, free: 9.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.276e-05/1.473, allocations: 12 kB / 0.9016 GB, free: 9.059 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/1.473, allocations: 31.98 kB / 0.9016 GB, free: 9.027 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/1.475, allocations: 2.367 MB / 0.9039 GB, free: 6.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/1.475, allocations: 10.62 kB / 0.9039 GB, free: 6.562 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006124/1.481, allocations: 2.51 MB / 0.9064 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001812/1.483, allocations: 0.5367 MB / 0.9069 GB, free: 3.195 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005659/1.483, allocations: 20 kB / 0.9069 GB, free: 3.176 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003497/1.487, allocations: 283.6 kB / 0.9072 GB, free: 2.898 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002676/1.487, allocations: 83.77 kB / 0.9073 GB, free: 2.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002487/1.487, allocations: 59.95 kB / 0.9073 GB, free: 2.762 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.004448/1.492, allocations: 1.747 MB / 0.909 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.087e-06/1.492, allocations: 2.531 kB / 0.909 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.005361/1.497, allocations: 1.298 MB / 0.9103 GB, free: 15.71 MB / 0.6198 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001019/1.498, allocations: 370 kB / 0.9107 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01233/1.511, allocations: 3.703 MB / 0.9143 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/1.511, allocations: 7.922 kB / 0.9143 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002836/1.514, allocations: 0.8261 MB / 0.9151 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007222/1.521, allocations: 1.2 MB / 0.9163 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/1.532, allocations: 5.003 MB / 0.9211 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00208/1.535, allocations: 1.751 MB / 0.9229 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.005544/1.54, allocations: 0.7857 MB / 0.9236 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.541, allocations: 195.4 kB / 0.9238 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of SimCode: time 1.984e-06/1.541, allocations: 3.375 kB / 0.9238 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of Templates: time 0.4808/2.022, allocations: 44.45 MB / 0.9672 GB, free: 265.6 MB / 0.6355 GB