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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 183.2 kB / 15.98 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7024/0.7024, allocations: 133.3 MB / 150.1 MB, free: 11.13 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.475/1.475, allocations: 222.9 MB / 404.7 MB, free: 6.055 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.001018/0.001018, allocations: 111.2 kB / 485.9 MB, free: 7.156 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001613, allocations: 55.92 kB / 0.5636 GB, free: 69.88 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1699, allocations: 80.41 MB / 0.6421 GB, free: 5.402 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.067/1.237, allocations: 326.4 MB / 0.9608 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0358/1.273, allocations: 30.26 MB / 0.9904 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004806/1.278, allocations: 90.75 kB / 0.9905 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006153/1.284, allocations: 1.769 MB / 0.9922 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01497/1.299, allocations: 4.665 MB / 0.9968 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01056/1.309, allocations: 3.358 MB / 1 GB, free: 456 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01318/1.323, allocations: 9.643 MB / 1.009 GB, free: 440 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00455/1.327, allocations: 2.427 MB / 1.012 GB, free: 16.07 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0151/1.342, allocations: 4.785 MB / 1.017 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006402/1.349, allocations: 2.483 MB / 1.019 GB, free: 15.87 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001166/1.35, allocations: 166.1 kB / 1.019 GB, free: 15.87 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01293/1.363, allocations: 5.614 MB / 1.025 GB, free: 15.82 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002327/1.365, allocations: 0.9483 MB / 1.025 GB, free: 15.71 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004093/1.369, allocations: 1.604 MB / 1.027 GB, free: 15.25 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0121/1.382, allocations: 5.91 MB / 1.033 GB, free: 14.31 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.382, allocations: 5.562 kB / 1.033 GB, free: 14.31 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/1.382, allocations: 2.406 kB / 1.033 GB, free: 14.31 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001084/1.382, allocations: 0 / 1.033 GB, free: 14.31 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.008324/1.39, allocations: 3.697 MB / 1.036 GB, free: 12.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.39, allocations: 10.66 kB / 1.036 GB, free: 12.22 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009843/1.4, allocations: 1.465 MB / 1.038 GB, free: 11.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0046/1.405, allocations: 1.983 MB / 1.04 GB, free: 10.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001395/1.406, allocations: 397.2 kB / 1.04 GB, free: 10.63 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001111/1.407, allocations: 217.7 kB / 1.04 GB, free: 10.63 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007034/1.414, allocations: 3.068 MB / 1.043 GB, free: 9.645 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.243e-05/1.414, allocations: 6.312 kB / 1.043 GB, free: 9.645 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000344/1.415, allocations: 92.03 kB / 1.044 GB, free: 9.645 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-05/1.415, allocations: 93.56 kB / 1.044 GB, free: 9.629 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007533/1.422, allocations: 3.143 MB / 1.047 GB, free: 9.043 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.02549/1.448, allocations: 14.09 MB / 1.06 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004207/1.452, allocations: 1.658 MB / 1.062 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00177/1.454, allocations: 0.774 MB / 1.063 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000692/1.455, allocations: 324 kB / 1.063 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.78e-05/1.455, allocations: 51.94 kB / 1.063 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001919/1.457, allocations: 201.5 kB / 1.063 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 6.292e-06/1.457, allocations: 0 / 1.063 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=110): time 0.006261/1.463, allocations: 2.35 MB / 1.066 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/1.463, allocations: 68.41 kB / 1.066 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004312/1.467, allocations: 2.537 MB / 1.068 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002776/1.468, allocations: 58.2 kB / 1.068 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009817/1.469, allocations: 1.267 MB / 1.069 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003676/1.469, allocations: 389.9 kB / 1.07 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007255/1.47, allocations: 403.2 kB / 1.07 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.47, allocations: 301.1 kB / 1.071 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002764/1.473, allocations: 0.9767 MB / 1.071 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003357/1.476, allocations: 1.613 MB / 1.073 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005148/1.481, allocations: 2.272 MB / 1.075 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/1.481, allocations: 4 kB / 1.075 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007612/1.489, allocations: 2.824 MB / 1.078 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.635e-05/1.489, allocations: 77.11 kB / 1.078 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.094e-05/1.489, allocations: 12 kB / 1.078 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.533e-05/1.489, allocations: 20 kB / 1.078 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003193/1.492, allocations: 0.5708 MB / 1.079 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/1.494, allocations: 2.398 MB / 1.081 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004359/1.498, allocations: 399.4 kB / 1.081 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002755/1.498, allocations: 91.95 kB / 1.081 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004015/1.502, allocations: 1.417 MB / 1.083 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003442/1.506, allocations: 1.598 MB / 1.084 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005191/1.511, allocations: 2.264 MB / 1.087 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.935e-05/1.511, allocations: 8 kB / 1.087 GB, free: 6.297 MB / 0.7292 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.007713/1.519, allocations: 2.814 MB / 1.089 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.241e-05/1.519, allocations: 72.16 kB / 1.089 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.371e-05/1.519, allocations: 12 kB / 1.089 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.169e-05/1.519, allocations: 28 kB / 1.09 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002587/1.522, allocations: 0.5143 MB / 1.09 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.955e-05/1.522, allocations: 31.56 kB / 1.09 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004065/1.526, allocations: 407.9 kB / 1.09 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/1.526, allocations: 87.95 kB / 1.091 GB, free: 2.418 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.000613/1.527, allocations: 299.4 kB / 1.091 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007481/1.527, allocations: 260.7 kB / 1.091 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004962/1.532, allocations: 1.835 MB / 1.093 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/1.532, allocations: 15.98 kB / 1.093 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/1.532, allocations: 3.938 kB / 1.093 GB, free: 36 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/1.532, allocations: 6.703 kB / 1.093 GB, free: 32 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/1.543, allocations: 4.49 MB / 1.097 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/1.543, allocations: 16.03 kB / 1.097 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/1.545, allocations: 306.7 kB / 1.098 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.419e-05/1.545, allocations: 12 kB / 1.098 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/1.545, allocations: 31.98 kB / 1.098 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/1.546, allocations: 2.367 MB / 1.1 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.546, allocations: 4 kB / 1.1 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007822/1.554, allocations: 3.908 MB / 1.104 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/1.556, allocations: 0.5211 MB / 1.104 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006617/1.557, allocations: 39.92 kB / 1.104 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002979/1.56, allocations: 267.4 kB / 1.105 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/1.56, allocations: 78.84 kB / 1.105 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/1.56, allocations: 67.95 kB / 1.105 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00357/1.564, allocations: 1.743 MB / 1.106 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.11e-07/1.564, allocations: 0 / 1.106 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004598/1.568, allocations: 1.31 MB / 1.108 GB, free: 0.6602 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.0008514/1.569, allocations: 381.5 kB / 1.108 GB, free: 328 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.009616/1.579, allocations: 3.615 MB / 1.112 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/1.579, allocations: 8.188 kB / 1.112 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002099/1.581, allocations: 0.8057 MB / 1.112 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007786/1.589, allocations: 1.201 MB / 1.114 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009607/1.598, allocations: 5.763 MB / 1.119 GB, free: 4.949 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/1.6, allocations: 1.732 MB / 1.121 GB, free: 3.176 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004371/1.604, allocations: 0.7896 MB / 1.122 GB, free: 2.379 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008044/1.605, allocations: 191.4 kB / 1.122 GB, free: 2.191 MB / 0.7605 GB Notification: Performance of SimCode: time 1.253e-06/1.605, allocations: 0 / 1.122 GB, free: 2.191 MB / 0.7605 GB Notification: Performance of Templates: time 0.07896/1.684, allocations: 47.43 MB / 1.168 GB, free: 3.453 MB / 0.8073 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)