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.001172/0.001172, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.001041/0.001041, allocations: 187 kB / 17.34 MB, free: 5.766 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7893/0.7893, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.55 kB / 0.5863 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1577, allocations: 80.93 MB / 0.6653 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7259/0.8836, allocations: 328.4 MB / 0.986 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.04277/0.9265, allocations: 30.04 MB / 1.015 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004192/0.9307, allocations: 103.4 kB / 1.015 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006192/0.937, allocations: 2.089 MB / 1.017 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01455/0.9516, allocations: 4.952 MB / 1.022 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01144/0.963, allocations: 3.669 MB / 1.026 GB, free: 13.34 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01177/0.9748, allocations: 6.915 MB / 1.033 GB, free: 6.406 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005536/0.9804, allocations: 2.881 MB / 1.035 GB, free: 3.469 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01411/0.9946, allocations: 5.336 MB / 1.041 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005074/0.9996, allocations: 2.411 MB / 1.043 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001379/1.001, allocations: 296 kB / 1.043 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01033/1.011, allocations: 4.809 MB / 1.048 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002051/1.013, allocations: 1.071 MB / 1.049 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.003941/1.017, allocations: 1.742 MB / 1.051 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.4835/1.501, allocations: 5.743 MB / 1.056 GB, free: 22.79 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.501, allocations: 0 / 1.056 GB, free: 22.79 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.395e-06/1.501, allocations: 1.594 kB / 1.056 GB, free: 22.79 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001644/1.501, allocations: 0 / 1.056 GB, free: 22.79 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.01025/1.511, allocations: 3.699 MB / 1.06 GB, free: 21.47 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.512, allocations: 13.28 kB / 1.06 GB, free: 21.47 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/1.522, allocations: 1.463 MB / 1.061 GB, free: 21.31 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005424/1.528, allocations: 2.064 MB / 1.063 GB, free: 20.75 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000217/1.528, allocations: 170.5 kB / 1.064 GB, free: 20.74 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007973/1.529, allocations: 221.4 kB / 1.064 GB, free: 20.74 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007131/1.536, allocations: 3.038 MB / 1.067 GB, free: 20.39 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.824e-05/1.536, allocations: 5.562 kB / 1.067 GB, free: 20.39 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003518/1.536, allocations: 90.72 kB / 1.067 GB, free: 20.39 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/1.536, allocations: 89.23 kB / 1.067 GB, free: 20.39 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008714/1.545, allocations: 3.107 MB / 1.07 GB, free: 20.36 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.02346/1.569, allocations: 14.01 MB / 1.084 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/1.572, allocations: 1.656 MB / 1.085 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/1.574, allocations: 0.7787 MB / 1.086 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005311/1.575, allocations: 323.4 kB / 1.086 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/1.575, allocations: 50.06 kB / 1.086 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001611/1.576, allocations: 200.7 kB / 1.087 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=110): time 6.232e-06/1.576, allocations: 3.344 kB / 1.087 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=110): time 0.00588/1.582, allocations: 2.357 MB / 1.089 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/1.582, allocations: 63.11 kB / 1.089 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003767/1.586, allocations: 2.515 MB / 1.091 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003811/1.586, allocations: 55.95 kB / 1.091 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007713/1.587, allocations: 1.271 MB / 1.093 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003409/1.588, allocations: 389.9 kB / 1.093 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006763/1.588, allocations: 400.4 kB / 1.093 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.29e-05/1.588, allocations: 309 kB / 1.094 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/1.591, allocations: 0.9556 MB / 1.095 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002614/1.593, allocations: 1.588 MB / 1.096 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004116/1.597, allocations: 2.26 MB / 1.098 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/1.597, allocations: 4.688 kB / 1.098 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006198/1.604, allocations: 2.783 MB / 1.101 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/1.604, allocations: 74.48 kB / 1.101 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/1.604, allocations: 12.47 kB / 1.101 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.24e-05/1.604, allocations: 21.5 kB / 1.101 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002578/1.606, allocations: 0.5581 MB / 1.102 GB, free: 9.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/1.608, allocations: 2.394 MB / 1.104 GB, free: 22.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003329/1.611, allocations: 285.2 kB / 1.104 GB, free: 22.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/1.611, allocations: 90.03 kB / 1.105 GB, free: 22.8 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002958/1.614, allocations: 1.392 MB / 1.106 GB, free: 22.69 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002427/1.617, allocations: 1.585 MB / 1.107 GB, free: 21.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003852/1.62, allocations: 2.24 MB / 1.11 GB, free: 21.33 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.114e-05/1.62, allocations: 7.125 kB / 1.11 GB, free: 21.33 MB / 0.8262 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.005887/1.626, allocations: 2.779 MB / 1.112 GB, free: 21.04 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.457e-05/1.626, allocations: 73.14 kB / 1.112 GB, free: 20.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/1.626, allocations: 18.28 kB / 1.112 GB, free: 20.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/1.626, allocations: 21.78 kB / 1.112 GB, free: 20.97 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/1.629, allocations: 0.5079 MB / 1.113 GB, free: 20.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.628e-05/1.629, allocations: 31.73 kB / 1.113 GB, free: 20.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003302/1.632, allocations: 289.1 kB / 1.113 GB, free: 20.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/1.632, allocations: 91.84 kB / 1.113 GB, free: 20.95 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.0005726/1.633, allocations: 303.8 kB / 1.114 GB, free: 20.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005068/1.633, allocations: 261.9 kB / 1.114 GB, free: 20.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003995/1.637, allocations: 1.836 MB / 1.116 GB, free: 20.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/1.637, allocations: 10.59 kB / 1.116 GB, free: 20.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.637, allocations: 0 / 1.116 GB, free: 20.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/1.637, allocations: 9.297 kB / 1.116 GB, free: 20.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008037/1.645, allocations: 4.496 MB / 1.12 GB, free: 19.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/1.645, allocations: 6.094 kB / 1.12 GB, free: 19.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/1.647, allocations: 311.7 kB / 1.12 GB, free: 19.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/1.647, allocations: 14.25 kB / 1.12 GB, free: 19.9 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.614e-05/1.647, allocations: 32.45 kB / 1.12 GB, free: 19.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/1.648, allocations: 2.369 MB / 1.123 GB, free: 17.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.648, allocations: 11.28 kB / 1.123 GB, free: 17.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003985/1.652, allocations: 1.971 MB / 1.125 GB, free: 17.05 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/1.654, allocations: 0.5304 MB / 1.125 GB, free: 16.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004045/1.654, allocations: 27.06 kB / 1.125 GB, free: 16.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002116/1.656, allocations: 172.6 kB / 1.125 GB, free: 16.81 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/1.656, allocations: 86.98 kB / 1.125 GB, free: 16.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/1.656, allocations: 59.3 kB / 1.126 GB, free: 16.8 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002787/1.659, allocations: 1.728 MB / 1.127 GB, free: 16.65 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.864e-06/1.659, allocations: 0 / 1.127 GB, free: 16.65 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003847/1.663, allocations: 1.293 MB / 1.128 GB, free: 16.52 MB / 0.8262 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.0008084/1.664, allocations: 368.4 kB / 1.129 GB, free: 16.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.008077/1.672, allocations: 3.59 MB / 1.132 GB, free: 16.06 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/1.672, allocations: 2.906 kB / 1.132 GB, free: 16.06 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001831/1.674, allocations: 0.8059 MB / 1.133 GB, free: 16.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006595/1.681, allocations: 1.197 MB / 1.134 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007963/1.689, allocations: 4.343 MB / 1.139 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/1.69, allocations: 1.683 MB / 1.14 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/1.691, allocations: 226.6 kB / 1.14 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of SimCode: time 9.92e-07/1.691, allocations: 0 / 1.14 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of Templates: time 0.1002/1.791, allocations: 86.45 MB / 1.225 GB, free: 1.23 MB / 0.8887 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)